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