# HG changeset patch # User Oleksandr Gavenko # Date 1654684578 -10800 # Node ID 1d7b971334f9860070bfff002271a19fde66ab53 # Parent d58be5220570d495335323ca2ba12b51d414739a Dump content of key or signature. diff -r d58be5220570 -r 1d7b971334f9 pgp.rst --- a/pgp.rst Mon Jun 06 17:21:45 2022 +0300 +++ b/pgp.rst Wed Jun 08 13:36:18 2022 +0300 @@ -54,6 +54,21 @@ $ gpg --keyserver pgp.mit.edu --refresh-keys $KEYID +To find key by names:: + + gpg --keyserver keyserver.ubuntu.com --search-keys president + +List trust model +================ + +To dump current trust model:: + + gpg --export-ownertrust + +Above output can be used for import:: + + gpg --export-ownertrust | gpg --import-ownertrust + How mark a key as trusted? ========================== :: @@ -147,10 +162,13 @@ $ gpg --delete-secret-key $KEYID -Dump content of key or signture. +Dump content of key or signature ================================ :: + $ gpg --show-keys $FILE.key + $ gpg --show-keys --with-subkey-fingerprint $FILE.key + $ gpg --list-packets $FILE.sig $ gpg --list-packets $FILE.key