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: