Configure Yubikeys with GPG

Preconditions

GPG can recognize Yubikeys

    gpg --card-status

Move GPG key into Yubikeys

Starting editing key.

gpg --edit-key <key-id>

Starting editing private key.

    toggle

Moving the signature key and the encryption key into smartcards(Yubikeys).

    keytocard

Selecting the anthentication key.

    key 2

Moving the anthentication key into smartcards(Yubikeys).

    keytocard

Postconditions

    gpg --list-secret-keys

Card serial no. = xxxx xxxxxxxx is shown.

Reference

  1. dev.yubico: PGP

发表评论

电子邮件地址不会被公开。 必填项已用*标注