Update 'OpenPGP to Card'
36
OpenPGP-to-Card.md
Normal file
36
OpenPGP-to-Card.md
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
GPG private keys can be copied or moved to the Yubikey. The following examples moves them.
|
||||||
|
|
||||||
|
|
||||||
|
```shell
|
||||||
|
❯ gpg --edit-key <keyId>
|
||||||
|
|
||||||
|
gpg> toggle
|
||||||
|
gpg> key 1
|
||||||
|
gpg> keytocard
|
||||||
|
|
||||||
|
Please select where to store the key:
|
||||||
|
(1) Signature key
|
||||||
|
(3) Authentication key
|
||||||
|
Your selection? 1
|
||||||
|
|
||||||
|
gpg> key 1
|
||||||
|
gpg> key 2
|
||||||
|
gpg> keytocard
|
||||||
|
|
||||||
|
Please select where to store the key:
|
||||||
|
(2) Encryption key
|
||||||
|
Your selection? 2
|
||||||
|
|
||||||
|
gpg> key 2
|
||||||
|
gpg> key 3
|
||||||
|
gpg> keytocard
|
||||||
|
|
||||||
|
Please select where to store the key:
|
||||||
|
(3) Authentication key
|
||||||
|
Your selection? 3
|
||||||
|
|
||||||
|
gpg> quit
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
> https://ruimarinho.gitbooks.io/yubikey-handbook/content/openpgp/importing-keys.html
|
||||||
Reference in New Issue
Block a user