Setting trust level on keys

Issue #95 resolved
created an issue

It'd be great if there were an API to set a trust level (1-5) on imported keys, so one could later user those when verifying keys.

Comments (5)

  1. silverwind reporter

    It should be possible by first retrieving the trustdb entries via gpg --export-ownertrust, modifying the line matching the key and then piping the result to gpg --import-ownertrust.

  2. Vinay Sajip repo owner

    Yes, but I've changed the API slightly after that commit to allow multiple keys to be specified. I see now I made a mistake in the commit message - a typo in the issue number. It should have been this issue.

  3. silverwind reporter

    Great to hear! This feature should also allow me to eliminate the gpg: WARNING: Using untrusted key! warning visible in the debug log after using a key imported via import_keys. Looking forward to testing this on the next release.

  4. Log in to comment