Guest User

Untitled

a guest
Jun 19th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. ### Generate Key
  2. ```
  3. gpg --full-generate-key
  4. ```
  5.  
  6. ### List Keys
  7. ```
  8. gpg -K --keyid-format long --with-colons --with-fingerprint
  9. ```
  10.  
  11. ### Export Public Key (Binary Format)
  12. ```
  13. gpg --export -a <key-id> > gpg-key.pub.asc
  14. ```
  15.  
  16. ### Export Public Key (ASCII Format)
  17. ```
  18. gpg --armor --export -a <key-id> > gpg-key.pub
  19. ```
  20.  
  21. ### Export Private Key (Binary Format)
  22. ```
  23. gpg --export-secret-keys -a <key-id> > gpg-key.priv.asc
  24. ```
  25.  
  26. ### Export Private Key (ASCII Format)
  27. ```
  28. gpg --armor --export-secret-keys -a <key-id> > gpg-key.priv.pub
  29. ```
Add Comment
Please, Sign In to add comment