diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-07-17 23:36:41 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-07-17 23:36:41 +0200 |
commit | f94faeeace0df51b223f7a6da164071affc3ea37 (patch) | |
tree | c12e2338bdc0fb10d844244a998d427b62af3a94 | |
parent | 80f56a131551ec0886966b9e19e8a2532d6a090e (diff) | |
download | volse-hubzilla-f94faeeace0df51b223f7a6da164071affc3ea37.tar.gz volse-hubzilla-f94faeeace0df51b223f7a6da164071affc3ea37.tar.bz2 volse-hubzilla-f94faeeace0df51b223f7a6da164071affc3ea37.zip |
streamline keyId and creator/actor
-rw-r--r-- | Zotlabs/Lib/LDSignatures.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Lib/LDSignatures.php b/Zotlabs/Lib/LDSignatures.php index 6d7127cde..b13c4cf4a 100644 --- a/Zotlabs/Lib/LDSignatures.php +++ b/Zotlabs/Lib/LDSignatures.php @@ -29,7 +29,7 @@ class LDSignatures { $options = [ 'type' => 'RsaSignature2017', 'nonce' => random_string(64), - 'creator' => z_root() . '/channel/' . $channel['channel_address'] . '/public_key_pem', + 'creator' => z_root() . '/channel/' . $channel['channel_address'], 'created' => datetime_convert('UTC','UTC', 'now', 'Y-m-d\Th:i:s\Z') ]; @@ -124,7 +124,7 @@ class LDSignatures { 'meDataType' => $data_type, 'meEncoding' => $encoding, 'meAlgorithm' => $algorithm, - 'meCreator' => z_root() . '/channel/' . $channel['channel_address'] . '/public_key_pem', + 'meCreator' => z_root() . '/channel/' . $channel['channel_address'], 'meSignatureValue' => $signature ]); @@ -132,4 +132,4 @@ class LDSignatures { -}
\ No newline at end of file +} |