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

304 Commits

Author SHA1 Message Date
Isaiah Inuwa
51e0c41dba Reorganize unsafe blocks 2026-02-20 07:55:39 -06:00
Isaiah Inuwa
110a053df3 Add newtypes for request hash and signature 2026-02-20 07:55:37 -06:00
Isaiah Inuwa
9b237b489d Add test for P-256 2026-02-20 07:55:36 -06:00
Isaiah Inuwa
65dc28147c Add test for P-384 2026-02-20 07:55:35 -06:00
Isaiah Inuwa
0a3ebb2377 Switch from NCrypt to BCrypt API
The initial implementation was based on the Window sample, which uses NCrypt for RSA keys.
However, we were not using NCrypt for key storage (just using ephemeral key handles),
and we needed to specify the curves for the ECDSA algorithms anyway.
Because of that, we did not have any advantage using NCrypt, so this switches to BCrypt
for a slightly simpler API and ECDSA support.
2026-02-20 07:55:34 -06:00
Isaiah Inuwa
b5191032b1 Add SHA-256 and RSA tests 2026-02-20 07:55:32 -06:00
Isaiah Inuwa
75c1485974 Reorganize unsafe code blocks 2026-02-20 07:55:31 -06:00
Isaiah Inuwa
f4efe1fa3c Clarify public key type 2026-02-20 07:55:30 -06:00
Isaiah Inuwa
07b551fd39 Add documentation to webauthn.dll functions 2026-02-20 07:55:29 -06:00
Isaiah Inuwa
eaa955a87b Capture doc comments for webauthn.dll function definitions 2026-02-20 07:55:27 -06:00
Isaiah Inuwa
b8564facab Reduce unsafe scope 2026-02-20 07:55:24 -06:00
Isaiah Inuwa
f8a9b5781c Run cargo sort 2026-02-13 11:22:35 -06:00
Isaiah Inuwa
350df6e355 Remove copied headers and reference in README instead 2026-02-13 11:14:11 -06:00
Isaiah Inuwa
09d71ea4b8 Address review feedback 2026-02-13 11:14:08 -06:00
Isaiah Inuwa
f53d74b4d7 Refactor SHA26 code 2026-02-13 11:14:07 -06:00
Isaiah Inuwa
2578b71489 Satisfy clippy lints with MaybeUninit 2026-02-13 11:14:05 -06:00
Isaiah Inuwa
41377e4f75 Address Clippy lints 2026-02-13 11:14:04 -06:00
Isaiah Inuwa
61fb7c3acd Gate dev-dependencies behind windows OS target 2026-02-13 11:14:03 -06:00
Isaiah Inuwa
c4af075e63 Always check signature 2026-02-13 11:14:02 -06:00
Isaiah Inuwa
30d9707727 Run rustfmt 2026-02-13 11:14:00 -06:00
Isaiah Inuwa
be70a18a2d Document safety for user_information 2026-02-13 11:13:59 -06:00
Isaiah Inuwa
bc4458b88c Remove wrapping Result, return slice directly based on safety constraints 2026-02-13 11:13:58 -06:00
Isaiah Inuwa
8677a8f6bd Complete MakeCredential struct fields 2026-02-13 11:13:56 -06:00
Isaiah Inuwa
ddc2c057ad Add win_webauthn lib 2026-02-13 11:13:54 -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)
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)
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)
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