neuronull
81adf155ee
SSH Agent v2: server framework ( #19119 )
...
Adds the basic framework for handling new client connections in the server.
Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2026-03-19 07:48:50 -06:00
Tyler
9831e8a27a
BRE-1724 feat(chromium_importer): update certificate sha256 thumbprint ( #19641 )
2026-03-18 17:13:05 -04:00
neuronull
ebbd9ed0ba
SSH Agent v2: define napi-agent-server interface ( #18880 )
...
Building upon the prior SSH agent v2 commits, this PR introduces the high level interfaces between the napi layer, the agent, and the underlying server.
Two traits are defined to act as abstraction layers:
AuthPolicy allows the underlying server to externally request authorization to complete the various ssh operation requests it receives. The implementation of this in the BitwardenSshAgent is effectively the agent's business logic, and has unit tests accordingly.
ApprovalRequester allows the agent to externally request approval for those authorization requests.
These interfaces allow better unit test-ability and integration test-ability, and additionally are context-independent from each other; meaning the ssh agent server doesn't know about vault items, or that there is an electron app at all. Similarly, the agent knows it needs to request approval, but it doesn't have to be from an Electron app.
Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2026-03-17 08:38:40 -06:00
renovate[bot]
883841feef
[deps]: Pin Rust crate rkyv to v0.8.14 ( #19579 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-16 08:13:53 -06:00
renovate[bot]
ad1d99c359
[deps]: Update @napi-rs/cli to v3.5.1 ( #18433 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-13 11:02:38 -04:00
renovate[bot]
f3b4da0590
[deps] Platform: Update Rust crate sysinfo to v0.38.2 ( #18882 )
...
* [deps] Platform: Update Rust crate sysinfo to v0.38.2
* Add Wdk feature
* Use Wdk_System_SystemServices instead
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2026-03-10 11:43:17 +01:00
neuronull
918dfd8ac3
[BEEEP] Desktop Native simpler napi errors ( #18824 )
2026-03-09 10:30:20 -06:00
renovate[bot]
8125954c04
[deps]: Update Rust crate serial_test to v3.4.0 ( #19315 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: neuronull <9162534+neuronull@users.noreply.github.com>
2026-03-04 10:25:03 -07:00
neuronull
23da514cce
Desktop Native: Add missing docs lint for _some_ modules in core ( #18983 )
...
Adds the clippy lint for docs warning to core to align with our contributing docs guidelines.
2026-03-04 09:21:02 -07:00
Isaiah Inuwa
d0ca8f7b0a
Split NAPI modules [PM-31598] ( #19113 )
...
NAPI modules are all in one file. We use nested modules to define types within TypeScript namespaces, and NAPI requires nested modules to be inline due to rust proc-macro limitations.
However, we can still split these into multiple files and repeat the nested module name for the namespace.
This will improve the ability to set code ownership and navigate the data.
This PR splits the NAPI module files without further modification and assigns code ownership to @bitwarden/team-autofill-desktop-dev for the autofill, autotype and sshagent modules. I verified locally that the generated index.d.ts file does not change at all with this PR; all types are generated exactly the same.
2026-03-04 07:27:39 -06:00
renovate[bot]
5b35973944
[deps]: Update Rust crate rusqlite to v0.38.0 ( #18202 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Dragovich <46065570+itsadrago@users.noreply.github.com>
2026-03-03 17:12:10 -08:00
neuronull
7b44917b27
SSH Agent v2: In-memory encrypted key store ( #18596 )
...
Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2026-03-02 08:33:33 -07:00
Sola
2e284c5e5a
Fix biometric authentication in sandboxed environments (Flatpak, Snap, etc.) ( #18625 )
...
Biometric authentication was failing in Flatpak with the error "Unix process
subject does not have uid set". This occurred because polkit could not validate
the sandboxed PID against the host PID namespace.
Use polkit's system-bus-name subject type instead of unix-process. This allows
polkit to query D-Bus for the connection owner's host PID and credentials,
bypassing the PID namespace issue. Includes fallback to unix-process for edge
cases where D-Bus unique name is unavailable.
2026-02-23 09:50:13 +01:00
Isaiah Inuwa
cae1ae6491
Revert "Split NAPI modules [PM-31598] ( #18722 )" ( #19112 )
...
This reverts commit fd90efabe4 .
2026-02-20 13:45:30 -06:00
neuronull
34108d93e4
SSH Agent v2: Add ssh key primitive types ( #18583 )
...
Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2026-02-04 14:01:18 -07:00
neuronull
e5c9f9398d
Enhancements to EncryptedMemoryStore ( #18484 )
2026-02-03 15:04:18 -07:00
neuronull
11e6b434e3
Fix bytes crate vuln RUSTSEC-2026-0007 ( #18737 )
2026-02-03 09:59:55 -07:00
Isaiah Inuwa
fd90efabe4
Split NAPI modules [PM-31598] ( #18722 )
2026-02-02 14:13:17 -05:00
Bernd Schoolmann
590bec2166
Fix rsa signing and add unit tests ( #18702 )
...
* Fix rsa signing and add unit tests
* Fix sorting
* Fix sorting
2026-02-02 14:35:49 +01:00
Bernd Schoolmann
b5c3735808
Revert "[deps] KM: Update Rust crate rsa to v0.9.10 [SECURITY] ( #18220 )" ( #18693 )
...
This reverts commit bea6fb26f8 .
2026-02-01 16:06:10 +01:00
Colton Hurst
6d1693050c
Autofill Provider Readme Update ( #18624 )
...
* Update the autofill provider readme
* Update casing based on pr suggestion
2026-01-29 08:39:45 -05:00
Isaiah Inuwa
e94a8ee5a3
Add generic autofill provider library [PM-29786] ( #18075 )
...
* Rename macos_provider to autofill_provider
* Add autofill IPC client methods needed for Windows IPC
2026-01-27 13:41:07 -05:00
renovate[bot]
1008bf5cef
[deps] Platform: Update tokio-tracing monorepo ( #18238 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-27 14:14:22 +01:00
John Harrington
f8d2800859
[PM-26989] Add Support For Arc Browser on MacOS ( #17909 )
...
* added support for arc browser
2026-01-22 15:56:35 -07:00
neuronull
2fac696567
Desktop Autotype windows integration tests ( #17639 )
2026-01-22 15:38:26 +01:00
renovate[bot]
1226de16bc
[deps]: Update Rust crate serial_test to v3.3.1 ( #18435 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: neuronull <9162534+neuronull@users.noreply.github.com>
2026-01-20 08:58:03 -07:00
renovate[bot]
8993a8d781
[deps] KM: Update Rust crate sha2 to v0.10.9 ( #17544 )
...
Chromatic / Check PR run (push) Has been cancelled
Scan / Check PR run (push) Has been cancelled
Testing / Run tests (push) Has been cancelled
Testing / Run Rust tests on ${{ matrix.os }} (macos-14) (push) Has been cancelled
Testing / Run Rust tests on ${{ matrix.os }} (ubuntu-22.04) (push) Has been cancelled
Testing / Run Rust tests on ${{ matrix.os }} (windows-2022) (push) Has been cancelled
Testing / Rust Coverage (push) Has been cancelled
Chromatic / Chromatic (push) Has been cancelled
Scan / Checkmarx (push) Has been cancelled
Scan / Sonar (push) Has been cancelled
Testing / Upload to Codecov (push) Has been cancelled
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2026-01-19 13:26:17 +00:00
Colton Hurst
3b2286fbb0
Revert "[deps] Platform: Lock file maintenance ( #14932 )" ( #18406 )
...
This reverts commit 5dee97158a .
2026-01-16 16:37:07 +00:00
renovate[bot]
5dee97158a
[deps] Platform: Lock file maintenance ( #14932 )
...
* [deps]: Lock file maintenance
* Pin is-generator-function, downgrade open
* Bump zbus to match zbus_macro
* Attempt to fix rust compile issue by matching zbus and zbus_macro
* Update ashpd ...
* Fix lockfile
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hinton <hinton@users.noreply.github.com>
2026-01-16 15:20:08 +01:00
neuronull
6ef5241c29
Add Rust pre-commit hooks for desktop native ( #17823 )
2026-01-15 07:50:47 -07:00
renovate[bot]
bea6fb26f8
[deps] KM: Update Rust crate rsa to v0.9.10 [SECURITY] ( #18220 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2026-01-13 10:42:32 +01:00
Isaiah Inuwa
881afacded
Enable cross-compilation and packaging of Windows Appx from macOS ( #17976 )
...
* Enable cross-compilation and packaging of Windows Appx from macOS
* Consolidate cargo build execution into a single function in native build script
* Install cargo-xwin when needed
* Install Appx tools when needed
* Consolidate command execution into a single function in native build script
* Only include the native node modules for the appropriate platform
electron-builder's globs interact strangely, so we can't
exclude all the .node files in the global config and then
include the platform-specific files in the platform
configuration.
* Always copy Rust binaries to dist folder
* Log source and destination when copying files
* Update copyright
* Match Electron version in Beta build
2026-01-09 20:18:17 +00:00
neuronull
196db093b2
Desktop autotype remove SHIFT from valid modifier keys ( #17347 )
...
Removal of SHIFT from valid modifier keys. As it stands, we allow [SHIFT + `<a-z>`] , which would prevent users from capitalizing letters. As a result, the default shortcut has to change (because it included SHIFT). Changed to CONTROL + ALT + b
2026-01-07 11:54:46 -07:00
neuronull
9ba9c89ee6
Allow unmaintained crates in transient deps ( #18241 )
2026-01-07 18:00:31 +00:00
renovate[bot]
867f5727ca
[deps]: Update Rust crate cc to v1.2.51 ( #18230 )
...
Chromatic / Check PR run (push) Has been cancelled
Scan / Check PR run (push) Has been cancelled
Testing / Run tests (push) Has been cancelled
Testing / Run Rust tests on ${{ matrix.os }} (macos-14) (push) Has been cancelled
Testing / Run Rust tests on ${{ matrix.os }} (ubuntu-22.04) (push) Has been cancelled
Testing / Run Rust tests on ${{ matrix.os }} (windows-2022) (push) Has been cancelled
Testing / Rust Coverage (push) Has been cancelled
Chromatic / Chromatic (push) Has been cancelled
Scan / Checkmarx (push) Has been cancelled
Scan / Sonar (push) Has been cancelled
Testing / Upload to Codecov (push) Has been cancelled
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-07 12:41:09 +00:00
Robyn MacCallum
3558db0e0c
Revert "[PM-29418] Fix SSH list not working while locked ( #17866 )" ( #18171 )
...
Chromatic / Check PR run (push) Has been cancelled
Scan / Check PR run (push) Has been cancelled
Testing / Run tests (push) Has been cancelled
Testing / Run Rust tests on ${{ matrix.os }} (macos-14) (push) Has been cancelled
Testing / Run Rust tests on ${{ matrix.os }} (ubuntu-22.04) (push) Has been cancelled
Testing / Run Rust tests on ${{ matrix.os }} (windows-2022) (push) Has been cancelled
Testing / Rust Coverage (push) Has been cancelled
Chromatic / Chromatic (push) Has been cancelled
Scan / Checkmarx (push) Has been cancelled
Scan / Sonar (push) Has been cancelled
Testing / Upload to Codecov (push) Has been cancelled
This reverts commit 24dcbb48c6 .
2026-01-02 09:48:39 -05:00
neuronull
d3701c38d1
Desktop Autotype introduce strict type for keyboard input ( #17141 )
...
* Desktop Autotype introduce strict type for keyboard input
* cleanup
* fix doc typo
* unecessary into()
* use str
* propagate error
* better var name
* pass a slice
* doc comment
* napi fix
* add ownership renovate for new dep
* add code comment about modifier keys being released
* fmt
* remove keytar
* fix input struct size compute
* improve debug comment
2025-12-29 08:10:18 -07:00
Bernd Schoolmann
24dcbb48c6
[PM-29418] Fix SSH list not working while locked ( #17866 )
...
* Fix SSH list not working while locked
* Add tests
* Update private key to SDK test key
* Cleanup
2025-12-17 12:00:13 +01:00
Bernd Schoolmann
3114b31920
Fix slow agent operations ( #17867 )
2025-12-17 11:59:40 +01:00
adudek-bw
944d324985
[PM-27081] Fix chromium direct import for linux ( #17894 )
...
* Fix chromium direct import for linux
2025-12-12 12:38:35 -05:00
neuronull
22e9c6a72f
Re-apply desktop native debug log level debug builds and fix build workflow ( #17908 )
...
* Reapply "Desktop Native compile debug builds with debug log level (#17357 )" (#17815 )
This reverts commit 5386b58f23 .
* Use release mode if workflow called from upstream
* fix bug in build script
* revert napi build command to not use --release
* forward caller's args to napi
* js things
* shell thangs
* use platform agnostic expansion
* Revert "use platform agnostic expansion"
This reverts commit 5ee629f822 .
* powershell expansion
2025-12-11 12:44:51 -07:00
renovate[bot]
33d909b0bb
[deps] Platform: Update Rust crate rand to v0.9.2 ( #17550 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-11 14:28:40 +01:00
renovate[bot]
cdeacf2a77
[deps]: Update Rust crate ashpd to v0.12.0 ( #16420 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2025-12-10 17:14:12 +00:00
renovate[bot]
3c6b6eaa56
[deps] Platform: Update Rust crate anyhow to v1.0.100 ( #17546 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-10 10:51:02 -06:00
renovate[bot]
0439f60a3b
[deps] Platform: Update Rust crate oo7 to v0.5.0 ( #16416 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-10 10:22:35 -06:00
renovate[bot]
852248d5fa
[deps] Platform: Update napi to v3 (major) ( #16053 )
...
* [deps] Platform: Update napi to v3
* fix: upgrade required dependencies
* fix: deprecated syntax in package.json
* fix: TS code after napi changes
* fix: lint
* fix: floating promise
* fix: libsqlite musl compilation
* feat: remove support for musl
* fix: sorting lint
* fix: logging not working
* fix: pre-emptive fix for passkey autofill
* fix: rust lint
* fix: package-lock
* fix: linux type error
* fix: windows type error
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>
2025-12-10 09:43:51 -05:00
renovate[bot]
892f5548d2
[deps] Platform: Update Rust crate bytes to v1.11.0 ( #17618 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-10 15:14:18 +01:00
renovate[bot]
151c2d97f0
[deps]: Update Rust crate tokio to v1.48.0 ( #15700 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-10 14:13:24 +00:00
renovate[bot]
0301e9d1d7
[deps]: Update Rust crate tokio-util to v0.7.17 ( #17575 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-10 07:57:58 -06:00
renovate[bot]
22338632be
[deps] Platform: Update Rust crate zbus to v5.12.0 ( #17035 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-09 20:57:23 +00:00