| Summary: | Passphrase asked for (but ignored) if key file permissions too liberal. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Simon <hodgestar> | ||||
| Component: | ssh-add | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | minor | ||||||
| Priority: | P1 | ||||||
| Version: | 4.2p1 | ||||||
| Hardware: | PPC | ||||||
| OS: | Linux | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 1155 | ||||||
| Attachments: |
|
||||||
|
Description
Simon
2005-12-20 22:10:23 AEDT
Created attachment 1049 [details]
Check perms on key files and bail early if bad
That behaviour is a side effect of the way ssh-add will try several times to load each key (first with no passphrase, then with the previously supplied passphrase then finally with the user-supplied passphrase).
The attached patch ought to fix this.
Thanks Darren! I've applied the patch and recompiled and everything seems good. :) Comment on attachment 1049 [details]
Check perms on key files and bail early if bad
looks ok
Applied, thanks. This will be 4.4. With the release of 4.4, we believe that this bug is now closed. For information about the release please see http://www.openssh.com/txt/release-4.4 . |