Difference between revisions of "gnupg pgp encryption notes"
From thelinuxwiki
(Created page with " == thunderbird == install thunderbird addon Enigmail setup keys start gpg-agent (so you don't have to enter the key password constantly) # gpg-agent --daemon --use-standa...") |
|||
Line 1: | Line 1: | ||
+ | |||
+ | ==generating new key== | ||
+ | for a full featured key generation dialog... | ||
+ | $ '''gpg --full-generate-key''' | ||
+ | |||
+ | ==add secondary email to gpg setup== | ||
+ | get keyid | ||
+ | $'''gpg --list-secret-keys --keyid-format LONG''' | ||
+ | /Users/hubot/.gnupg/secring.gpg | ||
+ | ------------------------------------ | ||
+ | sec 4096R/'''3AA5C34365567BD2''' 2016-03-10 [expires: 2017-03-10] | ||
+ | uid Hubot | ||
+ | ssb 4096R/42B317FD4BA89E7A 2016-03-10 | ||
+ | |||
+ | where keyid = 3AA5C34365567BD2 | ||
+ | |||
+ | $ '''gpg --edit-key 3AA5C34365567BD2''' | ||
+ | |||
+ | gpg> adduid | ||
+ | |||
== thunderbird == | == thunderbird == |
Revision as of 18:04, 15 February 2019
generating new key
for a full featured key generation dialog...
$ gpg --full-generate-key
add secondary email to gpg setup
get keyid
$gpg --list-secret-keys --keyid-format LONG /Users/hubot/.gnupg/secring.gpg ------------------------------------ sec 4096R/3AA5C34365567BD2 2016-03-10 [expires: 2017-03-10] uid Hubot ssb 4096R/42B317FD4BA89E7A 2016-03-10
where keyid = 3AA5C34365567BD2
$ gpg --edit-key 3AA5C34365567BD2
gpg> adduid
thunderbird
install thunderbird addon Enigmail
setup keys
start gpg-agent (so you don't have to enter the key password constantly)
# gpg-agent --daemon --use-standard-socket