php-json-ld icon indicating copy to clipboard operation
php-json-ld copied to clipboard

SHA-256 instead of SHA-1

Open annando opened this issue 7 years ago • 0 comments

According to the specifications for the normalization that is needed for signatures, the hash algorithm "sha-256" should be used. Instead "sha-1" is used, which partially leads to invalid signatures.

This had been discussed in the corresponding JS library as well: https://github.com/digitalbazaar/jsonld.js/issues/100

annando avatar Sep 25 '18 22:09 annando