feat: add PBS datastore management and harden macOS keychain storage
Add Proxmox Backup Server datastore management: overview, datastore detail, download/prune/verify/GC dialogs, usePbs hook, backend commands, and tests. Fix macOS keychain re-writes failing with 'item already exists': replace keyring 3 with keyring-core plus per-platform stores (macOS Keychain, Windows Credential Manager, Linux keyutils), recover by deleting the stale item and retrying once, and surface actionable messages for locked keychains.
This commit is contained in:
@@ -29,6 +29,7 @@ fn token_config(id: &str, url: &str, token: &str, accept_untrusted: bool) -> Con
|
||||
username: None,
|
||||
nodes: vec![],
|
||||
cluster_id: None,
|
||||
server_type: "pve".to_string(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,6 +62,7 @@ async fn persisted_configs_round_trip_without_secrets() {
|
||||
username: None,
|
||||
nodes: vec![],
|
||||
cluster_id: None,
|
||||
server_type: "pve".to_string(),
|
||||
};
|
||||
manager
|
||||
.add_connection(config, &path)
|
||||
@@ -216,6 +218,7 @@ async fn update_connection_preserves_cert_settings_and_replaces_config() {
|
||||
username: None,
|
||||
nodes: vec![],
|
||||
cluster_id: None,
|
||||
server_type: "pve".to_string(),
|
||||
};
|
||||
manager
|
||||
.update_connection(updated, &path)
|
||||
|
||||
Reference in New Issue
Block a user