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
renovate[bot]
b56cfba5bf
[deps] Platform: Update Rust crate rand to v0.9.1 ( #13434 )
...
* [deps] Platform: Update Rust crate rand to v0.9.1
* remedy new lint errors
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: addisonbeck <github@addisonbeck.com >
2025-05-08 21:04:29 +02:00
Bernd Schoolmann
a1e975a6ae
[BEEEP] Add zeroizing alloc to desktop_native ( #14601 )
...
* Add zeroizing alloc
* Cleanup
* Cleanup
2025-05-05 12:45:56 +02:00
Colton Hurst
31e455ff35
[PM-19471] Update Rust windows crate to 0.61.1 ( #13974 )
...
* PM-19471: Update Rust windows crate to 0.61.1
* PM-19471: Add new crate to renovate.json5
2025-04-02 16:40:38 -04:00
Todd Martin
6b36818e4a
[PM-17232] Move all desktop native dependencies to workspace Cargo.toml ( #13750 )
...
* Moved all desktop native dependencies to workspace
* Excluded workspace Cargo.toml from code ownership
* Added all Cargo dependencies to Renovate config
* Fixed from test warnings.
* Updates to lockfile
2025-03-12 16:47:09 -04:00
Bernd Schoolmann
01f6fd7ee3
[PM-16227] Move import to sdk and enable it in browser/web ( #12479 )
...
* Move import to sdk and enable it in browser/web
* Add uncomitted files
* Update package lock
* Fix prettier formatting
* Fix build
* Rewrite import logic
* Update ssh import logic for cipher form component
* Fix build on browser
* Break early in retry logic
* Fix build
* Fix build
* Fix build errors
* Update paste icons and throw error on wrong import
* Fix tests
* Fix build for cli
* Undo change to jest config
* Undo change to feature flag enum
* Remove unneeded lifetime
* Fix browser build
* Refactor control flow
* Fix i18n key and improve import behavior
* Remove for loop limit
* Clean up tests
* Remove unused code
* Update libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts
Co-authored-by: SmithThe4th <gsmith@bitwarden.com >
* Move import logic to service and add tests
* Fix linting
* Remove erroneous includes
* Attempt to fix storybook
* Fix storybook, explicitly implement ssh-import-prompt service abstraction
* Fix eslint
* Update libs/importer/src/importers/bitwarden/bitwarden-json-importer.ts
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com >
* Fix services module
* Remove ssh import sdk init code
* Add tests for errors
* Fix import
* Fix import
* Fix pkcs8 encrypted key not parsing
* Fix import button showing on web
---------
Co-authored-by: SmithThe4th <gsmith@bitwarden.com >
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com >
2025-03-10 18:41:47 +01:00
Zihad
0c61a44d33
[PM-18413] Fix SSH agent initial prompt issues ( #13468 )
...
* fix: set `needs_unlock` default value to true on unix
closes #13323
* fix: ssh prompt not appearing right after unlocking vault
---------
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com >
Co-authored-by: Colton Hurst <colton@coltonhurst.com >
2025-03-03 14:05:18 -05:00
Bernd Schoolmann
cb028eadb5
[PM-15934] Add agent-forwarding detection and git signing detection parsers ( #12371 )
...
* Add agent-forwarding detection and git signing detection parsers
* Cleanup
* Pin russh version
* Run cargo fmt
* Fix build
* Update apps/desktop/desktop_native/core/src/ssh_agent/mod.rs
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com >
* Pass through entire namespace
* Move to bytes crate
* Fix clippy errors
* Fix clippy warning
* Run cargo fmt
* Fix build
* Add renovate for bytes
* Fix clippy warn
---------
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com >
2025-02-26 12:12:27 +01:00
Bernd Schoolmann
d11321e28e
Fix ssh agent on flatpak and mac app store ( #13324 )
2025-02-25 14:47:08 +01:00
Daniel García
8cf490a8c1
Extract common cargo info and edition 2024 fix ( #13507 )
2025-02-24 17:17:27 +01:00
tangowithfoxtrot
b86e587507
Fix falling back to data.json when keyring is available ( #12760 )
...
* fix: fallback to data.json on Linux
* fix: make keyring prompt more consistent for reads+writes, but less assertive when we delete credentials
* fix: explicitly ignore unused return value
2025-02-21 07:44:24 -08:00
renovate[bot]
6311c52e46
[deps] Platform: Update Rust crate sysinfo to v0.33.1 ( #12550 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 13:45:48 +01:00