fix(kms): version local key records safely (#5638)

This commit is contained in:
Zhengchao An
2026-08-03 00:30:23 +08:00
committed by GitHub
parent a918f1a48a
commit 0800f74874
10 changed files with 469 additions and 7 deletions
+1
View File
@@ -72,6 +72,7 @@ impl From<&BackupError> for RestoreBlocker {
BackupError::Corrupted { .. } => RestoreBlockerCode::BundleCorrupted,
BackupError::Truncated { .. } => RestoreBlockerCode::BundleTruncated,
BackupError::UnknownVersion { .. } => RestoreBlockerCode::UnknownFormatVersion,
BackupError::UnsupportedFormatVersion { .. } => RestoreBlockerCode::UnknownFormatVersion,
BackupError::WrongKek { .. } => RestoreBlockerCode::WrongBackupKek,
BackupError::MissingArtifact { .. } => RestoreBlockerCode::MissingArtifact,
BackupError::IncompleteBundle { .. } => RestoreBlockerCode::IncompleteBundle,