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
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
Thomas Rittson
d122bba3a9
OpaqueService -> OpaqueKeyExchangeService
2025-03-18 13:29:54 +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
Addison Beck
e8c4c570e9
fix: save indication of browser installation to storage ( #13743 )
2025-03-17 14:23:40 -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
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
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
Thomas Rittson
0c507f54f6
[PM-13323] Move remaining collection code to AC Team ( #13731 )
2025-03-13 17:18:47 -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
Shane Melton
4687120618
[PM-18946] Improve Vault loading experience ( #13714 )
...
* [PM-18946] Refactor loading$ in vault-v2. Update icon-component, and build-cipher-icon
2025-03-13 14:38:29 -04:00
Thomas Avery
81335978d8
[PM-17669] Move MasterPasswordService to KM ( #13148 )
...
* Move MasterPasswordService to KM
2025-03-13 13:29:27 -05:00
Daniel James Smith
26fb3220fe
Introduce export-attachments feature-flag ( #13827 )
...
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com >
2025-03-13 16:52:36 +00:00
Thomas Avery
7e96b7a9a6
[PM-17670] Move KeyConnectorService to KM ownership ( #13277 )
...
* Move KeyConnectorService to KM ownership
* Add to codecov
* Move key connector request models
2025-03-13 09:46:01 -05:00
Bernd Schoolmann
2c8754d7df
Fix swapped parameters
2025-03-13 14:11:19 +01:00
Bernd Schoolmann
71546055d3
Update apis
2025-03-13 13:32:48 +01:00
Alec Rippberger
942b80e5d2
refactor(auth): [PM-9724] remove LoginViaAuthRequestComponentV1 and related functionality
...
- Remove deprecated LoginViaAuthRequestComponentV1 component
- Clean up related ApiService functionality
- Remove orphaned translation messages
- Remove unused CSS styles
Jira PM-9724
2025-03-12 16:40:05 -05:00
Vincent Salucci
ae47c12b0e
chore: organize feature flags ( #13809 )
2025-03-12 15:34:04 -05:00
rr-bw
e268055dc1
feature(set-change-password): [Auth/PM-17648] Create MasterPasswordApiService ( #13552 )
...
Creates a MasterPasswordApiService to house our API calls related to setting and changing a master password.
2025-03-12 11:33:44 -07:00
Bernd Schoolmann
28079dfbac
Registration on change password
2025-03-12 15:21:48 +01:00
Bernd Schoolmann
83de125ae9
[PM-15149] Remove ssh feature flag ( #13506 )
...
* Remove ssh feature flag
* Remove isSshKeyENabled in type-filter.component
2025-03-12 14:19:49 +01:00
Bernd Schoolmann
41b2b816eb
Add request models and api service
2025-03-12 13:10:50 +01:00
Bernd Schoolmann
6872e8e715
Fix registration
2025-03-12 11:14:16 +01:00
Jason Ng
15fa3cf08d
[PM-10613] End User Notification Service ( #13721 )
...
* new end user notification service to retrieve and update notifications from API
2025-03-12 08:02:18 +01:00
Daniel Riera
b988993a88
PM-18963 removed flag and updated relevant tests ( #13767 )
2025-03-11 16:06:03 -04:00
Conner Turnbull
00e822fb13
[PM-16937] Remove Billing Circular Dependency ( #13085 )
...
* Remove circular dependency between billing services and components
* Removed `logService` from `billing-api.service.ts`
* Resolved failed test
* Removed @bitwarden/ui-common
* Added optional `title` parameter to `BillingNotificationService` functions
* Removed @bitwarden/platform from libs/common/tsconfig.json
* Update apps/web/src/app/billing/services/billing-notification.service.spec.ts
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com >
* Update apps/web/src/app/billing/services/billing-notification.service.spec.ts
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com >
* Resolved build errors
* Resolved issue where free trial banner wouldn't display if missing a payment method
---------
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com >
2025-03-11 13:43:19 -04:00
Bernd Schoolmann
09df264754
Add sdk integration
2025-03-11 16:41:11 +01:00
Daniel James Smith
6188013b9d
Introduce desktop-send-ui-refresh feature-flag ( #13787 )
...
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com >
2025-03-11 08:50:24 -05:00
Bernd Schoolmann
9683779dbf
[PM-17984] Remove AES128CBC-HMAC encryption ( #13304 )
...
* Remove AES128CBC-HMAC encryption
* Increase test coverage
2025-03-11 14:20:02 +01:00
Maciej Zieniuk
5cd47ac907
[PM-18243] Improve type safety in decryption ( #12885 )
...
* Improve decrypt failure logging
* Rename decryptcontext to decrypttrace
* Improve docs
* PM-16984: Improving type safety of decryption
* Improving type safety of decryption
---------
Co-authored-by: Bernd Schoolmann <mail@quexten.com >
2025-03-11 14:06:44 +01:00
Thomas Rittson
240ec973ac
tweak names
2025-03-11 13:48:04 +10:00
Thomas Rittson
05105ccc35
Draft implementation of Register with models
2025-03-11 13:36:50 +10:00
Thomas Rittson
1dd768e694
Stub out opaque services
2025-03-11 12:55:32 +10:00
rr-bw
0568a09212
refactor(device-trust-toasts): [Auth/PM-11225] Refactor Toasts from Auth Services ( #13665 )
...
Refactor toast calls out of auth services. Toasts are now triggered by an observable emission that gets picked up by an observable pipeline in a new `DeviceTrustToastService` (libs/angular). That observable pipeline is then subscribed by by consuming the `AppComponent` for each client.
2025-03-10 12:17:46 -07:00
Bernd Schoolmann
01f6fd7ee3
[PM-16227] Move import to sdk and enable it in browser/web ( #12479 )
...
* Move import to sdk and enable it in browser/web
* Add uncomitted files
* Update package lock
* Fix prettier formatting
* Fix build
* Rewrite import logic
* Update ssh import logic for cipher form component
* Fix build on browser
* Break early in retry logic
* Fix build
* Fix build
* Fix build errors
* Update paste icons and throw error on wrong import
* Fix tests
* Fix build for cli
* Undo change to jest config
* Undo change to feature flag enum
* Remove unneeded lifetime
* Fix browser build
* Refactor control flow
* Fix i18n key and improve import behavior
* Remove for loop limit
* Clean up tests
* Remove unused code
* Update libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts
Co-authored-by: SmithThe4th <gsmith@bitwarden.com >
* Move import logic to service and add tests
* Fix linting
* Remove erroneous includes
* Attempt to fix storybook
* Fix storybook, explicitly implement ssh-import-prompt service abstraction
* Fix eslint
* Update libs/importer/src/importers/bitwarden/bitwarden-json-importer.ts
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com >
* Fix services module
* Remove ssh import sdk init code
* Add tests for errors
* Fix import
* Fix import
* Fix pkcs8 encrypted key not parsing
* Fix import button showing on web
---------
Co-authored-by: SmithThe4th <gsmith@bitwarden.com >
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com >
2025-03-10 18:41:47 +01:00
Oscar Hinton
a569dd9ad6
[PM-15892] [PM-12250]Remove nord and remnants from solarizedark ( #13449 )
...
* Remove nord and remnants from solarizedark
* Update window reload color
* Remove extension-refresh feature flag from clients (#13450 )
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com >
* Remove usage of nord and solarized themes within DarkImageDirective
---------
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com >
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com >
2025-03-10 15:33:55 +01:00
Thomas Rittson
ef72f513b1
eslint: report unused disable directives ( #13463 )
...
Remove any unused disable directives and FIXMEs in our code
2025-03-10 09:33:08 -04:00
Ike
c739a884b4
[PM-15015] Adding Request Country Name to auth requests approval dialog ( #13718 )
...
* feat(pm-15015) :
- Adding `requestCountryName` to auth requests dialogs, and response models.
- Updated i18n messages.json in Web, Browser, and Desktop to include "Location" translation.
2025-03-07 18:03:13 -05:00
SmithThe4th
e327816bc4
[PM-11941] Migrate TOTP Generator to use SDK ( #12987 )
...
* Refactored totp service to use sdk
Fixed strict typescript issues
* Fixed dependency issues
* Returned object that contains code and period, removed get interval function
* removed dependencies
* Updated to use refactored totp service
* removed sdk service undefined check
* removed undefined as an input from the getCode function
* Made getcode$ an observable
* refactored to use getcodee$
* Filter out emmissions
* updated sdk version
* Fixed readability nit
* log error on overlay if totp response does not return a code
* fix(totpGeneration): [PM-11941] Totp countdown not working on clients
* Used optional chaining if totpresponse returns null or undefined
2025-03-06 14:01:07 -05:00
Jason Ng
f65daf7284
[PM-12045] search service activeuserstate ( #13035 )
...
* removing activeuserstate from search service
2025-03-06 12:26:24 -05:00