Migrated to keyring v3.2.0 (#101)

This commit is contained in:
Thorsten Sommer 2024-08-24 20:05:39 +02:00 committed by GitHub
parent e4ef4bc06e
commit 47f5756e5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 61 additions and 697 deletions

View File

@ -0,0 +1,2 @@
# v0.8.13, build 175
- Upgraded `keyring` dependency to v3.2.0.

752
runtime/Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -13,7 +13,7 @@ tauri = { version = "1.7.1", features = [ "updater", "http-all", "shell-sidecar"
tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
keyring = "2"
keyring = { version = "3.2.0", features = ["apple-native", "windows-native", "sync-secret-service"] }
arboard = "3.4.0"
tokio = "1.39"
flexi_logger = "0.28"

View File

@ -454,7 +454,7 @@ struct RequestedSecret {
fn delete_secret(destination: String, user_name: String) -> DeleteSecretResponse {
let service = format!("mindwork-ai-studio::{}", destination);
let entry = Entry::new(service.as_str(), user_name.as_str()).unwrap();
let result = entry.delete_password();
let result = entry.delete_credential();
match result {
Ok(_) => {