diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-08-31 21:32:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-31 21:32:09 +0200 |
commit | 9a5ae096206df2240ba042efed62854193898a65 (patch) | |
tree | 76514289a04af8ed26402c8a55af54683c3fd1c1 /app/lib/activitypub | |
parent | f7937d903c681769801e4f3edcdac7e3c71ad9cf (diff) |
Remove identity context from output of LinkedDataSignature (#4753)
Diffstat (limited to 'app/lib/activitypub')
-rw-r--r-- | app/lib/activitypub/linked_data_signature.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/activitypub/linked_data_signature.rb b/app/lib/activitypub/linked_data_signature.rb index 4483339a9..adb8b6cdf 100644 --- a/app/lib/activitypub/linked_data_signature.rb +++ b/app/lib/activitypub/linked_data_signature.rb @@ -45,7 +45,7 @@ class ActivityPub::LinkedDataSignature signature = Base64.strict_encode64(creator.keypair.sign(OpenSSL::Digest::SHA256.new, to_be_signed)) - @json.merge('@context' => merge_context(@json['@context'], CONTEXT), 'signature' => options.merge('signatureValue' => signature)) + @json.merge('signature' => options.merge('signatureValue' => signature)) end private |