Fix FetchRemoteKeyService possibly returning incorrect keys (#38511)

This commit is contained in:
Claire authored and GitHub committed 2026-04-01 12:59:34 +00:00
1 parent 8733d09dc4
commit e9a051fcef
2 files changed
+20 -5

No files matched your search

@@ -64,6 +64,8 @@ RSpec.describe ActivityPub::FetchRemoteKeyService do
it 'returns the expected account' do
expect(keypair.account.uri).to eq 'https://example.com/alice'
expect(keypair.uri).to eq public_key_id
expect(keypair.public_key).to eq public_key_pem
end
end
@@ -76,6 +78,8 @@ RSpec.describe ActivityPub::FetchRemoteKeyService do
it 'returns the expected account' do
expect(keypair.account.uri).to eq 'https://example.com/alice'
expect(keypair.uri).to eq public_key_id
expect(keypair.public_key).to eq public_key_pem
end
end