Commit ef51db3a authored by Jeong Arm's avatar Jeong Arm

Fix encoding problem on actor

parent 008f43db
......@@ -22,8 +22,8 @@ if "actorKeys" not in DATABASE:
pubkey = privkey.publickey()
DATABASE["actorKeys"] = {
"publicKey": pubkey.exportKey('PEM'),
"privateKey": privkey.exportKey('PEM')
"publicKey": pubkey.exportKey('PEM').decode('utf-8'),
"privateKey": privkey.exportKey('PEM').decode('utf-8')
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