python-pskc branch master updated. 1.1-16-g5c02ecf
[
Date Prev][Date Next]
[
Thread Prev][Thread Next]
python-pskc branch master updated. 1.1-16-g5c02ecf
- From: Commits of the python-pskc project <python-pskc-commits [at] lists.arthurdejong.org>
- To: python-pskc-commits [at] lists.arthurdejong.org
- Reply-to: python-pskc-users [at] lists.arthurdejong.org, python-pskc-commits [at] lists.arthurdejong.org
- Subject: python-pskc branch master updated. 1.1-16-g5c02ecf
- Date: Tue, 10 Aug 2021 15:11:07 +0200 (CEST)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-pskc".
The branch, master has been updated
via 5c02ecf4510facaef6b8bbfd1985a015e4f29ce8 (commit)
from dce78b0a78bccf00bed611b53e3201f3cf0e7102 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://arthurdejong.org/git/python-pskc/commit/?id=5c02ecf4510facaef6b8bbfd1985a015e4f29ce8
commit 5c02ecf4510facaef6b8bbfd1985a015e4f29ce8
Author: Arthur de Jong <arthur@arthurdejong.org>
Date: Tue Aug 10 15:09:28 2021 +0200
Fix typos found by codespell
diff --git a/pskc/algorithms.py b/pskc/algorithms.py
index 973a2bb..9947520 100644
--- a/pskc/algorithms.py
+++ b/pskc/algorithms.py
@@ -18,10 +18,10 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
-"""Utility module that handles algorthm URIs."""
+"""Utility module that handles algorithm URIs."""
-# cannonical URIs of known algorithms
+# canonical URIs of known algorithms
# Note that even if a URI is listed here it does not mean that
# the algorithm is supported in python-pskc.
_algorithms = dict((x.rsplit('#', 1)[-1], x) for x in [
diff --git a/pskc/key.py b/pskc/key.py
index 92aa73e..89a76d2 100644
--- a/pskc/key.py
+++ b/pskc/key.py
@@ -52,7 +52,7 @@ class EncryptedValue(object):
from pskc.exceptions import DecryptionError
plaintext = pskc.encryption.decrypt_value(
self.cipher_value, self.algorithm)
- # allow MAC over plaintext or cipertext
+ # allow MAC over plaintext or ciphertext
# (RFC 6030 implies MAC over ciphertext but older draft used
# MAC over plaintext)
if self.mac_value and self.mac_value not in (
diff --git a/tests/invalid/mac-algorithm.pskcxml
b/tests/invalid/mac-algorithm.pskcxml
index 75ccbe4..1e6b5aa 100644
--- a/tests/invalid/mac-algorithm.pskcxml
+++ b/tests/invalid/mac-algorithm.pskcxml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Based on figure 6 but with an unknown HMAC alorithm.
+ Based on figure 6 but with an unknown HMAC algorithm.
-->
<KeyContainer Version="1.0"
diff --git a/tests/misc/policy.pskcxml b/tests/misc/policy.pskcxml
index 2ee3957..10a345b 100644
--- a/tests/misc/policy.pskcxml
+++ b/tests/misc/policy.pskcxml
@@ -30,7 +30,7 @@
</Data>
<Policy>
<KeyUsage>OTP</KeyUsage>
- <!-- unknwon PINPolicy attribute -->
+ <!-- unknown PINPolicy attribute -->
<PINPolicy MinLength="4" MaxLength="4"
PINKeyId="123456781" PINEncoding="DECIMAL"
PINUsageMode="Local" OnWeekDaysOnly="TRUE"/>
-----------------------------------------------------------------------
Summary of changes:
pskc/algorithms.py | 4 ++--
pskc/key.py | 2 +-
tests/invalid/mac-algorithm.pskcxml | 2 +-
tests/misc/policy.pskcxml | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
hooks/post-receive
--
python-pskc
- python-pskc branch master updated. 1.1-16-g5c02ecf,
Commits of the python-pskc project