Expired GPG key for ssh authentication

Marko Bauhardt marko.bauhardt at mailbox.org
Sun Jan 29 11:39:25 CET 2017


Hi,
I’m using gpg 2.0.30. I have a keyring which contains a subway which is there for authentication only. I’m using `monkeysphere s` to add this key to my ssh-agent. Using `ssh-add -L` to get the public ssh key representation to be able to add the key to my `.ssh/authorized_keys` file on the server. Everything works. But  i configured my subkey to expire after one year.

Now one year later. My ssh subkey is expired. But i’m still able to login into my ssh-server.
My assumption was that i can use this subkey only if this key is valid. Is the expired key working because i’m using the ssh-agent instead of the gpg-agent?

Any idea or comment?

---

Marko Bauhardt
marko.bauhardt at mailbox.org <mailto:marko.bauhardt at mailbox.org>

Key ID: 53192101
Fingerprint: DC0F E851 82A3 72E3 7FE1  ACDB 970C FD47 5319 2101

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20170129/eda0da76/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: </pipermail/attachments/20170129/eda0da76/attachment-0001.sig>


More information about the Gnupg-users mailing list