bugzilla-daemon at bugzilla.mindrot.org
2017-Aug-04  21:51 UTC
[Bug 2754] New: ssh-keygen.exe returns invalid format when passphrase is not empty when WITH_OPENSSL is not defined.
https://bugzilla.mindrot.org/show_bug.cgi?id=2754
            Bug ID: 2754
           Summary: ssh-keygen.exe returns invalid format when passphrase
                    is not empty when WITH_OPENSSL is not defined.
           Product: Portable OpenSSH
           Version: 7.5p1
          Hardware: amd64
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: ssh-keygen
          Assignee: unassigned-bugs at mindrot.org
          Reporter: yawang at microsoft.com
on a build without OpenSSL,
ssh-keygen.exe -t ed25519 -P Bull -f C:\mspctl\openssh\id_ED25519
Generating public/private ed25519 key pair.
Saving key "C:\\mspctl\\openssh\\id_ED25519" failed: invalid argument
This occurs when we compile on windows, but we believe it also repros
on other os.
The cause is that when passphrase is not empty, ciphername is assigned
to DEFAULT_CIPHERNAME("aes256-cbc") at the following line in function
sshkey_private_to_blob2, but "aes256-cbc" is not valid in ciphers
array
when WITH_OPENSSL is 0
        if (passphrase == NULL || !strlen(passphrase)) {
                ciphername = "none";
                kdfname = "none";
        } else if (ciphername == NULL)
                ciphername = DEFAULT_CIPHERNAME;
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Aug-11  04:07 UTC
[Bug 2754] ssh-keygen.exe returns invalid format when passphrase is not empty when WITH_OPENSSL is not defined.
https://bugzilla.mindrot.org/show_bug.cgi?id=2754
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |djm at mindrot.org
             Blocks|                            |2698
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2698
[Bug 2698] Tracking bug for OpenSSH 7.6 release
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Aug-15  07:14 UTC
[Bug 2754] ssh-keygen.exe returns invalid format when passphrase is not empty when WITH_OPENSSL is not defined.
https://bugzilla.mindrot.org/show_bug.cgi?id=2754
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
This was fixed in commit 0f3455356bc284d7c6f4d3c1614d31161bd5dcc2 and
will be in OpenSSH 7.6. Thanks!
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Apr-06  02:26 UTC
[Bug 2754] ssh-keygen.exe returns invalid format when passphrase is not empty when WITH_OPENSSL is not defined.
https://bugzilla.mindrot.org/show_bug.cgi?id=2754
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
Close all resolved bugs after release of OpenSSH 7.7.
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.