Home GnuPG
Diffusion GPGME 167847f1bcfb

python bindings: import keys
167847f1bcfbUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

python bindings: import keys

* Adapted from prior submissions by Tobias Mueller and Jacob Adams.
* key_import function added to gpg.core.Context().
* Two example scripts added to to examples/howto: import-key-file.py
  imports keys from a local file and import-keys.py accesses the SKS
  keyserver pool using the requests module to search for keys
  (includes check for key IDs which may not include the leading 0x).
* Added documentation demonstrating the use of the key_import()
  function with a large number of keys matching one domain (eff.org;
  the example shows how EFF staff are following their own advice
  issued last month).

Details

Provenance
BenMAuthored on Jun 7 2018, 1:46 AM
Parents
rM2c4c5692472f: core: Return a better error code on certain decryption failures.
Branches
Unknown
Tags
Unknown
References
ben/key-import