persistence for ssh keys

This commit is contained in:
2024-07-01 13:27:20 -04:00
parent 5e6542d08e
commit a3a11897c2
10 changed files with 347 additions and 31 deletions

View File

@@ -277,6 +277,8 @@ pub enum SaveCredentialsError {
NotPersistent,
#[error("A credential with that name already exists")]
Duplicate,
#[error("Failed to save credentials: {0}")]
Encode(#[from] ssh_key::Error),
// rekeying is fundamentally a save operation,
// but involves loading in order to re-save
#[error(transparent)]