GnuPG: Difference between revisions

170 bytes added ,  18 September 2020
→‎Troubleshooting: gpg-connect-agent RESET /bye
→‎Links: add Commit Signing With Git, Hub, Keybase, and GPG to Links
→‎Troubleshooting: gpg-connect-agent RESET /bye
 
(3 intermediate revisions by the same user not shown)
Line 56: Line 56:
Command> check
Command> check


// change passphrase
$ gpg --edit-key didi
Command> passwd
// save
Command> save


// encrypt [and compress] a document
// encrypt [and compress] a document
Line 82: Line 87:
$ gpg --verify doc.sig doc
$ gpg --verify doc.sig doc
</source>
</source>


== Key management ==
== Key management ==
Line 134: Line 138:
<source lang="console">
<source lang="console">
$ gpgconf --kill gpg-agent
$ gpgconf --kill gpg-agent
</source>
Reset agent as a user
<source lang="console">
$ gpg-connect-agent RESET /bye
</source>
</source>