From f94faeeace0df51b223f7a6da164071affc3ea37 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 17 Jul 2019 23:36:41 +0200 Subject: streamline keyId and creator/actor --- Zotlabs/Lib/LDSignatures.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Zotlabs/Lib') 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 +} -- cgit v1.2.3