diff --git a/Golden_Repo/x/xpra/xprahtml-4.5.2-encryptionfix.patch b/Golden_Repo/x/xpra/xprahtml-4.5.2-encryptionfix.patch index 141ea3202393d28d69a00c5b30109916da778ba8..40ec1ed1dad2ef5d34d422336ff42e888fce423b 100644 --- a/Golden_Repo/x/xpra/xprahtml-4.5.2-encryptionfix.patch +++ b/Golden_Repo/x/xpra/xprahtml-4.5.2-encryptionfix.patch @@ -1,6 +1,6 @@ --- a/html5/js/Protocol.js.orig 2022-03-28 12:59:40.198667996 +0200 +++ b/html5/js/Protocol.js 2022-03-28 13:02:38.099943598 +0200 -@@ -631,6 +631,14 @@ +@@ -631,6 +631,10 @@ throw "unsupported encryption specified: '"+cipher+"'"; } const key_salt = caps["cipher.key_salt"]; @@ -8,10 +8,6 @@ + if (typeof key_salt !== 'string') { + key_salt = String.fromCharCode.apply(null, key_salt); + } -+ console.warn("key_salt=", key_salt); -+ console.log("key_salt=", key_salt.constructor); -+ console.log("key_salt=", typeof key_salt); -+ console.log("from packet encoder", this.packet_encoder); const iterations = caps["cipher.key_stretch_iterations"]; if (iterations<0) { throw "invalid number of iterations: "+iterations;