mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-23 06:25:14 +00:00
Use resolvable ActivityPub keyId
This commit is contained in:
parent
1f53d1a149
commit
edb61e52c5
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export default (user: ILocalUser, url: string, object: any) => new Promise((reso
|
|||
sign(req, {
|
||||
authorizationHeaderName: 'Signature',
|
||||
key: user.keypair,
|
||||
keyId: `acct:${user.username}@${config.host}`
|
||||
keyId: `${config.url}/users/${user._id}/publickey`
|
||||
});
|
||||
|
||||
// Signature: Signature ... => Signature: ...
|
||||
|
|
Loading…
Reference in a new issue