Daniel García
51f6594d4b
[PM-9473] Add messaging for macOS passkey extension and desktop ( #10768 )
...
* Add messaging for macos passkey provider
* fix: credential id conversion
* Make build.sh executable
Co-authored-by: Colton Hurst <colton@coltonhurst.com>
* chore: add TODO
---------
Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>
Co-authored-by: Colton Hurst <colton@coltonhurst.com>
2024-12-19 09:00:21 +01:00
renovate[bot]
8c446b4720
[deps] Platform: Update Rust crate anyhow to v1.0.94 ( #12296 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2024-12-09 15:42:42 +01:00
Bernd Schoolmann
864e6759fd
Switch to rustcrypto argon2 on desktop ( #11753 )
...
* Switch to rustcrypto argon2 on desktop
* Make argon2 use zeroize
* Remove argon2 native modules from electron-builder config
* Clean rust implementation of argon2
* Update cargo.lock
* Update apps/desktop/desktop_native/napi/src/lib.rs
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
* Add tests
* Clean up test
* Remove argon2 external from webpack main
* Fix build
* Fix argon2 module causing a startup crash
---------
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2024-12-04 11:54:55 +00:00
renovate[bot]
d5b14d11d4
[deps] Platform: Update Rust crate tokio to v1.41.1 ( #11950 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-27 14:08:56 +01:00
renovate[bot]
19e786f820
[deps] Platform: Update Rust crate tokio-util to v0.7.12 ( #11946 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 14:14:06 +01:00
Bernd Schoolmann
081fe83d83
PM-10393 SSH keys ( #10825 )
...
* [PM-10395] Add new item type ssh key (#10360 )
* Implement ssh-key cipher type
* Fix linting
* Fix edit and view components for ssh-keys on desktop
* Fix tests
* Remove ssh key type references
* Remove add ssh key option
* Fix typo
* Add tests
* [PM-10399] Add ssh key import export for bitwarden json (#10529 )
* Add ssh key import export for bitwarden json
* Remove key type from ssh key export
* [PM-10406] Add privatekey publickey and fingerprint to both add-edit and view co… (#11046 )
* Add privatekey publickey and fingerprint to both add-edit and view components
* Remove wrong a11y title
* Fix testid
* [PM-10098] SSH Agent & SSH Key creation for Bitwarden Desktop (#10293 )
* Add ssh agent, generator & import
* Move ssh agent code to bitwarden-russh crate
* Remove generator component
* Cleanup
* Cleanup
* Remove left over sshGenerator reference
* Cleanup
* Add documentation to sshkeyimportstatus
* Fix outdated variable name
* Update apps/desktop/src/platform/preload.ts
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>
* Rename renderersshagent
* Rename MainSshAgentService
* Improve clarity of 'id' variables being used
* Improve clarity of 'id' variables being used
* Update apps/desktop/src/vault/app/vault/add-edit.component.html
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>
* Fix outdated cipher/messageid names
* Rename SSH to Ssh
* Make agent syncing more reactive
* Move constants to top of class
* Make sshkey cipher filtering clearer
* Add stricter equality check on ssh key unlock
* Fix build and messages
* Fix incorrect featureflag name
* Replace anonymous async function with switchmap pipe
* Fix build
* Update apps/desktop/desktop_native/napi/src/lib.rs
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>
* Revert incorrectly renamed 'Ssh' usages to SSH
* Run cargo fmt
* Clean up ssh agent sock path logic
* Cleanup and split to platform specific files
* Small cleanup
* Pull out generator and importer into core
* Rename renderersshagentservice to sshagentservice
* Rename cipheruuid to cipher_id
* Drop ssh dependencies from napi crate
* Clean up windows build
* Small cleanup
* Small cleanup
* Cleanup
* Add rxjs pipeline for agent services
* [PM-12555] Pkcs8 sshkey import & general ssh key import tests (#11048 )
* Add pkcs8 import and tests
* Add key type unsupported error
* Remove unsupported formats
* Remove code for unsupported formats
* Fix encrypted pkcs8 import
* Add ed25519 pkcs8 unencrypted test file
* SSH agent rxjs tweaks (#11148 )
* feat: rewrite sshagent.signrequest as purely observable
* feat: fail the request when unlock times out
* chore: clean up, add some clarifying comments
* chore: remove unused dependency
* fix: result `undefined` crashing in NAPI -> Rust
* Allow concurrent SSH requests in rust
* Remove unwraps
* Cleanup and add init service init call
* Fix windows
* Fix timeout behavior on locked vault
---------
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>
* Fix libc dependency being duplicated
* fix SSH casing (#11840 )
* Move ssh agent behind feature flag (#11841 )
* Move ssh agent behind feature flag
* Add separate flag for ssh agent
* [PM-14215] fix unsupported key type error message (#11788 )
* Fix error message for import of unsupported ssh keys
* Use triple equals in add-edit component for ssh keys
---------
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>
Co-authored-by: aj-bw <81774843+aj-bw@users.noreply.github.com>
2024-11-08 11:01:31 +01:00
renovate[bot]
52c7d21e5f
[deps] Platform: Update Rust crate anyhow to v1.0.93 ( #11059 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-06 02:59:35 -05:00
renovate[bot]
350a85674d
[deps] Platform: Update Rust crate napi to v2.16.13 ( #11533 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-05 14:20:41 -05:00
Daniel García
2e6ed4a4fc
[PM-14270] Use rust to access windows registry ( #11413 )
2024-11-04 14:50:05 +01:00
renovate[bot]
f69e943e72
[deps] Platform: Update napi ( #10564 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-11 17:24:07 +02:00
Daniel García
9aeb412404
[PM-7646][PM-5506] Rust IPC changes: Episode 2 ( #11122 )
...
* Revert "[PM-7646][PM-5506] Revert IPC changes (#10946 )"
This reverts commit ed4d481e4d
.
* Ensure tmp dir gets created on MacOS
* Remove client reconnections
* Improve client error handling and process exiting
2024-10-01 16:28:56 +02:00
Todd Martin
ed4d481e4d
[PM-7646][PM-5506] Revert IPC changes ( #10946 )
...
* Revert "Remove unnecessary plist keys in desktop_proxy (#10933 )"
This reverts commit 4dbb036df1
.
* Revert "Fix TestFlight errors caused by desktop_proxy (#10928 )"
This reverts commit 40cb4b5353
.
* Revert "[PM-5506] Enable electron fuses (#10073 )"
This reverts commit 78c5e9c706
.
* Revert "[PM-7846] Implement a rust based native messaging proxy and IPC system (#9894 )"
This reverts commit 55874b72bf
.
2024-09-09 09:09:17 -04:00
Daniel García
55874b72bf
[PM-7846] Implement a rust based native messaging proxy and IPC system ( #9894 )
...
* [PM-7846] Implement a rust based native messaging proxy and IPC system
* Only build desktop_proxy
* Bundle the desktop_proxy file
* Make sys deps optional for the proxy
* Restore accidentally deleted after-sign
* Update native cache to contain dist folder
* Add some test logging
* Native module cache seems very aggressive
* Fix invalid directory
* Fix debug print
* Remove cache force
* Remove cache debug code
* Only log to file in debug builds
* Place the binary in the correct place for mac and make sure it's signed
* Fix platform paths
* Test unsigned appx
* Revert "Test unsigned appx"
This reverts commit e47535440a
.
* Fix comment
* Remove logs
* Use debug builds in native code, and test private path on MacOS
* Add connected message
* Update IPC API comments
* Update linux to also use XDG_ dir
* Update main.rs comment
* Improve docs and split some tasks spawned into separate functions
* Update send docs and return number of elements sent
* Mark `listen` as async to ensure it runs in a tokio context, handle errors better
* Add log on client channel closed
* Move binary to MacOS folder, and sign it manually so it gets the correct entitlements
* Fix some review comments
* Run prettier
* Added missing zbus_polkit dep
* Extract magic number and increase it to match spec
* Comment fix
* Use Napi object, combine nativeBinding export, always log to file
* Missed one comment
* Remove unnecessary generics
* Correct comment
* Select only codesigning identities
* Filter certificates
* Also add local dev cert
* Remove log
* Fix package ID
* debug_assert won't run the pop() in release mode
* Better error messages
* Fix review comments
* Remove unnecessary comment
* Update napi generated TS file
* Temporary fix for DDG
2024-09-05 12:54:24 +02:00
Daniel García
33c985e00b
[PM-8789] Move desktop_native into subcrate ( #9682 )
...
* Move desktop_native into subcrate
* Add publish = false to crates
2024-07-01 15:19:29 +02:00