tape: implemenmt show key

Moved API types Kdf and KeyInfo to src/api2/types/mod.rs.
This commit is contained in:
Dietmar Maurer committed 2021-01-20 15:43:19 +01:00
1 parent 301b8aa0a5
commit 69b8bc3bfa
7 files changed
+163 -95

No files matched your search

+1 -2
View File
@@ -11,9 +11,9 @@ use proxmox::tools::fs::{
};
use crate::{
api2::types::Kdf,
backup::{
Fingerprint,
Kdf,
KeyConfig,
CryptConfig,
},
@@ -204,7 +204,6 @@ pub fn insert_key(key: [u8;32], key_config: KeyConfig) -> Result<(), Error> {
save_key_configs(config_map)?;
Ok(())
}
// shell completion helper