gpgme/lang/python/examples/howto
NIIBE Yutaka d44a473e27
doc: Fix Python example code.
* lang/python/doc/src/gpgme-python-howto.org: Fix chmod race.
* lang/python/examples/howto/export-secret-key.py: Likewise.
* lang/python/examples/howto/export-secret-keys.py: Likewise.
* lang/python/examples/howto/temp-homedir-config.py: Likewise.

--

It's not for Python 2.7.

GnuPG-bug-id: 6466
Reported-by: Hanno Böck
Co-authored-by: Ingo Klöcker
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2023-04-26 08:46:45 +09:00
..
advanced/cython python: advanced howto example 2018-12-12 23:05:50 +11:00
add-userid.py python: examples 2018-12-06 01:50:52 +11:00
clear-sign-file.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
create-key.py python: examples 2018-12-06 01:50:52 +11:00
decrypt-file.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
detach-sign-file.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
encrypt-file.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
encrypt-sign-file.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
encrypt-to-group-gullible.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
encrypt-to-group-trustno1.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
encrypt-to-group.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
export-key.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
export-minimised-key.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
export-secret-key.py doc: Fix Python example code. 2023-04-26 08:46:45 +09:00
export-secret-keys.py doc: Fix Python example code. 2023-04-26 08:46:45 +09:00
groups.py python: groups example 2018-12-21 21:01:04 +11:00
import-key.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
import-keybasekey.py python: new example script 2018-12-13 04:54:51 +11:00
import-keys-hkp.py python: hkp key importer 2018-12-11 09:55:15 +11:00
import-keys.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
import-mailvelope-keys.py python: examples 2019-02-11 06:34:40 +11:00
keycount.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
local-sign-group.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
mutt-groups.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
pmkey-import-alt.py python: examples bugfix 2018-12-14 05:17:10 +11:00
pmkey-import-hkp-alt.py python: examples bugfix 2018-12-14 05:17:10 +11:00
pmkey-import-hkp.py python: examples bugfix 2018-12-14 05:17:10 +11:00
pmkey-import.py python: examples bugfix 2018-12-14 05:17:10 +11:00
post_installer.py python: post installer script 2019-01-27 16:02:24 +11:00
README.org doc: python bindings examples 2018-03-20 08:39:49 +11:00
requirements.txt python: howto examples equirements 2018-12-12 23:01:16 +11:00
revoke-userid.py python: examples 2018-12-06 01:50:52 +11:00
send-key-to-keyserver.py python: examples 2018-12-06 01:50:52 +11:00
sign-file.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
sign-key.py python: examples 2018-12-06 01:50:52 +11:00
symcrypt-file.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
temp-homedir-config.py doc: Fix Python example code. 2023-04-26 08:46:45 +09:00
verify-signatures.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
verify-signed-file.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00

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.