Trusted keys

Mitchel's Avatar


14 Jun, 2016 09:02 AM


I have a source where I download my trusted keys, I use the command line to import them/update them, I wanna sign those keys with a trusted level, but It would be nice If there are one liners for.
For exmaple:

gpg --import key.asc --trsuted-level=1/4

Is that possible?

  1. 1 Posted by Mento on 16 Jun, 2016 01:07 PM

    Mento's Avatar

    Hi Mitchel,

    You can't set the trust during import.
    Have a look at --import-ownertrust; it allows you to set the trust of multiple keys at once.

    Regards, Mento

  2. 2 Posted by Mitchel on 16 Jun, 2016 01:17 PM

    Mitchel's Avatar

    Hi Mento,

    I know I can't now, but it would be a feature what I would like to have when I import keys.

    Is there some documentation about --import-ownertrust? I can't find anything about that?

  3. 3 Posted by Mento on 16 Jun, 2016 01:28 PM

    Mento's Avatar

    Hi Mitchel,

    we are not the developers of GnuPG – we are only compiling it for Mac OS X – so we can't implement a new feature. The GnuPG developers are here:
    There isn’t much documentation of --import-ownertrust. You could look at man gpg2.

    Regards, Mento

  4. 4 Posted by Mitchel on 16 Jun, 2016 01:33 PM

    Mitchel's Avatar

    Ah I'm sorry! I will place there a feature request!

    Thanks for your help!

  5. Steve closed this discussion on 16 Jun, 2016 01:34 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac