Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 558 Bytes

gpg.md

File metadata and controls

41 lines (29 loc) · 558 Bytes

GPG

Create your own GPG signature

gpg --gen-key
gpg --list-keys #list

Check yubikey status (or any other card management tool)

gpg --card-status

Move your keys to your yubikey

gpg --edit-key <key>
gpg> toggle
gpg> keytocard

Delete / export key

gpg --delete-secret-keys <key>
gpg --export-secret-keys <key> > private-key-backup.asc

Export public key

gpg --armor --export <key> > public-key.asc

Import private key

gpg --import private-key-backup.asc