-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PM-14252] Switch to oo7 and drop libsecret #11900
base: main
Are you sure you want to change the base?
Changes from 8 commits
2652f90
7f7ffd1
b45f060
58f19e2
985f5bf
d845e78
679c774
32d2fb1
81f445f
e89944c
f83f10b
4e31379
b0fcfc1
bdea168
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,6 @@ sys = [ | |
"dep:core-foundation", | ||
"dep:security-framework", | ||
"dep:security-framework-sys", | ||
"dep:gio", | ||
"dep:libsecret", | ||
"dep:zbus", | ||
"dep:zbus_polkit", | ||
] | ||
|
@@ -84,7 +82,7 @@ security-framework = { version = "=3.0.0", optional = true } | |
security-framework-sys = { version = "=2.12.0", optional = true } | ||
|
||
[target.'cfg(target_os = "linux")'.dependencies] | ||
gio = { version = "=0.19.5", optional = true } | ||
libsecret = { version = "=0.5.0", optional = true } | ||
oo7 = "0.3.3" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should pin the dep like the rest of them There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pinned the dependency now, but i'm not getting any downgrade warnings/conflicts? Not sure if it matters but i'm on cargo/rustc 1.82.0 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm I think I was testing in a temporary branch where I merged your argon2 PR and this, so maybe there was something weird during the merge, we can ignore it if you haven't had any issues. |
||
|
||
zbus = { version = "=4.4.0", optional = true } | ||
zbus_polkit = { version = "=4.0.0", optional = true } |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,14 +28,16 @@ pub trait BiometricTrait { | |
#[allow(async_fn_in_trait)] | ||
async fn available() -> Result<bool>; | ||
fn derive_key_material(secret: Option<&str>) -> Result<OsDerivedKey>; | ||
fn set_biometric_secret( | ||
#[allow(async_fn_in_trait)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we lift the |
||
async fn set_biometric_secret( | ||
service: &str, | ||
account: &str, | ||
secret: &str, | ||
key_material: Option<KeyMaterial>, | ||
iv_b64: &str, | ||
) -> Result<String>; | ||
fn get_biometric_secret( | ||
#[allow(async_fn_in_trait)] | ||
async fn get_biometric_secret( | ||
service: &str, | ||
account: &str, | ||
key_material: Option<KeyMaterial>, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we're removing the
libsecret
crate can we also remove the dependency to thelibsecret
system package?clients/apps/desktop/electron-builder.json
Line 232 in 21f7fff
clients/.github/workflows/build-desktop.yml
Line 165 in 21f7fff
clients/.github/workflows/release-desktop-beta.yml
Line 141 in 21f7fff