mirror of
https://github.com/drduh/YubiKey-Guide.git
synced 2024-09-28 21:19:09 +00:00
Compare commits
No commits in common. "12b232d28fbb6ea61ccff2075751105c77ca84ee" and "3d01237c029acc4869cf7c829a896a83ad1241ae" have entirely different histories.
12b232d28f
...
3d01237c02
@ -2712,17 +2712,16 @@ Verify the Certify key:
|
|||||||
gpg --list-key
|
gpg --list-key
|
||||||
```
|
```
|
||||||
|
|
||||||
Export the Certify key ID, extract its fingerprint and create the Subkeys:
|
Export the Certify key ID and create the Subkeys:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
export KEYID=0xF0F2CFEB04341FB5
|
export KEYID=0xF0F2CFEB04341FB5
|
||||||
KEYFPR=$(gpg --fingerprint "$KEYID" | grep -Eo '([0-9A-F][0-9A-F ]{49})' | head -n 1 | tr -d ' ')
|
|
||||||
|
|
||||||
gpg --quick-add-key "$KEYFPR" rsa4096 sign 2y
|
gpg --quick-add-key "$KEYID" rsa4096 sign 2y
|
||||||
|
|
||||||
gpg --quick-add-key "$KEYFPR" rsa4096 encrypt 2y
|
gpg --quick-add-key "$KEYID" rsa4096 encrypt 2y
|
||||||
|
|
||||||
gpg --quick-add-key "$KEYFPR" rsa4096 auth 2y
|
gpg --quick-add-key "$KEYID" rsa4096 auth 2y
|
||||||
```
|
```
|
||||||
|
|
||||||
# Additional resources
|
# Additional resources
|
||||||
|
Loading…
Reference in New Issue
Block a user