Commit 7172f13d authored by Andrii Salnikov's avatar Andrii Salnikov

data also requires explicit decoding

parent 7a992cbc
......@@ -1426,7 +1426,7 @@ def software_object_from_json(jconf):
logger.error('Failed to export public key from GPG database')
with open(keyout, 'rb') as key_f:
jconf['pubkey'] = base64.b64encode(
jconf['pubkey'] = base64.b64encode(
# add child object with key in the DNS
......@@ -1551,7 +1551,7 @@ def software_object_from_json(jconf):
'reftype': 'gpg.signed.base64',
'rr_owner': '_data',
'endpoints': [{
'rr_data': base64.b64encode(
'rr_data': base64.b64encode(
# add rte object to software object
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