From a73cdd39e1ff2a2554511be2a98ffc24cfeba9b8190fcaa1be318fda3a06303e Mon Sep 17 00:00:00 2001 From: Bruno Pitrus Date: Thu, 21 Sep 2023 17:12:26 +0000 Subject: [PATCH] Accepting request 1112885 from home:dziobian:gulgul-ultron:19 - New upstream release 2023.9.0 * Added password history to Bitwarden export * Accessibility improvement for fingerprint-phrases * Update dark theme to match web app * Update AnonAddy to addy.io * Remove flags from environment selector * Security fixes * Bug-fix for password re-prompt * Bug-fix for Duo prompt OBS-URL: https://build.opensuse.org/request/show/1112885 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/bitwarden?expand=0&rev=30 --- _service | 4 +- argon2-binary-path.patch | 4 +- bitwarden-2023.8.3.obscpio | 3 - bitwarden-2023.9.0.obscpio | 3 + bitwarden.changes | 13 ++++ bitwarden.obsinfo | 6 +- bitwarden.spec | 4 +- node-vendor.tar.zst | 4 +- prepare-node-vendor.sh | 6 +- remove-unnecessary-deps.patch | 119 +++++++++++++++++----------------- system-libargon2.patch | 4 +- 11 files changed, 90 insertions(+), 80 deletions(-) delete mode 100644 bitwarden-2023.8.3.obscpio create mode 100644 bitwarden-2023.9.0.obscpio diff --git a/_service b/_service index c47fca0..112bd71 100644 --- a/_service +++ b/_service @@ -2,8 +2,8 @@ git https://github.com/bitwarden/clients.git - desktop-v2023.8.3 - 2023.8.3 + desktop-v2023.9.0 + 2023.9.0 bitwarden bitwarden_license/* diff --git a/argon2-binary-path.patch b/argon2-binary-path.patch index 9629ce9..7cd912c 100644 --- a/argon2-binary-path.patch +++ b/argon2-binary-path.patch @@ -19,7 +19,7 @@ Remove dependency on node-pre-gyp which brings a lot of garbage }, "homepage": "https://github.com/ranisalt/node-argon2#readme", "dependencies": { -- "@mapbox/node-pre-gyp": "^1.0.10", +- "@mapbox/node-pre-gyp": "^1.0.11", "@phc/format": "^1.0.0", - "node-addon-api": "^5.0.0" + "node-addon-api": "^7.0.0" }, diff --git a/bitwarden-2023.8.3.obscpio b/bitwarden-2023.8.3.obscpio deleted file mode 100644 index 46ddf7f..0000000 --- a/bitwarden-2023.8.3.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6cf4051590b255be186d4d38bfa35daee6ff4a5206f3a2b46fa70ce94dc1f6d1 -size 19160589 diff --git a/bitwarden-2023.9.0.obscpio b/bitwarden-2023.9.0.obscpio new file mode 100644 index 0000000..6caef81 --- /dev/null +++ b/bitwarden-2023.9.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66e37308c999acc96b792643178a7e31f795f7d0a9bd12674dceea0947bc4053 +size 19666957 diff --git a/bitwarden.changes b/bitwarden.changes index a36a39c..913742a 100644 --- a/bitwarden.changes +++ b/bitwarden.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Sep 21 16:53:45 UTC 2023 - Bruno Pitrus + +- New upstream release 2023.9.0 + * Added password history to Bitwarden export + * Accessibility improvement for fingerprint-phrases + * Update dark theme to match web app + * Update AnonAddy to addy.io + * Remove flags from environment selector + * Security fixes + * Bug-fix for password re-prompt + * Bug-fix for Duo prompt + ------------------------------------------------------------------- Wed Sep 6 20:08:50 UTC 2023 - Bruno Pitrus diff --git a/bitwarden.obsinfo b/bitwarden.obsinfo index 2fd6601..504bb19 100644 --- a/bitwarden.obsinfo +++ b/bitwarden.obsinfo @@ -1,4 +1,4 @@ name: bitwarden -version: 2023.8.3 -mtime: 1693933474 -commit: 3508b98376ffeae5dd0850b68c6f727cceefa263 +version: 2023.9.0 +mtime: 1695234891 +commit: e5baa413709beca277b8e4873d4720c76e5f5d71 diff --git a/bitwarden.spec b/bitwarden.spec index 115f966..e7c6fca 100644 --- a/bitwarden.spec +++ b/bitwarden.spec @@ -18,7 +18,7 @@ # Name: bitwarden -Version: 2023.8.3 +Version: 2023.9.0 Release: 0 Summary: A secure and free password manager for all of your devices Group: Productivity/Security @@ -202,7 +202,7 @@ export CXXFLAGS="%{optflags} -fpic -fno-semantic-interposition -fvisibility=hidd export LDFLAGS="%{?build_ldflags}" %if 0%{?suse_version} -auditable=auditable +auditable='auditable -vv' %endif diff --git a/node-vendor.tar.zst b/node-vendor.tar.zst index 23b8990..ae1207a 100644 --- a/node-vendor.tar.zst +++ b/node-vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dbd9e1a88a23435a1d205dcc599f8a1633ef4bd704998fab08ca1cabcebeb4ad -size 37624979 +oid sha256:3f2b7d8669ea87f051ace0f60340df23ddace78f1b8c9cd295d6a8badcc7beea +size 37217869 diff --git a/prepare-node-vendor.sh b/prepare-node-vendor.sh index 0a24b5a..0e899df 100644 --- a/prepare-node-vendor.sh +++ b/prepare-node-vendor.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -eu # dnf install curl gzip jq npm patch tar wget @@ -46,8 +46,4 @@ find . -type d -empty -print -delete echo ">>>>>> Create tarball" ZSTD_CLEVEL=19 ZSTD_NBTHREADS=$(nproc) tar --zstd --sort=name -vvScf "${PKGDIR}/node-vendor.tar.zst" node_modules -if [ $? -ne 0 ]; then - echo "ERROR: tar cf failed" - cleanup_and_exit 1 -fi diff --git a/remove-unnecessary-deps.patch b/remove-unnecessary-deps.patch index 6c9e837..6e6c68d 100644 --- a/remove-unnecessary-deps.patch +++ b/remove-unnecessary-deps.patch @@ -17,94 +17,96 @@ }, "workspaces": [ "apps/*", -@@ -32,52 +31,19 @@ +@@ -32,53 +31,19 @@ ], "devDependencies": { - "@angular-devkit/build-angular": "15.2.8", + "@angular-devkit/build-angular": "15.2.9", - "@angular-eslint/eslint-plugin": "15.2.1", - "@angular-eslint/eslint-plugin-template": "15.2.1", - "@angular-eslint/template-parser": "15.2.1", -- "@angular/cli": "15.2.8", +- "@angular/cli": "15.2.9", "@angular/compiler-cli": "15.2.9", - "@angular/elements": "15.2.9", - "@compodoc/compodoc": "1.1.21", -- "@electron/notarize": "1.2.3", +- "@electron/notarize": "1.2.4", - "@electron/rebuild": "3.2.13", "@fluffy-spoon/substitute": "1.208.0", - "@ngtools/webpack": "15.2.8", -- "@storybook/addon-a11y": "7.0.18", -- "@storybook/addon-actions": "7.0.18", -- "@storybook/addon-essentials": "7.0.18", -- "@storybook/addon-links": "7.0.18", -- "@storybook/angular": "7.0.18", + "@ngtools/webpack": "15.2.9", +- "@storybook/addon-a11y": "7.3.0", +- "@storybook/addon-actions": "7.3.0", +- "@storybook/addon-designs": "7.0.4", +- "@storybook/addon-essentials": "7.3.0", +- "@storybook/addon-links": "7.3.0", +- "@storybook/angular": "7.3.0", - "@types/argon2-browser": "1.18.1", -- "@types/chrome": "0.0.237", +- "@types/chrome": "0.0.243", "@types/duo_web_sdk": "2.7.1", - "@types/firefox-webext-browser": "111.0.1", - "@types/inquirer": "8.2.6", - "@types/jest": "29.5.2", + "@types/jest": "29.5.3", - "@types/jquery": "3.5.16", - "@types/jsdom": "21.1.1", -- "@types/koa": "2.13.6", +- "@types/koa": "2.13.8", - "@types/koa__multer": "2.0.4", - "@types/koa__router": "12.0.0", - "@types/koa-bodyparser": "4.3.7", - "@types/koa-json": "2.0.20", - "@types/lowdb": "1.0.11", "@types/lunr": "2.3.4", - "@types/node": "18.16.16", + "@types/node": "18.17.5", - "@types/node-fetch": "2.6.4", - "@types/node-forge": "1.3.2", + "@types/node-forge": "1.3.4", "@types/node-ipc": "9.2.0", "@types/papaparse": "5.3.7", - "@types/proper-lockfile": "4.1.2", -- "@types/react": "16.14.42", +- "@types/react": "16.14.45", - "@types/retry": "0.12.2", "@types/zxcvbn": "4.4.1", -- "@typescript-eslint/eslint-plugin": "5.59.8", -- "@typescript-eslint/parser": "5.59.8", - "autoprefixer": "10.4.14", +- "@typescript-eslint/eslint-plugin": "5.62.0", +- "@typescript-eslint/parser": "5.62.0", + "autoprefixer": "10.4.15", - "base64-loader": "1.0.0", "buffer": "6.0.3", -- "chromatic": "6.18.0", +- "chromatic": "6.22.0", "clean-webpack-plugin": "4.0.0", - "concurrently": "8.1.0", + "concurrently": "8.2.0", "copy-webpack-plugin": "11.0.0", -@@ -83,62 +47,25 @@ +@@ -83,63 +47,25 @@ "css-loader": "6.8.1", "del": "6.1.1", - "electron": "24.1.1", + "electron": "24.8.3", - "electron-builder": "^23.6.0", "electron-log": "4.4.8", - "electron-reload": "2.0.0-alpha.1", "electron-store": "8.1.0", "electron-updater": "5.3.0", -- "eslint": "8.42.0", -- "eslint-config-prettier": "8.8.0", -- "eslint-import-resolver-typescript": "3.5.5", -- "eslint-plugin-import": "2.27.5", +- "eslint": "8.47.0", +- "eslint-config-prettier": "8.10.0", +- "eslint-import-resolver-typescript": "3.6.0", +- "eslint-plugin-import": "2.28.0", - "eslint-plugin-rxjs": "5.0.3", - "eslint-plugin-rxjs-angular": "2.0.1", -- "eslint-plugin-tailwindcss": "3.12.1", +- "eslint-plugin-storybook": "0.6.13", +- "eslint-plugin-tailwindcss": "3.13.0", - "gulp": "4.0.2", - "gulp-filter": "7.0.0", - "gulp-if": "3.0.0", -- "gulp-json-editor": "2.5.6", +- "gulp-json-editor": "2.5.7", - "gulp-replace": "1.1.4", - "gulp-zip": "5.1.0", "html-loader": "4.2.0", - "html-webpack-injector": "1.1.4", - "html-webpack-plugin": "5.5.1", + "html-webpack-plugin": "5.5.3", - "husky": "8.0.3", - "jest-junit": "16.0.0", - "jest-mock-extended": "3.0.4", + "jest-mock-extended": "3.0.5", - "jest-preset-angular": "13.1.1", -- "lint-staged": "13.2.2", +- "lint-staged": "13.3.0", "mini-css-extract-plugin": "2.7.6", "node-ipc": "9.2.1", - "pkg": "5.8.1", - "postcss": "8.4.24", - "postcss-loader": "7.3.2", + "postcss": "8.4.27", + "postcss-loader": "7.3.3", - "prettier": "2.8.8", - "prettier-plugin-tailwindcss": "0.3.0", - "process": "0.11.10", @@ -113,62 +115,62 @@ "regedit": "^3.0.3", - "remark-gfm": "3.0.1", "rimraf": "5.0.1", - "sass": "1.62.1", - "sass-loader": "13.3.1", -- "storybook": "7.0.18", + "sass": "1.65.1", + "sass-loader": "13.3.2", +- "storybook": "7.3.0", - "style-loader": "3.3.3", -- "tailwindcss": "3.3.2", -- "ts-jest": "29.1.0", - "ts-loader": "9.4.3", - "tsconfig-paths-webpack-plugin": "4.0.1", +- "tailwindcss": "3.3.3", +- "ts-jest": "29.1.1", + "ts-loader": "9.4.4", + "tsconfig-paths-webpack-plugin": "4.1.0", - "type-fest": "2.19.0", "typescript": "4.9.5", -- "url": "0.11.0", +- "url": "0.11.1", - "util": "0.12.5", - "wait-on": "7.0.1", - "webpack": "5.85.0", -- "webpack-cli": "5.1.3", -- "webpack-dev-server": "4.15.0", + "webpack": "5.88.2", +- "webpack-cli": "5.1.4", +- "webpack-dev-server": "4.15.1", - "webpack-node-externals": "3.0.0" -+ "webpack-cli": "5.1.3" ++ "webpack-cli": "5.1.4" }, "dependencies": { "@angular/animations": "15.2.9", -@@ -148,54 +76,25 @@ +@@ -148,53 +76,25 @@ "@angular/platform-browser": "15.2.9", "@angular/platform-browser-dynamic": "15.2.9", "@angular/router": "15.2.9", - "@koa/multer": "3.0.2", - "@koa/router": "12.0.0", - "@microsoft/signalr": "6.0.16", - "@microsoft/signalr-protocol-msgpack": "6.0.16", -- "@ng-select/ng-select": "10.0.4", - "argon2": "0.30.3", + "@microsoft/signalr": "6.0.21", + "@microsoft/signalr-protocol-msgpack": "6.0.21", + "@ng-select/ng-select": "10.0.4", + "argon2": "0.31.0", - "argon2-browser": "1.18.0", "big-integer": "1.6.51", - "bootstrap": "4.6.0", -- "braintree-web-drop-in": "1.38.0", +- "braintree-web-drop-in": "1.40.0", - "bufferutil": "4.0.7", - "chalk": "4.1.2", "commander": "7.2.0", -- "core-js": "3.30.2", +- "core-js": "3.32.0", - "date-input-polyfill": "2.14.0", "duo_web_sdk": "github:duosecurity/duo_web_sdk", - "form-data": "4.0.0", - "https-proxy-agent": "5.0.1", -- "inquirer": "8.2.5", +- "inquirer": "8.2.6", - "jquery": "3.7.0", - "jsdom": "22.1.0", - "jszip": "3.10.1", - "koa": "2.14.2", -- "koa-bodyparser": "4.4.0", +- "koa-bodyparser": "4.4.1", - "koa-json": "2.0.2", - "lowdb": "1.0.0", "lunr": "2.3.9", - "multer": "1.4.5-lts.1", - "ngx-infinite-scroll": "15.0.0", "ngx-toastr": "16.2.0", - "node-fetch": "2.6.11", + "node-fetch": "2.6.12", "node-forge": "1.3.1", "nord": "0.2.1", - "open": "8.4.2", @@ -178,8 +180,7 @@ - "proper-lockfile": "4.1.2", - "qrious": "4.0.2", "rxjs": "7.8.1", - "sweetalert2": "10.16.11", - "tldts": "6.0.5", + "tldts": "6.0.14", - "utf-8-validate": "5.0.10", "zone.js": "0.12.0", "zxcvbn": "4.4.2" @@ -196,7 +197,7 @@ "author": "", "license": "GPL-3.0", - "devDependencies": { -- "@napi-rs/cli": "2.16.1" +- "@napi-rs/cli": "2.16.2" - }, "napi": { "name": "desktop_native", diff --git a/system-libargon2.patch b/system-libargon2.patch index 7e429ab..9ef35f9 100644 --- a/system-libargon2.patch +++ b/system-libargon2.patch @@ -51,8 +51,8 @@ "configurations": { "Debug": { "conditions": [ ---- bitwarden/node_modules/argon2/argon2.cpp.old 2023-02-18 10:39:00.524876063 +0100 -+++ bitwarden/node_modules/argon2/argon2.cpp 2023-02-18 10:58:23.321982987 +0100 +--- bitwarden/node_modules/argon2/argon2_node.cpp.old 2023-02-18 10:39:00.524876063 +0100 ++++ bitwarden/node_modules/argon2/argon2_node.cpp 2023-02-18 10:58:23.321982987 +0100 @@ -1,5 +1,5 @@ -#include "argon2/include/argon2.h"