Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gpg [2015/06/01 16:28]
steve
gpg [2017/07/21 15:56]
steve
Line 7: Line 7:
 <​code>​gpg --gen-key</​code>​ <​code>​gpg --gen-key</​code>​
  
-Running this will call pinentry in ncurses mode (if used on a remote connection),​ but will die if in a screen session.+Running this will call pinentry in ncurses mode (if used on a remote connection),​ but will die if in a ''​screen'' ​session.
  
 === Export your public key === === Export your public key ===
Line 53: Line 53:
 <​code>​ <​code>​
 gpg -k | grep ^uid | sed -e '​s/​uid\ *//g' gpg -k | grep ^uid | sed -e '​s/​uid\ *//g'
 +</​code>​
 +
 +Also, use --keyid-format to display it one of the (many) possible formats
 +
 +<​code>​
 +--keyid-format none|short|0xshort|long|0xlong
 </​code>​ </​code>​