mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-10 02:17:59 +00:00
Fix encoding
This commit is contained in:
parent
9dc8743fe3
commit
a87c6c8220
|
@ -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