[pgp] Fix typos

This commit is contained in:
wurstsalat
2024-05-19 16:49:29 +02:00
parent b6efa87b81
commit 8e9cbf429b
2 changed files with 2 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ class PGP(gnupg.GPG, metaclass=Singleton):
raise SignError(result.status) raise SignError(result.status)
def verify(self, payload, signed): 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. # presence stanza so try all algorithms.
# Text name for hash algorithms from RFC 4880 - section 9.4 # Text name for hash algorithms from RFC 4880 - section 9.4

View File

@@ -218,7 +218,7 @@ class PGPLegacy(BaseModule):
def sign_presence(self, presence, status): def sign_presence(self, presence, status):
key_data = self.get_own_key_data() key_data = self.get_own_key_data()
if key_data is None: if key_data is None:
self._log.warning('No own key id found, cant sign presence') self._log.warning('No own key id found, cant sign presence')
return return
try: try: