1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-06 19:53:59 +00:00
Commit Graph

18865 Commits

Author SHA1 Message Date
Bernd Schoolmann
3063f625f6 Merge branch 'km/tmp-move-auth-1' into km/auth-move-initial-password 2025-07-23 21:32:41 +02:00
Bernd Schoolmann
0f5a9d2c5c Merge branch 'km/new-mp-service-api' into km/tmp-move-auth-1 2025-07-23 21:31:06 +02:00
Bernd Schoolmann
56a669a887 Clean up 2025-07-23 21:26:35 +02:00
Bernd Schoolmann
04e0250642 Prettier 2025-07-23 21:19:52 +02:00
Bernd Schoolmann
df7a6ea441 Fix formatting 2025-07-23 20:58:43 +02:00
Bernd Schoolmann
a82fad1073 Cleanup and deprecate more functions 2025-07-23 20:56:46 +02:00
Bernd Schoolmann
adfa3a946e Migrate set initial password component to new API 2025-07-23 19:00:15 +02:00
Bernd Schoolmann
9651196d79 Fix builds 2025-07-23 15:23:28 +02:00
Bernd Schoolmann
c68de16c88 Merge branch 'km/new-mp-service-api' into km/tmp-move-auth-1 2025-07-23 15:19:54 +02:00
Bernd Schoolmann
e158225a9d Add tests for null params 2025-07-23 15:18:04 +02:00
Bernd Schoolmann
b38be527c9 Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-07-23 15:10:30 +02:00
Bernd Schoolmann
4048a6b89b Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-07-23 15:10:19 +02:00
Bernd Schoolmann
d237a55caf Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-07-23 15:10:09 +02:00
Bernd Schoolmann
9bb402f172 Deprecate encryptUserKeyWithMasterKey 2025-07-23 14:58:01 +02:00
Bernd Schoolmann
e95070ccdc Implement KDF change service 2025-07-23 14:56:24 +02:00
Bernd Schoolmann
9e5285fcf1 Merge branch 'main' into km/new-mp-service-api 2025-07-22 15:09:47 +02:00
Bernd Schoolmann
29f87f2b95 Fix build on browser 2025-07-22 14:32:44 +02:00
Bernd Schoolmann
c4af80ac21 Fix build 2025-07-22 13:50:13 +02:00
Bernd Schoolmann
a8105af829 Cleanup 2025-07-22 13:41:38 +02:00
Bernd Schoolmann
031a689667 Add arg null check 2025-07-22 13:36:30 +02:00
Bernd Schoolmann
8729f313ed Fix build 2025-07-22 13:09:20 +02:00
Bernd Schoolmann
481910b823 Fix breaking sdk change and update to 231 (#15617) 2025-07-22 13:03:04 +02:00
Bernd Schoolmann
d386c0f66a Merge branch 'km/new-mp-service-api' of github.com:bitwarden/clients into km/new-mp-service-api 2025-07-22 13:02:08 +02:00
Bernd Schoolmann
37bdf652c3 Add comments 2025-07-22 13:01:46 +02:00
Bernd Schoolmann
6ac261b647 Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-07-22 12:54:40 +02:00
Bernd Schoolmann
915e5f11e8 Update libs/common/src/key-management/master-password/types/master-password.types.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-07-22 12:54:26 +02:00
Bernd Schoolmann
530c835a3d Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-07-22 12:51:08 +02:00
Bernd Schoolmann
be697ada34 Update libs/common/src/key-management/master-password/services/master-password.service.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-07-22 12:49:37 +02:00
Bernd Schoolmann
9de08adf55 Update libs/common/src/key-management/master-password/types/master-password.types.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-07-22 12:48:51 +02:00
Bernd Schoolmann
9c8654b364 Cleanup 2025-07-22 12:48:24 +02:00
Bernd Schoolmann
b54944da41 Deprecate encstring's decrypt function (#15703) 2025-07-22 12:35:55 +02:00
Shane Melton
391f540d1f [PM-22136] Implement SDK cipher encryption (#15337)
* [PM-22136] Update sdk cipher view map to support uknown uuid type

* [PM-22136] Add key to CipherView for copying to SdkCipherView for encryption

* [PM-22136] Add fromSdk* helpers to Cipher domain objects

* [PM-22136] Add toSdk* helpers to Cipher View objects

* [PM-22136] Add encrypt() to cipher encryption service

* [PM-22136] Add feature flag

* [PM-22136] Use new SDK encrypt method when feature flag is enabled

* [PM-22136] Filter out null/empty URIs

* [PM-22136] Change default value for cipher view arrays to []. See ADR-0014.

* [PM-22136] Keep encrypted key value on attachment so that it is passed to the SDK

* [PM-22136] Keep encrypted key value on CipherView so that it is passed to the SDK during encryption

* [PM-22136] Update failing attachment test

* [PM-22136] Update failing importer tests due to new default value for arrays

* [PM-22136] Update CipherView.fromJson to handle the prototype of EncString for the cipher key

* [PM-22136] Add tickets for followup work

* [PM-22136] Use new set_fido2_credentials SDK method instead

* [PM-22136] Fix missing prototype when decrypting Fido2Credentials

* [PM-22136] Fix test after sdk change

* [PM-22136] Update @bitwarden/sdk-internal version

* [PM-22136] Fix some strict typing errors

* [PM-23348] Migrate move cipher to org to SDK (#15567)

* [PM-23348] Add moveToOrganization method to cipher-encryption.service.ts

* [PM-23348] Use cipherEncryptionService.moveToOrganization in cipherService shareWithServer and shareManyWithServer methods

* [PM-23348] Update cipherFormService to use the shareWithServer() method instead of encrypt()

* [PM-23348] Fix typo

* [PM-23348] Add missing docs

* [PM-22136] Fix EncString import after merge with main
2025-07-21 23:27:01 -07:00
Andy Pixley
81ee26733e [BRE-831] Fixing permissions (#15713) 2025-07-21 20:17:39 +00:00
Robyn MacCallum
77940116e6 DDG integration files modified workflow (#15665)
* Create alert-ddg-files-modified.yml

* Update alert-ddg-files-modified.yml

* Add encrypted-message-handler.service to alert-ddg-files-modified.yml

* Pin action versions

* Add permissions

* Update alert-ddg-files-modified.yml

* Update alert-ddg-files-modified.yml

* Add parameter to get list of files changed

* Wording update

* Update CODEOWNERS

* Make branch target main
2025-07-21 16:15:39 -04:00
Alex Morask
1f20bcecf0 Hide bank account for premium and when non-premium selects non-US country (#15707) 2025-07-21 15:06:02 -05:00
Andy Pixley
83f9061474 [BRE-831] migrate secrets akv (#15158) 2025-07-21 15:54:28 -04:00
Vijay Oommen
b33bdd60ae [PM-23758] Api method to save and retrieve report summary (#15705) 2025-07-21 13:45:48 -05:00
Bryan Cunningham
8365efb473 remove absolute positioning of radio indicator (#15623) 2025-07-21 14:04:21 -04:00
Maciej Zieniuk
167fa9a7ab [PM-18054] Chrome extension biometric unlock not functioning correctly with Windows Hello. (#14953)
* Chrome extension biometric unlock not functioning correctly with Windows Hello.

When unlocking via Windows Hello prompt, the popup have to be in the foreground. If it is not, even for short amount of time (few seconds), if later prompt confirmed, it won't return success when returning signed os key half.

* unit test coverage

* unit test coverage

* exclude test files from build

* use electron `setAlwaysOnTop` instead of toggle

* remove Windows os key half created with derive_key_material biometric function, that prompted Windows Hello.

Moves Windows hello prompt into getBiometricKey.
Witness key no longer needed.

* windows crate formatting

* remove biometric on app start for windows

* failing os biometrics windows unit tests

* cleanup of os biometrics windows unit tests

* increased coverage of os biometrics windows unit tests

* open Windows Hello prompt in the currently focused window, instead of always desktop app

* conflict resolution after merge, typescript lint issues, increased test coverage.

* backwards compatibility when require password on start was disabled

* biometric unlock cancellation and error handling

* biometric settings simplifications
2025-07-21 19:35:31 +02:00
Bernd Schoolmann
8b5e6adc37 [PM-21378] Switch encrypt service to use SDK functions (#14538)
* Add new encrypt service functions

* Undo changes

* Cleanup

* Fix build

* Fix comments

* Switch encrypt service to use SDK functions

* Move remaining functions to PureCrypto

* Tests

* Increase test coverage

* Enforce sdk.ready and drop unused codepaths

* Delete unused code

* Add forgotten sdk init logic

* Fix build error

* Fix browser extension failing to unlock after process reload due to outdated usage of decryptString

* Fix send encryption

* Fix client key half decryption being stuck

* Attempt to fix sharereplay

* Fix build

* Fix type / add filter / add distinctuntilchange

* Fix capitalization
2025-07-21 15:52:38 +02:00
Vincent Salucci
8dc97ca1a7 [PM-20128] Update Claimed Domains description (#15630)
* chore: update claimed domain description width, refs PM-20128

* chore: add new message key, delete old message, update reference to new key, refs PM-20128

* chore: change width to max width for claimed domains description, refs PM-20128
2025-07-20 19:53:10 -04:00
bw-ghapp[bot]
462287223a Autosync the updated translations (#15691)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-07-19 21:50:09 +02:00
bw-ghapp[bot]
36e59c2e3b Autosync the updated translations (#15692)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-07-19 21:43:48 +02:00
bw-ghapp[bot]
2cb2dc177e Autosync the updated translations (#15690)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-07-19 21:40:00 +02:00
bw-ghapp[bot]
80a6268e81 Autosync the updated translations (#15673)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-07-19 19:45:28 +02:00
bw-ghapp[bot]
ab9bbc8df8 Autosync the updated translations (#15671)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-07-19 19:26:00 +02:00
bw-ghapp[bot]
cdc811daf8 Autosync the updated translations (#15672)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-07-19 16:42:12 +02:00
Jordan Aasen
436b3567dc [PM-23478] - Can view org's cards in AC (#15669)
* properly filter restricted item types in AC

* fix storybook
2025-07-18 15:08:21 -07:00
SmithThe4th
367f7a108c Exclude Linked field type for ssh keys (#15662) 2025-07-18 14:09:19 -04:00
Vicki League
5b1ddc9122 [CL-793] Exclude checkbox component from desktop global css (#15675) 2025-07-18 11:47:51 -04:00