From 48139725676fcce89a70897546969623f2474693 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 21 Mar 2022 09:12:49 +0200 Subject: feat! store list of generations in a "client trust root" chunk Backups made with this version can't be restored with old clients, and vice version. Sponsored-by: author --- src/error.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/error.rs') diff --git a/src/error.rs b/src/error.rs index 7812081..9c9b432 100644 --- a/src/error.rs +++ b/src/error.rs @@ -1,6 +1,7 @@ //! Errors from Obnam client. use crate::backup_run::BackupError; +use crate::chunk::ClientTrustError; use crate::cipher::CipherError; use crate::client::ClientError; use crate::cmd::restore::RestoreError; @@ -25,6 +26,10 @@ pub enum ObnamError { #[error(transparent)] GenerationListError(#[from] GenerationListError), + /// Error about client trust chunks. + #[error(transparent)] + ClientTrust(#[from] ClientTrustError), + /// Error saving passwords. #[error("couldn't save passwords to {0}: {1}")] PasswordSave(PathBuf, PasswordError), -- cgit v1.2.1