Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Generate Key
- ```
- gpg --full-generate-key
- ```
- ### List Keys
- ```
- gpg -K --keyid-format long --with-colons --with-fingerprint
- ```
- ### Export Public Key (Binary Format)
- ```
- gpg --export -a <key-id> > gpg-key.pub.asc
- ```
- ### Export Public Key (ASCII Format)
- ```
- gpg --armor --export -a <key-id> > gpg-key.pub
- ```
- ### Export Private Key (Binary Format)
- ```
- gpg --export-secret-keys -a <key-id> > gpg-key.priv.asc
- ```
- ### Export Private Key (ASCII Format)
- ```
- gpg --armor --export-secret-keys -a <key-id> > gpg-key.priv.pub
- ```
Add Comment
Please, Sign In to add comment