diff options
author | Justus Winter <[email protected]> | 2017-02-17 16:07:05 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-02-17 16:08:03 +0000 |
commit | 15fbac9e72a4d1bff9a3b9e9822f9175b09fbcd5 (patch) | |
tree | cee4dfffa19f9ad95b51afb3e33b73d2b69fa9da /doc | |
parent | python: Support quick key signing. (diff) | |
download | gpgme-15fbac9e72a4d1bff9a3b9e9822f9175b09fbcd5.tar.gz gpgme-15fbac9e72a4d1bff9a3b9e9822f9175b09fbcd5.zip |
python: Support manipulating the TOFU policy.
* NEWS: Update.
* doc/gpgme.texi: Fix typos.
* lang/python/gpg/constants/__init__.py: Import new files.
* lang/python/gpg/constants/tofu/__init__.py: New file.
* lang/python/gpg/constants/tofu/policy.py: New file.
* lang/python/gpg/core.py (Context.key_tofu_policy): New function.
* lang/python/gpgme.i: Nice reprs for gpgme_tofu_info_t.
* lang/python/setup.py.in: Install new package.
* lang/python/tests/t-quick-key-manipulation.py: Extend test.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | doc/gpgme.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi index 78225d58..1e2cde7d 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -4489,7 +4489,7 @@ could not be started. @cindex validity, TOFU The OpenPGP engine features a Trust-On-First-Use (TOFU) key validation -model. For resolving clonflics it is necessary to declare the policy +model. For resolving conflicts it is necessary to declare the policy for a key. See the GnuPG manual for details on the TOFU implementation. @@ -4502,7 +4502,7 @@ policy values that are supported by @acronym{GPGME}: @item GPGME_TOFU_POLICY_AUTO Set the policy to ``auto''. @item GPGME_TOFU_POLICY_GOOD -Set the policy to ``goog''. +Set the policy to ``good''. @item GPGME_TOFU_POLICY_BAD Set the policy to ``bad''. @item GPGME_TOFU_POLICY_ASK |