简体   繁体   中英

How to give highest trust level to an OpenPGP certificate in Kleopatra?

I'd like to give the highest trust level to a certificate. I need to do so, as this certificate is mine but I don't have exported it before formatting my PC.

I have downloaded it from a public key server and I have my private key saved in KeePass, but I don't know what to do next.

I'm sorry I cannot tell you how to do it in Kleopatra, but it is rather easy on the command line.

  1. If you haven't imported the private key yet, save it to a file (let's say, key.pgp , name and extension don't matter). Now run gpg --import <key.pgp . Your key should be listed using gpg -K now.
  2. For setting trust (the highest trust level in OpenPGP is "ultimate", which is usually only applied to your own certificates, as you want to do in this case), run gpg --edit-key [key-id] (printed in gpg -K above). In the edit key menu, run trust ; and enter 5 (followed by Return for "I trust ultimately". Confirm with y (again followed by Return ), and finally run save to store the modified key and quit GnuPG.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM