Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Oct 13, 2021

  1. signers: allow all card slots and imported keys

    - creates a cli configuration flag (--slot authentication) to be
      able to specify which slots should be enabled
    - allows specifying a pin policy (--slot signature,always) to allow
      for imported keys. These do not have a valid attestation which
      would be used to determine the pin policy, so we have to set it.
    
    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
    FStelzer committed Oct 13, 2021
    Configuration menu
    Copy the full SHA
    202d8df View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2021

  1. cards: select card by serial or find the first valid one

    Try all available cards till we find the first usable one.
    Also allow selecting a specific yubikey by passing -serial 1234567890
    FStelzer committed Oct 18, 2021
    Configuration menu
    Copy the full SHA
    34e4a2a View commit details
    Browse the repository at this point in the history
  2. signing: allow confirmation on every key use

    similar to ssh-add -c. uses askpass to confirm every signing operation
    by the user. especially useful for cached pin scenarios.
    yubikeys can cache pins and askpass can be configured to autofill from
    keychain. The user might still want to know about signing operations
    happening.
    FStelzer committed Oct 18, 2021
    Configuration menu
    Copy the full SHA
    72bd39b View commit details
    Browse the repository at this point in the history