From 8e9cbf429b33ba12932fdd7252aef63c2522e462 Mon Sep 17 00:00:00 2001 From: wurstsalat Date: Sun, 19 May 2024 16:49:29 +0200 Subject: [PATCH] [pgp] Fix typos --- pgp/backend/python_gnupg.py | 2 +- pgp/modules/pgp_legacy.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pgp/backend/python_gnupg.py b/pgp/backend/python_gnupg.py index d942cfd..dbad0df 100644 --- a/pgp/backend/python_gnupg.py +++ b/pgp/backend/python_gnupg.py @@ -86,7 +86,7 @@ class PGP(gnupg.GPG, metaclass=Singleton): raise SignError(result.status) def verify(self, payload, signed): - # Hash algorithm is not transfered in the signed + # Hash algorithm is not transferred in the signed # presence stanza so try all algorithms. # Text name for hash algorithms from RFC 4880 - section 9.4 diff --git a/pgp/modules/pgp_legacy.py b/pgp/modules/pgp_legacy.py index c1a60bc..51a19bd 100644 --- a/pgp/modules/pgp_legacy.py +++ b/pgp/modules/pgp_legacy.py @@ -218,7 +218,7 @@ class PGPLegacy(BaseModule): def sign_presence(self, presence, status): key_data = self.get_own_key_data() if key_data is None: - self._log.warning('No own key id found, cant sign presence') + self._log.warning('No own key id found, can’t sign presence') return try: