167847f1bc
* 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). |
||
---|---|---|
.. | ||
add-userid.py | ||
clear-sign-file.py | ||
create-key.py | ||
decrypt-file.py | ||
detach-sign-file.py | ||
encrypt-file.py | ||
encrypt-sign-file.py | ||
groups.py | ||
import-key-file.py | ||
import-keys.py | ||
keycount.py | ||
mutt-groups.py | ||
README.org | ||
revoke-userid.py | ||
sign-file.py | ||
sign-key.py | ||
temp-homedir-config.py | ||
verify-signatures.py | ||
verify-signed-file.py |
GPGME Python Bindings HOWTO Examples
Examples
The contents of this directory are the examples included in the GNU Privacy Guard (GnuPG) Made Easy Python Bindings HOWTO file. Each script is explicitly for Python 3 and specifically for Python 3.4 or later.
Some of these scripts may work with Python 2.7, but there are no
guarantees. They will include the relevant imports from the
__future__
module to facilitate that if possible.
Copyright and Licensing
Unless otherwise stated, all the examples in this directory are released under the same terms as GPGME itself; that is they are dual licensed under the terms of both the GNU General Public License version 2.0 (or any later version) and the GNU Lesser General Public License version 2.1 (or any later version).
Copyright (C) The GnuPG Project, 2018
Copyright © The GnuPG Project, 2018.
License GPL compatible
This file is free software; as a special exception the author gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved.
This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.