Bug 21135
| Summary: | ssh-add with no args doesn't attempt to use same passphrase for both RSA and DSA keys | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | David Woodhouse <dwmw2> | ||||
| Component: | openssh | Assignee: | Nalin Dahyabhai <nalin> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 7.0 | Keywords: | FutureFeature | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Enhancement | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2000-11-20 17:58:28 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
David Woodhouse
2000-11-20 17:58:25 UTC
After a passphrase is read in and ssh-add attempts to use it to decrypt a key file, it takes care to clear the memory used. This leads me to believe that reusing passphrases in this manner would be a Bad Thing. Remembering the passphrase for the duration of a single invocation of ssh-add wouldn't open any new vulnerability. If you're paranoid about an attacker being able to control/crash ssh-add and read the passphrase then the same applies to getting decrypted keys from ssh-agent and you shouldn't be using them at all. Created attachment 7207 [details]
patch to provide requested functionality
|