Skip to content

Register the Smartcard

The final thing to do now, is to register the smartcard and the key to gpg.

The easiest way for me, since I have set the URL of public key attribute on my YubiKey, is to

  1. Edit the card

    Terminal window
    gpg --card-edit
  2. Fetch the public key from the URL

    gpg/card>
    fetch
  3. Quit out of the prompt

    gpg/card>
    quit
  4. Edit the key / key associated with your e-mail

    Terminal window
    gpg --edit-key info@dustvoice.de
  5. Give the key ultimate (5) trust, as you should be the key owner, and confirm it with y

    gpg>
    trust
    5
    y
  6. Save the changes and quit the prompt.

    gpg>
    save