maroph

GPG2: Import Public Key From KeyServer

Aug 10th, 2016
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.44 KB | None | 0 0
  1. # lookup a public key by mail address (or name)
  2.  
  3. $ gpg2 --search-keys --keyserver pgp.mit.edu john.doe@acme.com
  4. gpg: searching for "[email protected]" from hkp server pgp.mit.edu
  5. (1)     John M. Doe <jdoe@acme.com>
  6.           1024 bit DSA key 5CC24DD3C6AC5A24C42185D14E1C3825ABAEB548, created: 1999-04-06
  7. Keys 1-1 of 1 for "[email protected]".  Enter number(s), N)ext, or Q)uit >
  8.  
  9. # enter the number of key you want to import or next/quit.
Advertisement
Add Comment
Please, Sign In to add comment