ActivityPub-federated video streaming platform using P2P directly in your web browser
Don't use safe mode when normalizing
Chocobozzzedacb640332e
diff --git a/server/helpers/peertube-crypto.ts b/server/helpers/peertube-crypto.tsindex 1d9cab2ce2..8aca509009 100644--- a/server/helpers/peertube-crypto.ts+++ b/server/helpers/peertube-crypto.ts@@ -135,12 +135,11 @@ export {// ---------------------------------------------------------------------------function hashObject (obj: any): Promise<any> {- return jsonld.promises- .normalize(obj, {- algorithm: 'URDNA2015',- format: 'application/n-quads'- })- .then(res => sha256(res))+ return jsonld.promises.normalize(obj, {+ safe: false,+ algorithm: 'URDNA2015',+ format: 'application/n-quads'+ }).then(res => sha256(res))}function createSignatureHash (signature: any) {