Bug#935135: ssh-add: loads key with wrong key comment, impairing key management
Timo WeingДrtner dixit:
>If
>
>$ file .ssh/id_pvt
>
>shows "OpenSSH private key" (instead of "PEM RSA private key") try:
Oh, indeed, it does.
tglase@tglase-nb:~ $ file .ssh/id_!(*.*)
.ssh/id_maven: PEM RSA private key
.ssh/id_pvt: OpenSSH private key
.ssh/id_rsa: PEM RSA private key
>$ ssh-keygen -c -C id_pvt -f .ssh/id_pvt
>
>to change the embedded comment. The new private key storage format
>contains an own comment.
Didn’t even know they had a new private key format… which is very
opaque…
… this worked, but the key comment for the PEM keys is also
completely ignored, and they’re listed with pathname instead.
This is weird.
bye,
//mirabilos
--
22:20⎜<asarch> The crazy that persists in his craziness becomes a master
22:21⎜<asarch> And the distance between the craziness and geniality is
only measured by the success 18:35⎜<asarch> "Psychotics are consistently
inconsistent. The essence of sanity is to be inconsistently inconsistent
Reply to: