Mailing List Archive

[Bug 818] ssh-keygen Bad passphrase error
http://bugzilla.mindrot.org/show_bug.cgi?id=818

Summary: ssh-keygen Bad passphrase error
Product: Portable OpenSSH
Version: 3.8p1
Platform: PPC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: ssh-keygen
AssignedTo: openssh-bugs@mindrot.org
ReportedBy: sandino@sandino.net


When I try to change my key passphrase I get a Bad passphrase error.

If I generate a new key with empty passphrase I receive no error, but if I
generate a new key with a passphrase I get the Bad passphrase error.

[sandino@ingrata sandino] ssh-keygen -f .ssh/id_dsa.test -p
Key has comment '.ssh/id_dsa.test'
Enter new passphrase (empty for no passphrase): eaeaea
Enter same passphrase again: eaeaea
Your identification has been saved with the new passphrase.
[sandino@ingrata sandino] ssh-keygen -f .ssh/id_dsa.test -p
Enter old passphrase: eaeaea
Bad passphrase.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 818] ssh-keygen Bad passphrase error [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=818

dtucker@zip.com.au changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED



------- Additional Comments From dtucker@zip.com.au 2004-03-25 16:33 -------
Can you read the key with openssl? Try
$ openssl dsa -in .ssh/id_dsa.test -modulus -noout




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 818] ssh-keygen Bad passphrase error [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=818





------- Additional Comments From sandino@sandino.net 2004-03-25 18:15 -------
OpenSSL fails to read the key


[sandino@ingrata sandino] openssl dsa -in .ssh/id_dsa.test -modulus -noout
read DSA key
unable to load Key
3961:error:09065067:PEM routines:LOAD_IV:bad iv chars:pem_lib.c:504:


Should I reinstall OpenSSL?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 818] ssh-keygen Bad passphrase error [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=818





------- Additional Comments From dtucker@zip.com.au 2004-03-25 18:24 -------
Yes, rebuild OpenSSL, and do "make tests" once it's built to make sure it's
working properly. If "make tests" passes, install it and rebuild OpenSSH with it.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 818] ssh-keygen Bad passphrase error [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=818





------- Additional Comments From sandino@sandino.net 2004-03-27 05:22 -------
I have rebuilt OpenSSL and the error is no longer present, itworks now.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 818] ssh-keygen Bad passphrase error [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=818

dtucker@zip.com.au changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |INVALID



------- Additional Comments From dtucker@zip.com.au 2004-03-28 03:40 -------
OK then, sure looks like and OpenSSL problem, closing.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.