mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-22 06:27:59 +00:00
Fix encoding problem on actor
This commit is contained in:
parent
008f43db2c
commit
ef51db3a4a
|
@ -22,8 +22,8 @@ if "actorKeys" not in DATABASE:
|
||||||
pubkey = privkey.publickey()
|
pubkey = privkey.publickey()
|
||||||
|
|
||||||
DATABASE["actorKeys"] = {
|
DATABASE["actorKeys"] = {
|
||||||
"publicKey": pubkey.exportKey('PEM'),
|
"publicKey": pubkey.exportKey('PEM').decode('utf-8'),
|
||||||
"privateKey": privkey.exportKey('PEM')
|
"privateKey": privkey.exportKey('PEM').decode('utf-8')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue