| Summary: | ssh-add -d does not drop certificate | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Ondrej Caletka <ondrej> | ||||
| Component: | ssh-add | Assignee: | Damien Miller <djm> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | trivial | ||||||
| Priority: | P5 | ||||||
| Version: | 6.1p1 | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 2035 | ||||||
| Attachments: |
|
||||||
|
Description
Ondrej Caletka
2012-11-02 01:37:58 AEDT
Created attachment 2193 [details]
Make ssh-add -d remove certificate too
Right.
It is possible to remove a cert by explicitly listing its *-cert.pub file, but this isn't symmetric with ssh-add's behaviour and is therefore not what users would reasonably expect.
This patch makes ssh-add -d remove both the plain key and the corresponding certificate. It also makes -d respect the recently-added -k option to allow selectively removing just the key.
Applied - this will be in openssh-6.2, due early next year mark bugs closed by openssh-6.2 release as CLOSED |