[Bug 2523] New: An RSA private key file consistently gives "Badd Passphrase" errors, but worked before

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Jan 9 11:07:56 AEDT 2016


https://bugzilla.mindrot.org/show_bug.cgi?id=2523

            Bug ID: 2523
           Summary: An RSA private key file consistently gives "Badd
                    Passphrase" errors, but worked before
           Product: Portable OpenSSH
           Version: 7.1p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: ssh-add
          Assignee: unassigned-bugs at mindrot.org
          Reporter: horsley1953 at gmail.com

The ~/.ssh/identity file I've been using can no longer be loaded into
the agent with the ssh-add program in my fedora 23 system which has:

openssh-clients-7.1p1-6.fc23.x86_64

The previous fedora 22 system with this version:

openssh-clients-6.9p1-9.fc22.x86_64

works fine with the same file.

File info:

The key size is 1024 bits.

The file header looks like:

zooty> od -c identity
0000000   S   S   H       P   R   I   V   A   T   E       K   E   Y    
0000020   F   I   L   E       F   O   R   M   A   T       1   .   1  \n

Naturally, this could be a bug in one of the zillion libraries loaded
by ssh-add or even a compiler bug, but I figured I'd start with ssh-add
since that's the program I run to get the error.

No doubt you'll want the actual file and passphrase, but it will take a
while for me to make sure I've switched to a new key everywhere before
I feel safe attaching that info here (and maybe someone else has
already tracked down this bug if I'm unbelievably lucky :-).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list