1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 13:40:06 +00:00
Commit Graph

17810 Commits

Author SHA1 Message Date
Bernd Schoolmann
c84be3eb22 Innovation/opaque grant validator (#13918)
* Add grant validator

* Fix 2fa

* Set active endpoint
2025-03-20 15:13:02 +01:00
Jared Snider
b6c2eb7d82 Rename CipherConfig to OpaqueCipherConfig per discussion (#13908)
* Rename CipherConfig to OpaqueCipherConfig per discussion

* Fix import
2025-03-19 17:42:13 -04:00
Bernd Schoolmann
9a4449b538 Fix unit conversion bug (#13896)
* Fix unit conversion bug

* Fix formatting

* Fix build
2025-03-19 14:36:32 +01:00
Thomas Rittson
6a2794f3cf Fix tests 2025-03-19 19:48:51 +10:00
Thomas Rittson
b70267e2f6 Merge branch 'main' into innovation/opaque 2025-03-19 18:59:58 +10:00
rr-bw
7c0af6c8fb fix(service): [Auth/PM-17648] Fix MasterPasswordApiService injection (#13886) 2025-03-18 14:41:43 -07:00
Jared Snider
641f4f9689 Fix password login strategy dependencies 2025-03-18 16:46:21 -04:00
Brandon Treston
69b2972e56 [PM-19244] add missing null check, fix feature flag logic, cleanup (#13850)
* add missing null check, fix feature flag logic, cleanup

* add null check
2025-03-18 16:42:02 -04:00
Jared Snider
4843038cbd Innovation/opaque registration integration into password strategy (#13884)
* WIP on registration and all todos

* Fix naming after merge

* Initial draft of register method

* Override processTokenResponse

* remove premature todo

* Password Login Strategy - (1) adjust comment (2) fix import

* ChangePassword - update logic to use default argon config

* Password Login Strategy - (1) Wire up saving MP to cache (2) Add null checking to registration

* DefaultOpaqueKeyExchangeSvc - (1) Update naming (2) Add null param error handling

---------

Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2025-03-18 16:19:14 -04:00
Vince Grassia
17a60d0226 Update Dockerfile (#13888) 2025-03-18 20:08:41 +00:00
Justin Baur
0cb77b24f6 Update @bitwarden/sdk-internal version (#13883)
* Update `@bitwarden/sdk-internal` version

* Update package-lock file
2025-03-18 14:51:32 -04:00
Jared Snider
407f1e9957 Merge branch 'main' into innovation/opaque 2025-03-18 14:37:20 -04:00
renovate[bot]
ac127c1512 [deps] Vault: Update https-proxy-agent to v7.0.6 (#12301)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-18 14:23:48 -04:00
Jordan Aasen
70cfd33d96 Revert "collapse collections initially" (#13845)
This reverts commit 2e90a6af12.
2025-03-18 09:18:20 -07:00
Jordan Aasen
30057fea33 [PM-18669] - Moving item to org in desktop app does not update until sync (#13754)
* refresh vault item list after sharing cipher

* refresh list after save

* fix vault sync issue

* update autofill a11y

* Revert "update autofill a11y"

This reverts commit 1a3aa0d0f0.
2025-03-18 09:03:03 -07:00
Jordan Aasen
514e2ca664 [PM-17673] - fix loading state for vault popup items service (#13711)
* fix loading state for vault popup items service

* fix tests

* add fallback in collectPageDetailsFromTab$

* add pageDetailsTimeout to autofill service
2025-03-18 08:51:11 -07:00
Thomas Rittson
fd5078a5b6 [PM-19273] [opaque] LoginStrategyService - refactor makeprepasswordloginmasterkey (#13877)
* Remove dead code from loginStrategyService

* Move makePrePasswordLoginMasterKey to base strategy
2025-03-18 08:40:06 -04:00
Thomas Rittson
d122bba3a9 OpaqueService -> OpaqueKeyExchangeService 2025-03-18 13:29:54 +10:00
Thomas Rittson
cb58927b1f Fix types in test 2025-03-18 12:38:22 +10:00
Thomas Rittson
34406dca75 Fix bug preventing password login 2025-03-18 12:37:15 +10:00
Thomas Rittson
8754d2f767 Merge remote-tracking branch 'origin/main' into innovation/opaque 2025-03-18 11:06:39 +10:00
Todd Martin
4537642003 chore(2fa recovery code): [PM-18175] Remove feature flag and old recovery flow 2025-03-17 16:22:25 -04:00
Daniel Riera
3f19b6a42b PM-19229 (#13848) 2025-03-17 15:54:45 -04:00
Addison Beck
e8c4c570e9 fix: save indication of browser installation to storage (#13743) 2025-03-17 14:23:40 -04:00
Jordan Aasen
8b4fab9737 [PM-13930] - add cancel button to multiple screens (#13705)
* add cancel button to multiple screens

* revert changes to view-v2

* remove unnecessary props

* add cancel button to blocked domains
2025-03-17 13:30:59 -04:00
Jared Snider
47a36eace0 OpaqueKeyExchange Feature flag added 2025-03-17 13:07:20 -04:00
Thomas Avery
a11536a424 [PM-17668] Move DeviceTrustService to KM ownership (#13194)
* move DeviceTrustService to KM ownership

* update codecov
2025-03-17 12:02:44 -05:00
Jared Snider
a56b0a1103 Merge remote-tracking branch 'origin/main' into innovation/opaque + merge conflict resolutions 2025-03-17 12:57:46 -04:00
Jared Snider
70d6337ec2 Innovation/OPAQUE - Add and cleanup some TODOs (#13873)
* LoginStrategyServiceAbstraction - add TODO to refactor makePrePasswordLoginMasterKey in future

* OpaqueLoginCredentials - add kdfConfig so we can derive master key for user verification scenarios.

* LoginStrategyService.logIn - add TODO

* OpaqueTokenRequest - add more docs

* CipherConfiguration - add todo for more docs

* DefaultOpaqueService - add todo

* OpaqueLoginStrategy - (1) Add docs (2) clean up todos (3) add todos
2025-03-17 12:54:36 -04:00
Brandon Treston
41e1d4e7bf fix showEdit bug (#13853) 2025-03-17 12:02:09 -04:00
Nick Krantz
55741984a7 open install extension in new tab (#13775) 2025-03-17 10:23:00 -05:00
Nick Krantz
14c6d97fd1 move windowMessageHandlers above event listeners to account for safari bug (#13773) 2025-03-17 10:20:00 -05:00
Jared Snider
a2ba965abd PM-19061 - Innovation Sprint - add OPAQUE Login Strategy (#13832)
* ChangePassword - add TODOs to clean up code

* LoginComp - Add TODOs for identifying the login strategy ahead of time.

* DefaultOpaqueService - Add TODOs

* PasswordLoginStrategy - add TODO for renaming

* WIP first draft of opaque login strategy

* Per discussion with platform, we don't need an abstraction for api services so clean that up.

* Extract pre-login method into own service from ApiService + move request model to auth

* LoginStrategyService - add todo for adding support for opaque login strategy

* PreLoginApiService - add renaming todo

* LoginComp + PasswordLoginCredentials - (1) Start integrating pre-login logic into login comp (2) update PasswordLoginCredentials to include kdfConfig to pass into login strat

* LoginStrategyServiceAbstraction - login - add OpaqueLoginCredentials

* CLI - add todos

* LoginComp - add TODO

* Add createKdfConfig factory function

* LoginStrategyService: switch out to more specific password strategy

* Fix type errors

* Add jsdoc

* Revert / remove TODOs and old draft work

* add missing dep

* PreLoginResponse - Adjust KM import

* PreLogin renamed to PrePasswordLogin

* Renames + some login strategy service test updates

* LoginComp - remove unused import

* KdfConfig - Rename validateKdfConfigForPrelogin to validateKdfConfigForPreLogin

* LoginStrategyService - (1) Rename makePreloginKey to makePrePasswordLoginMasterKey (2) Refactor makePrePasswordLoginMasterKey to accept an optional KdfConfig so we can keep the logic tested on the LoginStrategyService

* LoginStrategyService - add TODOs

* Fix non-sdk build errors

---------

Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2025-03-17 20:41:46 +10:00
Jordan Aasen
fdcb6ff7a2 remove bulk share dialog components and related modules and i18n keys (#13815) 2025-03-14 15:37:44 -07:00
Jordan Aasen
53a032ca65 [PM-17520][PM-17521][PM-17523][PM-17524][PM-17525] - migrate css classes (#13811)
* migrate css classes

* remove bulk share dialog components and related modules and i18n keys

* Revert "remove bulk share dialog components and related modules and i18n keys"

This reverts commit 40060b6011.
2025-03-14 15:36:55 -07:00
Daniel Riera
8abb74d598 PM-17963 added new functions and checks in order to make file type safe (#13792) 2025-03-14 16:01:15 -04:00
Ike
2d4ffe6eb6 Revert "[PM-19209] Update New device verification error" (#13843)
This reverts commit 31b1ee4f84.
2025-03-14 13:05:57 -04:00
Alex Morask
2ecfac40b7 [PM-18794] Allow provider payment method (#13825)
* Allow provider payment method

* Run prettier
2025-03-14 11:33:21 -04:00
Bernd Schoolmann
b2d949dd1c Update opaque login with password 2025-03-14 16:22:36 +01:00
Brandon Treston
4d68952ef3 [PM-18089] Update cipher permissions model and consumers (#13606)
* update cipher permissions model and consumers

* add new property to tests

* fix test, add property to toCipherData()

* add missing ConfigService

* fix story

* refactor

* fix error, cleanup

* revert refactor

* refactor

* remove uneeded test

* cleanup

* fix build error

* refactor

* clean up

* add tests

* move validation check to after featrue flagged logic

* iterate on feedback

* feedback
2025-03-14 09:51:40 -04:00
Bernd Schoolmann
3af12a2e15 Add auth demo 2025-03-14 14:17:17 +01:00
bw-ghapp[bot]
b73e6cf2fe Autosync the updated translations (#13834)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-14 09:32:13 +01:00
bw-ghapp[bot]
4a3061d3c2 Autosync the updated translations (#13835)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-14 09:24:19 +01:00
bw-ghapp[bot]
29d8c5a78f Autosync the updated translations (#13837)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-14 07:39:14 +01:00
Thomas Rittson
0c507f54f6 [PM-13323] Move remaining collection code to AC Team (#13731) 2025-03-13 17:18:47 -04:00
Jason Ng
45df8ff825 [PM-19025] update icon, add href for a11y nav (#13818) 2025-03-13 17:13:38 -04:00
bw-ghapp[bot]
8823d12d8a Autosync the updated translations (#13833)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-13 21:07:51 +00:00
Alec Rippberger
e9c7cd11a3 refactor(auth): [PM-9722] remove deprecated LoginDecryptionOptionsComponent
- Remove LoginDecryptionOptionsComponentV1
- Clean up orphaned translation messages
- Remove unused styles
- Clean up related dependencies

Closes PM-9722
2025-03-13 15:37:52 -05:00
Oleksandr Tkachenko
d0f337bf98 fix: truncate long links names in the vault filters (#12887)
Co-authored-by: cd-bitwarden <106776772+cd-bitwarden@users.noreply.github.com>

Merging to main for testing.
2025-03-13 15:20:57 -04:00
Ike
31b1ee4f84 [PM-19209] Update New device verification error
fix : updating error string for new device response from server to match comparison.
2025-03-13 14:48:16 -04:00