|
|
|
|
|
by jopsen
3079 days ago
|
|
No, 1) GPG has built-in support for this; presumably they are smart 2) GPG has an authenticate bit, which is required on the key in question. 3) You can (and typically will) create a separate sub-key, with the authentication bit set. |
|
The reason your auth key is used for auth and signing key is used for signing is just because most GPG tools are helpful.
It's also worth noting that an ssh agent using agent forwarding exposes use of all the keys it knows about, not just the one used for the initial connection. So if you SSH to 1.2.3.4 with "-A", that host has the ability to poke your agent and ask for any keys it's got loaded up.
The "presumably they are smart" bit is also rather concerning. Being smart is generally not protection against mistakes. This isn't to say that gpg-agent allows malicious action, but we should start from a presumption that bugs exist, rather than just assume they don't.