[openpgp] Allow PGPME to create key with default algoritm

Fixes #623
This commit is contained in:
Philipp Hörist
2024-09-22 20:34:43 +02:00
parent ebcb5da436
commit 5c8c93e9bb

View File

@@ -81,11 +81,8 @@ class GPGME:
def generate_key(self):
with gpg.Context(**self._context_args) as context:
result = context.create_key(f'xmpp:{str(self._jid)}',
algorithm='default',
expires=False,
sign=True,
encrypt=True,
certify=False,
authenticate=False,
passphrase=None,
force=False)