add a nonce

This commit is contained in:
zotlabs 2017-08-29 20:57:30 -07:00
parent 77267e049a
commit d47df8663f

View File

@ -23,6 +23,7 @@ class LDSignatures {
static function sign($data,$channel) {
$options = [
'type' => 'RsaSignature2017',
'nonce' => random_string(64),
'creator' => z_root() . '/channel/' . $channel['channel_address'] . '/public_key_pem',
'created' => datetime_convert('UTC','UTC', 'now', 'Y-m-d\Th:i:s\Z')
];