1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-22 20:34:04 +00:00
Commit Graph

2030 Commits

Author SHA1 Message Date
Isaiah Inuwa
1f274be8ca Add P-521 test 2026-02-20 11:10:09 -06:00
Isaiah Inuwa
c0c65015f9 Copy documentation comments from header files 2026-02-20 11:10:08 -06:00
Isaiah Inuwa
c1eff8bbe9 Optimize allocations for writing u16 ComBuffers 2026-02-20 11:10:06 -06:00
Isaiah Inuwa
ca9ba5ca35 Remove extra allocation when copying to ComBuffer from &[u8] 2026-02-20 11:10:05 -06:00
Isaiah Inuwa
7bfa9a05fe Add Drop implementation for ComBuffer 2026-02-20 11:10:04 -06:00
Isaiah Inuwa
c4bb6283f1 Fix missing #[repr(C)] annotations 2026-02-20 11:10:03 -06:00
Isaiah Inuwa
075a9521f6 Use correct BOOL type instead of bool. 2026-02-20 11:10:02 -06:00
Isaiah Inuwa
fffa343f2f Address feedback 2026-02-20 11:10:01 -06:00
Isaiah Inuwa
e93c9e2542 Remove unused public methods 2026-02-20 11:10:00 -06:00
Isaiah Inuwa
b58912459b Clarify that Windows returns UTF-8 2026-02-20 11:09:59 -06:00
Isaiah Inuwa
beb27951d7 Use standard drop instead of mem::forget during attestation response struct conversion. 2026-02-20 11:09:58 -06:00
Isaiah Inuwa
713110f20a Fix comment typos 2026-02-20 11:09:57 -06:00
Isaiah Inuwa
0aaf399e78 Skip drop impl for VerifyingKey in tests 2026-02-20 11:09:55 -06:00
Isaiah Inuwa
a4f5b07f9a Reorganize unsafe blocks 2026-02-20 11:09:54 -06:00
Isaiah Inuwa
00d56bccf2 Apply lints 2026-02-20 11:09:53 -06:00
Isaiah Inuwa
9702ca8a02 Clarify key blob data structure. 2026-02-20 11:09:52 -06:00
Isaiah Inuwa
351d574247 Allow trailing commas in webauthn fn definition macro 2026-02-20 11:09:50 -06:00
Isaiah Inuwa
d5f3dfc887 Run cargo fmt 2026-02-20 11:09:47 -06:00
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
Isaiah Inuwa
ab702e3a1a Don't sync invalid password ciphers to autofill (#18783) 2026-02-13 11:01:42 -06:00
Isaiah Inuwa
fa40de92b1 Remove unneeded workaround to get credential ID from request (#18784) 2026-02-13 11:01:27 -06:00
Daniel James Smith
69264c8841 [PM-32212] Migrate platform font icons to bit-icon (#18970)
* Changes on browser

* Changes on desktop

* Changes on web

* Fix chromatic story

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2026-02-13 09:43:42 -05:00
bw-ghapp[bot]
7c6512c78f Autosync the updated translations (#18962)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-02-13 10:27:35 +01:00
Jason Ng
2ea2a20fd8 [PM-31700] Desktop Vault V3 Unarchive and Save Button (#18885)
* update vault-v3 to use new btn text for archive and use signals
2026-02-12 13:43:16 -05:00
Bernd Schoolmann
5c7ee4e63a Add more package types (#18939) 2026-02-12 09:43:54 -06:00
Nick Krantz
f20686cdf4 [PM-24978] Corrupt Attachment Keys (#17790)
* display translated content for attachments that cannot be downloaded

* consume decryption failure from the sdk for attachments

* add decryption errors from sdk

* only show fix attachment issues for when key is null and it does not have a decryption failure

* separate decryption failure state in view
2026-02-11 10:31:38 -06:00
Jason Ng
d18ddd3480 [PM-31680] remove archive buttons from footer for edit view desktop (#18858) 2026-02-11 09:53:46 -05:00