mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-12 18:58:00 +00:00
Merge branch 'patch-1' into 'master'
Fix encoding problem on actor See merge request pleroma/relay!7
This commit is contained in:
commit
6debb5f086
|
@ -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')
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue