0
0
Fork 0

Remove identity context from output of LinkedDataSignature (#4753)

This commit is contained in:
Eugen Rochko 2017-08-31 21:32:09 +02:00 committed by GitHub
parent f7937d903c
commit 9a5ae09620
2 changed files with 1 additions and 5 deletions

View file

@ -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