Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bitwarden for openSUSE:Factory checked in at 2023-08-30 10:19:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bitwarden (Old) and /work/SRC/openSUSE:Factory/.bitwarden.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bitwarden" Wed Aug 30 10:19:59 2023 rev:11 rq:1107805 version:2023.8.2 Changes: -------- --- /work/SRC/openSUSE:Factory/bitwarden/bitwarden.changes 2023-07-27 16:52:28.902381488 +0200 +++ /work/SRC/openSUSE:Factory/.bitwarden.new.1766/bitwarden.changes 2023-08-30 10:22:41.420874606 +0200 @@ -1,0 +2,10 @@ +Mon Aug 28 16:21:41 UTC 2023 - Bruno Pitrus <brunopit...@hotmail.com> + +- New upstream release 2023.8.2 + * Add SSO with trusted devices + * Add Tailwind support + * Update server selector copy + * Bug fix for selecting self-hosted server + * Bug fix for hidden icons + +------------------------------------------------------------------- Old: ---- bitwarden-2023.7.1.obscpio New: ---- bitwarden-2023.8.2.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bitwarden.spec ++++++ --- /var/tmp/diff_new_pack.TkuQLj/_old 2023-08-30 10:22:44.400980978 +0200 +++ /var/tmp/diff_new_pack.TkuQLj/_new 2023-08-30 10:22:44.404981121 +0200 @@ -18,7 +18,7 @@ # Name: bitwarden -Version: 2023.7.1 +Version: 2023.8.2 Release: 0 Summary: A secure and free password manager for all of your devices Group: Productivity/Security ++++++ _service ++++++ --- /var/tmp/diff_new_pack.TkuQLj/_old 2023-08-30 10:22:44.448982692 +0200 +++ /var/tmp/diff_new_pack.TkuQLj/_new 2023-08-30 10:22:44.452982834 +0200 @@ -2,8 +2,8 @@ <service name="obs_scm" mode="disabled"> <param name="scm">git</param> <param name="url">https://github.com/bitwarden/clients.git</param> - <param name="revision">desktop-v2023.7.1</param> - <param name="version">2023.7.1</param> + <param name="revision">desktop-v2023.8.2</param> + <param name="version">2023.8.2</param> <param name="filename">bitwarden</param> <param name="exclude">bitwarden_license/*</param> <!-- The code in bitwarden_license MUST NOT be included in published tarballs as it is non-redistributable! --> ++++++ bitwarden-2023.7.1.obscpio -> bitwarden-2023.8.2.obscpio ++++++ /work/SRC/openSUSE:Factory/bitwarden/bitwarden-2023.7.1.obscpio /work/SRC/openSUSE:Factory/.bitwarden.new.1766/bitwarden-2023.8.2.obscpio differ: char 49, line 1 ++++++ bitwarden.obsinfo ++++++ --- /var/tmp/diff_new_pack.TkuQLj/_old 2023-08-30 10:22:44.500984548 +0200 +++ /var/tmp/diff_new_pack.TkuQLj/_new 2023-08-30 10:22:44.504984691 +0200 @@ -1,5 +1,5 @@ name: bitwarden -version: 2023.7.1 -mtime: 1690231075 -commit: da29dd71b27b21b404c4944e421c8cc3f3dd7a47 +version: 2023.8.2 +mtime: 1692901872 +commit: b403f2bcc79426abb9d8f02c391b7c8158876960 ++++++ node-vendor.tar.zst ++++++ Binary files /var/tmp/diff_new_pack.TkuQLj/_old and /var/tmp/diff_new_pack.TkuQLj/_new differ ++++++ remove-unnecessary-deps.patch ++++++ --- /var/tmp/diff_new_pack.TkuQLj/_old 2023-08-30 10:22:44.904998969 +0200 +++ /var/tmp/diff_new_pack.TkuQLj/_new 2023-08-30 10:22:44.916999398 +0200 @@ -17,7 +17,7 @@ }, "workspaces": [ "apps/*", -@@ -32,52 +31,18 @@ +@@ -32,52 +31,19 @@ ], "devDependencies": { "@angular-devkit/build-angular": "15.2.8", @@ -63,14 +63,14 @@ "@types/zxcvbn": "4.4.1", - "@typescript-eslint/eslint-plugin": "5.59.8", - "@typescript-eslint/parser": "5.59.8", -- "autoprefixer": "10.4.14", + "autoprefixer": "10.4.14", - "base64-loader": "1.0.0", "buffer": "6.0.3", - "chromatic": "6.18.0", "clean-webpack-plugin": "4.0.0", "concurrently": "8.1.0", "copy-webpack-plugin": "11.0.0", -@@ -83,62 +47,24 @@ +@@ -83,62 +47,25 @@ "css-loader": "6.8.1", "del": "6.1.1", "electron": "24.1.1", @@ -104,7 +104,7 @@ "node-ipc": "9.2.1", - "pkg": "5.8.1", "postcss": "8.4.24", -- "postcss-loader": "7.3.2", + "postcss-loader": "7.3.2", - "prettier": "2.8.8", - "prettier-plugin-tailwindcss": "0.3.0", - "process": "0.11.10", @@ -188,7 +188,7 @@ - "tailwindcss": "$tailwindcss", "@storybook/angular": { "zone.js": "0.12.0" - } + }, --- a/apps/desktop/desktop_native/package.json +++ b/apps/desktop/desktop_native/package.json @@ -10,9 +10,6 @@ ++++++ use-node-argon2.patch ++++++ --- /var/tmp/diff_new_pack.TkuQLj/_old 2023-08-30 10:22:44.932999968 +0200 +++ /var/tmp/diff_new_pack.TkuQLj/_new 2023-08-30 10:22:44.932999968 +0200 @@ -92,7 +92,7 @@ @@ -52,24 +50,19 @@ memory: number, parallelism: number - ): Promise<ArrayBuffer> { + ): Promise<Uint8Array> { - if (!this.wasmSupported) { - throw "Webassembly support is required for the Argon2 KDF feature."; - } @@ -100,7 +100,7 @@ - const passwordArr = new Uint8Array(this.toBuf(password)); - const saltArr = new Uint8Array(this.toBuf(salt)); + const nodePassword = this.toNodeValue(password); -+ const nodeSalt = this.toNodeBuffer(this.toArrayBuffer(salt)); ++ const nodeSalt = this.toNodeBuffer(this.toUint8Buffer(salt)); - const result = await argon2.hash({ - pass: passwordArr, @@ -120,7 +120,7 @@ }); - argon2.unloadRuntime(); - return result.hash; -+ return this.toArrayBuffer(hash); ++ return this.toUint8Buffer(hash); } async hkdf( @@ -142,7 +142,7 @@ - } catch { - return false; +// from libs/node/src/services/node-crypto-function.service.ts -+ private toNodeValue(value: string | ArrayBuffer): string | Buffer { ++ private toNodeValue(value: string | Uint8Array): string | Buffer { + let nodeValue: string | Buffer; + if (typeof value === "string") { + nodeValue = value; @@ -152,16 +152,16 @@ + return nodeValue; + } + -+ private toNodeBuffer(value: ArrayBuffer): Buffer { -+ return Buffer.from(new Uint8Array(value) as any); ++ private toNodeBuffer(value: Uint8Array): Buffer { ++ return Buffer.from(value); + } + -+ private toArrayBuffer(value: Buffer | string | ArrayBuffer): ArrayBuffer { -+ let buf: ArrayBuffer; ++ private toUint8Buffer(value: Buffer | string | Uint8Array): Uint8Array { ++ let buf: Uint8Array; + if (typeof value === "string") { -+ buf = Utils.fromUtf8ToArray(value).buffer; ++ buf = Utils.fromUtf8ToArray(value); + } else { -+ buf = new Uint8Array(value).buffer; ++ buf = value; } - return false; + return buf;