AP Actorの鍵とkeyIdのフォーマットの変更 (#5733)

* Node PKCS#8

* keyIdを#main-key形式に
This commit is contained in:
MeiMei 2020-01-20 04:51:44 +09:00 committed by syuilo
parent 5a950cf991
commit 46aaf8fa9a
4 changed files with 14 additions and 10 deletions

View file

@ -108,7 +108,7 @@ export async function renderPerson(user: ILocalUser) {
image: banner ? renderImage(banner) : null,
tag,
manuallyApprovesFollowers: user.isLocked,
publicKey: renderKey(user, keypair),
publicKey: renderKey(user, keypair, `#main-key`),
isCat: user.isCat,
attachment: attachment.length ? attachment : undefined
};