move fingerprint helpers from pbs-tools to pbs-api-types
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
1 parent
96ec3801a9
commit
c42a54795d
8 files changed
+47
-49
No files matched your search
@@ -317,7 +317,7 @@ impl TapeDriver for LtoTapeHandle {
|
||||
}
|
||||
|
||||
let output = if let Some((fingerprint, uuid)) = key_fingerprint {
|
||||
let fingerprint = pbs_tools::format::as_fingerprint(fingerprint.bytes());
|
||||
let fingerprint = fingerprint.to_string();
|
||||
run_sg_tape_cmd("encryption", &[
|
||||
"--fingerprint", &fingerprint,
|
||||
"--uuid", &uuid.to_string(),
|
||||
|
||||
Reference in new issue
Block a user