John Harrington
abf8991a90
remove unused dep
2025-11-21 12:57:15 -07:00
John Harrington
f14a6f4501
fix another clippy warning
2025-11-21 09:16:16 -07:00
John Harrington
46d24d33d9
cargo clippy
2025-11-21 08:56:20 -07:00
John Harrington
be9452530d
pass args directly in objc/build.rs
2025-11-21 08:40:37 -07:00
John Harrington
60eb309fba
avoid unwrap
2025-11-21 08:32:37 -07:00
John Harrington
61ace267f0
cargo fmt
2025-11-21 08:19:50 -07:00
John Harrington
f55e6992da
add dep to desktop_native cargo.toml
2025-11-21 08:14:51 -07:00
John Harrington
5fc55c86a0
Merge branch 'PM-26250-Explore-options-to-enable-direct-importer-for-mac-app-store-build' of github.com:bitwarden/clients into PM-26250-Explore-options-to-enable-direct-importer-for-mac-app-store-build
...
merge conflict resolution
2025-11-21 08:13:34 -07:00
John Harrington
4be25d9290
remove additional debug output and revert popup-modal-style to match main
2025-11-21 08:12:34 -07:00
John Harrington
245171e999
Merge branch 'main' into PM-26250-Explore-options-to-enable-direct-importer-for-mac-app-store-build
2025-11-21 08:10:27 -07:00
John Harrington
83c01ba9bf
added docs and removed debug output
2025-11-21 07:56:10 -07:00
renovate[bot]
e9f67f4fd6
[deps]: Update Rust crate cc to v1.2.46 ( #17571 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com >
2025-11-21 13:57:31 +01:00
renovate[bot]
87e49c174c
[deps] Platform: Update Rust crate libc to v0.2.177 ( #17549 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com >
2025-11-21 13:56:54 +01:00
renovate[bot]
f6eb0f642e
[deps]: Update Rust crate clap to v4.5.51 ( #17572 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-21 11:52:51 +01:00
renovate[bot]
678e5193ca
[deps]: Update Rust crate async-trait to v0.1.89 ( #17570 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-21 11:32:36 +01:00
John Harrington
18064efc4f
add/improve comments and logging
2025-11-20 09:51:49 -07:00
John Harrington
61b26241ad
move sandbox code into macos.rs
2025-11-20 09:09:11 -07:00
John Harrington
aa42630410
chromium importer working in sandbox
2025-11-19 15:22:23 -07:00
neuronull
db16c201b8
Align Desktop Native's Rust CI checks with SDK ( #17261 )
...
* clean crate deps
* update lint workflow
* add rustfmt.toml
* apply rust fmt
* missed one
* fix lint of lint lol
* more deps platform fixes
* fix macos_provider
* some more deps clean
* more cleanup
* add --all-targets
* remove another unused dep
* generate index.d.ts
* fix whitespace
* fix split comment in biometric
* formatting comment in biometric_v2
* apply fmt
2025-11-19 15:07:57 +00:00
John Harrington
f40233fce4
initial sandbox implementation for mac app store builds
2025-11-18 16:20:12 -07:00
aj-bw
413a024e61
removal of freebsd build, upload, release and other references ( #17354 )
2025-11-17 16:33:12 -05:00
neuronull
a2abbd09bf
Desktop Native compile debug builds with debug log level ( #17357 )
...
* Desktop Native compile debug builds with debug log level
* typo in code comment
2025-11-17 09:14:50 -07:00
Daniel James Smith
9586057a32
[PM-26162] [Chromium importer] Add fallback name in case empty when loading browser profiles ( #16664 )
...
* Added a fallback to use a browser profile folder-name in case the name of the profile is empty
2025-11-13 13:14:45 -07:00
renovate[bot]
9c2da604b1
[deps] Platform: Update Rust crate typenum to v1.19.0 ( #16845 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com >
2025-11-13 18:37:18 +01:00
Oscar Hinton
ed53ef19d9
[PM-27897] Fix release before use in chromium importer ( #17276 )
...
We ran into some weird issues where the memory was corrupted on certain architectures. It turns out we free'd memory before using it.
This ensures we make a copy of the data before freeing it, and extracts a common function for both crates to use.
2025-11-10 14:15:15 +01:00
Oscar Hinton
29e4085986
[PM-27646] Prevent enabling logging and disabling signature ( #17253 )
...
This ensures we won't accidentally ship prod binaries that either have logging enabled or disable signature validation.
2025-11-06 17:06:59 +01:00
Oscar Hinton
78d1eb9bed
Replace dbg_log with tracing::debug ( #17251 )
...
We already configure tracing to only be enabled in debug so there is no need to wrap it with a macro
2025-11-06 15:48:19 +01:00
Dmitry Yakimenko
5c2215401c
[PM-27786] Chrome application bound encryption v3 support ( #17205 )
...
* Update cargo.lock on windows
* Move ABE key decoding to helper.exe
* Safe slice operations (no panics)
* Refactor CNG code a bit
* Refactor CNG code a bit more
* Update README to match the new flow
* DRY up v1 and v2 decryption
* Remove all the crates and windows features that are not needed
* helper.exe split into a bunch of files
* Refator mod windows
* Minor cleanup
---------
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com >
2025-11-06 10:20:23 +01:00
neuronull
9803cc98b4
Desktop Native remove log deps ( #17135 )
2025-11-04 07:35:34 -07:00
neuronull
2b1dbb935f
Desktop native disallow log crate macros ( #17163 )
2025-11-03 07:36:40 -07:00
Oscar Hinton
8c185c9d2b
[PM-27645] Check signature of helper exe ( #17155 )
2025-10-31 16:50:13 +01:00
Oscar Hinton
443b85a356
[PM-27641] Enable signature validation ( #17150 )
...
Enables the currently disabled signature validation. This is a blocker for release.
2025-10-31 16:13:41 +01:00
Oscar Hinton
4c1eba2086
[PM-27583] Add icon to chromium import helper ( #17126 )
...
Adds an icon to the windows binary.
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com >
2025-10-31 10:10:22 +01:00
Andreas Coroiu
8aebfbeace
[PM-25932] Shorten socket paths ( #17093 )
...
* feat: shorten socket paths
* fix: No such file or directory error
* feat: remove tmp folder from path
* fix: No such file or directory autofill error
2025-10-31 08:15:04 +01:00
Dmitry Yakimenko
dcf8c1d83b
[PM-25855][PM-24948][PM-24947] Chromium import functionality with application bound encryption on Windows ( #16429 )
...
Adds application bound encryption in order to support chrome imports on windows.
---------
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com >
Co-authored-by: adudek-bw <adudek@bitwarden.com >
Co-authored-by: Hinton <hinton@users.noreply.github.com >
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com >
2025-10-30 13:18:30 +01:00
Bernd Schoolmann
b1738cc6b2
[PM-26340] Add linux biometrics v2 ( #16660 )
...
* Extract windows biometrics v2 changes
Co-authored-by: Bernd Schoolmann <mail@quexten.com >
* Address some code review feedback
* cargo fmt
* rely on zeroizing allocator
* Handle TDE edge cases
* Update windows default
* Make windows rust code async and fix restoring focus freezes
* fix formatting
* cleanup native logging
* Add unit test coverage
* Add missing logic to edge case for PIN disable.
* Address code review feedback
* fix test
* code review changes
* fix clippy warning
* Swap to unimplemented on each method
* Implement encrypted memory store
* Make dpapi secure key container pub(super)
* Add linux biometrics v2
* Run cargo fmt
* Fix cargo lock
* Undo AC changes
* Undo change
* Fix build
* Cargo fmt
---------
Co-authored-by: Thomas Avery <tavery@bitwarden.com >
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
2025-10-29 15:51:50 +01:00
Daniel James Smith
8eef78960d
[PM-27358] Remove unused getInstalledBrowsers method ( #17019 )
...
* Remove unused getInstalledBrowsers metthod
* Run cargo fmt
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com >
2025-10-28 11:13:58 +01:00
Oscar Hinton
42377a1533
[PM-27341] Chrome importer refactors ( #16720 )
...
Various refactors to the chrome importer
2025-10-27 17:24:50 +01:00
neuronull
9d849d2234
Convert log crate Records to tracing Events for desktop native. ( #16827 )
...
* Convert `log` crate Records to `tracing` Events for desktop native.
* sort deps
* use the feature on tracing_subscriber
2025-10-27 07:39:40 -06:00
renovate[bot]
e8db35907d
[deps] Platform: Update Rust crate windows-registry to v0.6.1 ( #16419 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-27 10:59:16 +01:00
neuronull
2c13236550
Add desktop autotype unittests for windows ( #16710 )
...
* Add desktop autotype unittests for windows
* lint
* fix TODO comment
* feedback coltonhurst: rename trait
2025-10-23 12:42:48 -04:00
Bernd Schoolmann
7f86f2d0ac
[PM-26340] Implement encrypted memory store ( #16659 )
...
* Extract windows biometrics v2 changes
Co-authored-by: Bernd Schoolmann <mail@quexten.com >
* Address some code review feedback
* cargo fmt
* rely on zeroizing allocator
* Handle TDE edge cases
* Update windows default
* Make windows rust code async and fix restoring focus freezes
* fix formatting
* cleanup native logging
* Add unit test coverage
* Add missing logic to edge case for PIN disable.
* Address code review feedback
* fix test
* code review changes
* fix clippy warning
* Swap to unimplemented on each method
* Implement encrypted memory store
* Make dpapi secure key container pub(super)
* Add comments on sync and send
* Clean up comments
* Clean up
* Fix build
* Add logging and update codeowners
* Run cargo fmt
* Clean up doc
* fix unit tests
* Update apps/desktop/desktop_native/core/src/secure_memory/secure_key/mod.rs
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Handle tampering with re-key and log
* Add docs
* Fix windows build
* Prevent rust flycheck log from being commited to git
* Undo feature flag change
* Add env var override and docs
* Add deps to km owership
---------
Co-authored-by: Thomas Avery <tavery@bitwarden.com >
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
2025-10-23 14:04:25 +02:00
neuronull
4c347d09ac
Fix biometric v2 windows unit test clippy lint ( #16961 )
2025-10-21 08:22:09 -06:00
neuronull
8370f43aae
[BEEEP] Add println clippy lints for desktop_native. ( #16761 )
...
* [BEEEP] Add println clippy lints for `desktop_native`.
* remaining stray printlns
2025-10-21 07:38:39 -06:00
Daniel James Smith
bbfdb60c34
[PM-26731] Add feature flag for chromium importers with ABE ( #16926 )
...
* Add missing browser to SUPPORTED_BROWSERS in windows.rs
These were previously removed due to needing ABE support
* Add feature flag for chromium importer with ABE
* Fix tests for windows
* Run cargo fmt
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com >
2025-10-21 10:10:47 +02:00
Thomas Avery
f65e5d52c2
[PM-25373] Windows native biometric rewrite ( #16432 )
...
* Extract windows biometrics v2 changes
Co-authored-by: Bernd Schoolmann <mail@quexten.com >
* Handle TDE edge cases
* Make windows rust code async and fix restoring focus freezes
* Add unit test coverage
---------
Co-authored-by: Bernd Schoolmann <mail@quexten.com >
2025-10-20 14:47:15 -05:00
neuronull
70274705fb
Add a cargo deny configuration for desktop_native ( #16765 )
2025-10-20 09:03:53 -06:00
neuronull
f5105621c4
Small refactors to ssh agent server ( #16391 )
...
* Small refactors to ssh agent server
* cleanup
* feeback quexten: fix spelling typo
2025-10-20 08:34:28 -06:00
neuronull
44ce303181
[BEEEP] Use tracing in macOS provider ( #16729 )
...
* [BEEEP] Use tracing in macOS provider
* set log level filter to INFO
* only call global subscribe once
2025-10-20 08:20:15 -06:00
neuronull
9c0aaf3cab
[BEEEP] Use tracing in desktop_proxy ( #16758 )
2025-10-17 11:36:30 -06:00