daily pastebin goal
45%
SHARE
TWEET

Untitled

a guest Jul 21st, 2017 446 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. * To add someone to your keychain (need to use keys.gnupg.net ip instead)
  2. ```
  3. gpg2 --keyserver `dig +short keys.gnupg.net | egrep "^[0-9]" | head -1` --search-key <personA@email.com | fingerprint>
  4. ```
  5.  
  6. * To trust someone you added to your keychain
  7. Non-interactive
  8. ```
  9. gpg2 --fingerprint --with-colons <personA@email.com | fingerprint> | sed -E -n -e 's/^fpr:::::::::([0-9A-F]+):$/\1:6:/p' | gpg2 --import-ownertrust
  10. ```
  11.  
  12. Interactive
  13. ```
  14. > gpg2 --edit-key <personA@email.com | fingerprint>
  15. ....
  16. gpg2> trust
  17. ....
  18. gpg2> 6
  19. ```
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top