aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/LDSignatures.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-19 21:40:38 -0700
committerzotlabs <mike@macgirvin.com>2017-09-19 21:40:38 -0700
commit00fe4e747f9884ab11fe94621f645fc351285964 (patch)
tree449a593745f0e17f135a05937ab304be3a9df408 /Zotlabs/Lib/LDSignatures.php
parentb0cdec0c35136db8cbb0cf13135a1f5cc8d1bc05 (diff)
downloadvolse-hubzilla-00fe4e747f9884ab11fe94621f645fc351285964.tar.gz
volse-hubzilla-00fe4e747f9884ab11fe94621f645fc351285964.tar.bz2
volse-hubzilla-00fe4e747f9884ab11fe94621f645fc351285964.zip
use frozen jsonld contexts
Diffstat (limited to 'Zotlabs/Lib/LDSignatures.php')
-rw-r--r--Zotlabs/Lib/LDSignatures.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Lib/LDSignatures.php b/Zotlabs/Lib/LDSignatures.php
index 77e2ef332..31ffd71f1 100644
--- a/Zotlabs/Lib/LDSignatures.php
+++ b/Zotlabs/Lib/LDSignatures.php
@@ -35,7 +35,9 @@ class LDSignatures {
$options['signatureValue'] = base64_encode(rsa_sign($ohash . $dhash,$channel['channel_prvkey']));
$signed = array_merge([
- '@context' => [ 'https://www.w3.org/ns/activitystreams', 'https://w3id.org/security/v1' ],
+ '@context' => [
+ ACTIVITYSTREAMS_JSONLD_REV,
+ 'https://w3id.org/security/v1' ],
],$options);
return $signed;