Commit 6bdd0466 authored by Philipp Hörist's avatar Philipp Hörist

OpenPGP: Fix secret key request

parent 414b12cb
......@@ -271,7 +271,7 @@ class OpenPGP:
'PGP secretkey has no data')
try:
key = b64decode(data.getData(), return_type=bytes)
key = b64decode(data, return_type=bytes)
except Exception as error:
return raise_error(log.warning, stanza, 'stanza-malformed',
str(error))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment