mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
Fix processing keys from separate documents (#38407)
This commit is contained in:
@@ -289,8 +289,8 @@ class ActivityPub::ProcessAccountService < BaseService
|
||||
|
||||
next unless value['owner'] == @account.uri
|
||||
|
||||
value['publicKeyPem']
|
||||
{ type: :rsa, public_key: :key, uri: key_id }
|
||||
key = value['publicKeyPem']
|
||||
{ type: :rsa, public_key: key, uri: key_id }
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user