FiloSottile / yubikey-agent

yubikey-agent is a seamless ssh-agent for YubiKeys.
https://filippo.io/yubikey-agent
BSD 3-Clause "New" or "Revised" License
2.6k stars 124 forks source link

signers: allow all card slots and imported keys, sign confirmation and card select by serial #104

Open FStelzer opened 2 years ago

FStelzer commented 2 years ago

to enable all slots with imported keys for a typical PIV config you could use: yubikey-agent -l agent.sock --slot authentication,once --slot signature,always --slot keymanagement,once

The default without any parameters matches the current config (only Authentication and no configured pin policy).

This change makes yubikey-agent immediately usable with previously generated / imported keys (which i think a lot of people at least in the corporate world have).

Similar to #57 but focused on usage of all imported keys.