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

117 Commits

Author SHA1 Message Date
Bernd Schoolmann
204f911b01 Fix cargo toml 2025-09-04 21:57:38 +02:00
Bernd Schoolmann
950a2fa7bc Fix cargo toml 2025-09-04 21:56:03 +02:00
Bernd Schoolmann
f7d466d3f9 Fix merge conflict 2025-09-04 21:53:47 +02:00
Bernd Schoolmann
690c4701cc Fix linting 2025-09-04 21:48:08 +02:00
Bernd Schoolmann
ea1c3252e8 [BEEEP | PM-25358] Add process isolation on windows and mac desktop main process (#16156)
* Prevent memory dumping and debugger on windows and mac main process

* Fix clippy

* Only isolate process when isdev is false

* Clean up

* Add backticks around link
2025-09-04 21:40:25 +02:00
Bernd Schoolmann
1ae7c30047 Add feature flag and re-add old impl 2025-09-04 21:05:49 +02:00
Bernd Schoolmann
258ba516c9 Invert setting 2025-09-01 17:59:10 +02:00
Bernd Schoolmann
6181b6b7e2 Fix imports 2025-08-29 19:53:49 +02:00
Bernd Schoolmann
6aa73baa05 Replace magic numbers 2025-08-29 19:09:36 +02:00
Bernd Schoolmann
e3e21b94b4 Cargo fmt 2025-08-29 15:29:50 +02:00
Bernd Schoolmann
22a8f12f38 Fix clippy issues 2025-08-29 15:29:35 +02:00
Bernd Schoolmann
82efdee1b3 Run cargo fmt 2025-08-29 15:21:08 +02:00
Bernd Schoolmann
e53665bc69 Sort deps 2025-08-29 15:08:36 +02:00
Bernd Schoolmann
aed64a15d2 Merge main 2025-08-29 15:06:37 +02:00
Bernd Schoolmann
f4d1c33f5a Fix cargo toml 2025-08-29 14:55:11 +02:00
Bernd Schoolmann
9f51f85b10 Clean up linux implementation 2025-08-29 14:52:17 +02:00
Bernd Schoolmann
418f924abe Cleanup 2025-08-29 14:39:39 +02:00
Bernd Schoolmann
1ee71f1aa1 Update tests 2025-08-29 14:33:22 +02:00
Bernd Schoolmann
fb04da5cd7 Add tests for DPAPI 2025-08-29 14:31:59 +02:00
Oscar Hinton
97ee61db00 Configure clippy (#16194)
Apply the same clippy configuration as we have in sdk-internal. bitwarden/sdk-internal@49f84e6/Cargo.toml#L91-L94

Adds FIXME comments to all existing violations. unwrap is bad as those will resullt in panics and crash the application. Unused async is ignored in napi since that would require changes to the js side which I don't want to deal with.
2025-08-29 08:27:50 -04:00
Bernd Schoolmann
d7bf6a2eb8 Cargo fmt 2025-08-29 14:26:42 +02:00
Bernd Schoolmann
99df506d23 Cleanup and add docs 2025-08-29 14:24:26 +02:00
Bernd Schoolmann
14229a2a4e Add tests and clean up 2025-08-29 13:55:08 +02:00
Bernd Schoolmann
602b5a01e4 Run cargo fmt 2025-08-29 13:10:03 +02:00
Bernd Schoolmann
b8c2553624 Fix focusing behavior 2025-08-29 13:00:40 +02:00
Bernd Schoolmann
a2ae42a381 Clean up rust 2025-08-29 12:34:43 +02:00
Bernd Schoolmann
9d10a68bc5 Cargo fmt 2025-08-28 14:18:10 +02:00
Bernd Schoolmann
cbe628c55b Clippy 2025-08-28 14:15:54 +02:00
Bernd Schoolmann
08e0e68a52 Fix clippy warns 2025-08-28 14:09:29 +02:00
Bernd Schoolmann
3a21730349 Fix default warn 2025-08-28 13:57:28 +02:00
Bernd Schoolmann
07de448f83 Cleanup 2025-08-28 13:52:56 +02:00
Bernd Schoolmann
93a5020a63 Fix linux 2025-08-28 13:38:32 +02:00
Bernd Schoolmann
434281fea9 Fix build on mac 2025-08-28 13:35:56 +02:00
Bernd Schoolmann
373163c067 Fix build issue 2025-08-28 13:28:22 +02:00
Bernd Schoolmann
b4f1a04423 Cargo fmt 2025-08-28 13:26:51 +02:00
Bernd Schoolmann
23eef2d250 Remove old biometrics 2025-08-28 13:25:42 +02:00
Bernd Schoolmann
e8e7e6781a Cleanup 2025-08-28 13:08:19 +02:00
Bernd Schoolmann
537c51c962 Cleanup 2025-08-28 08:39:02 +02:00
Bernd Schoolmann
1d951b1e95 Turn on v2 linux 2025-08-28 05:24:53 +02:00
Bernd Schoolmann
b478e8eb5e Linux support 2025-08-28 04:57:24 +02:00
Bernd Schoolmann
77d17a7ed8 Tmp 2025-08-28 04:32:39 +02: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
8250e40c6c [PM-22271] Switch to SDK argon2 implementation, and drop other impls (#15401)
* Switch to SDK argon2 implementation

* Cleanup and update to the latest sdk

* Update package lock

* Remove copy patch

* Fix builds

* Fix test build

* Remove error

* Fix tests

* Fix build

* Run prettier

* Remove argon2 references

* Regenerate index.d.ts for desktop_native napi

* Replace mocked crypto function service type
2025-07-15 11:53:58 +02:00
Daniel García
318040233c [PM-23159] Update arboard and enable exclude from history on Linux (#15393) 2025-07-10 19:17:13 +02:00
Bernd Schoolmann
e7d5cde105 [BEEEP/PM-22958] Update russh version, and add sessionbind information (#14602)
* Update russh version, and add sessionbind information

* Cargo fmt

* Clean up to fix lint

* Attempt to fix windows

* Use expect instead of unwrap

* Fix cargo toml
2025-07-09 16:52:47 +02:00
Daniel García
616ac9a3c8 Fix Clippy 1.88 warnings (#15396)
* Fix Clippy 1.88 warnings

* Fmt
2025-07-01 22:36:18 +02:00
Maciej Zieniuk
8fec95671d [PM-22090] Delete password on Windows desktop throws incorrect error (#15070)
* delete password on Windows desktop throws incorrect error

* delete password on Windows desktop throws incorrect error

* napi documentation improvements

* napi documentation update

* better logging verbosity

* desktop native clippy errors

* unit test coverage

* napi TS documentation JS language friendly

* fixing merge conflicts
2025-06-30 12:38:51 +02:00
Bernd Schoolmann
c7dcc32ea7 Remove test keys (#15205) 2025-06-16 14:43:11 +02:00
renovate[bot]
41830ae334 [deps] Platform: Update zbus to v5 (major) (#12312)
* [deps] Platform: Update zbus to v5

* adjust for api changes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: addisonbeck <github@addisonbeck.com>
2025-06-11 15:45:07 -04:00
Bernd Schoolmann
04ed114e0e [BEEEP/PM-8492] Add autostart for flatpak (#12016)
* Add autostart for flatpak via ashpd

* Fix clippy errors

* Cargo fmt

* Fix clippy
2025-05-26 00:30:52 +02:00