]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/bin/proxmox_backup_client/mount.rs
client: check fingerprint after downloading manifest
[proxmox-backup.git] / src / bin / proxmox_backup_client / mount.rs
index 187deab5141c857e796f47a676d8c8b1f725d22f..c586b764578ab96ad90ec05ec64c2496422aa7a2 100644 (file)
@@ -214,6 +214,7 @@ async fn mount_do(param: Value, pipe: Option<RawFd>) -> Result<Value, Error> {
     ).await?;
 
     let (manifest, _) = client.download_manifest().await?;
+    manifest.check_fingerprint(crypt_config.as_ref().map(Arc::as_ref))?;
 
     let file_info = manifest.lookup_file_info(&server_archive_name)?;