Bug 1636706
Summary: | libssh 0.8.3 no longer reads PKCS8 keys | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Rick <fedora> |
Component: | libssh | Assignee: | Andreas Schneider <asn> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 28 | CC: | ansasaki, asn, jfch, jjelen, negativo17, rdieter |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-02-07 14:40:57 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Rick
2018-10-07 05:44:22 UTC
Crisis averted, I used the new openssh key format (Which appears to be the default now, nice) and converted by private key: `ssh-keygen -p -f id_rsa.clear -a 500` which probably obviates the need for PKCS8 style keys based on my reading of things: https://www.tedunangst.com/flak/post/new-openssh-key-format-and-bcrypt-pbkdf Still, this was a *very* unpleasant surprise, and AFAICT, not documented anywhere. Also, the default number of rounds is probably too low at 16, and using something on the order of `-a 500` (or higher!) with `ssh-keygen -p` is advised. also, in "steps to reproduce", the following should be appended: 5. key works 6, `dnf update libssh` 7. try to load key using ssh-add. 8. Key fails to load. ssh-add is not using libssh at all. This sounds like a duplicate of a bug #1632902 in OpenSSH or OpenSSL, which changed a behavior in one of the latest updates ragards the zero-length passphrases. Thanks for reporting this bug. As pointed in comment 3, ssh-add does not use libssh at all, so libssh can't be the culprit of the issue. Most likely the issue is a duplicate of bug #1632902, so I'll close as duplicate. Please reopen the bug if the problem persists even after updating openssh to the newest version. *** This bug has been marked as a duplicate of bug 1632902 *** |