move tape_encryption_keys.rs to pbs_config workspace
This commit is contained in:
@ -11,24 +11,16 @@ use proxmox::{
|
||||
sys::linux::tty,
|
||||
};
|
||||
|
||||
use pbs_api_types::{Fingerprint, Kdf};
|
||||
use pbs_datastore::paperkey::{PaperkeyFormat, generate_paper_key};
|
||||
|
||||
use proxmox_backup::{
|
||||
api2::{
|
||||
self,
|
||||
types::{
|
||||
DRIVE_NAME_SCHEMA,
|
||||
TAPE_ENCRYPTION_KEY_FINGERPRINT_SCHEMA,
|
||||
PASSWORD_HINT_SCHEMA,
|
||||
},
|
||||
},
|
||||
config::tape_encryption_keys::{
|
||||
load_key_configs,
|
||||
complete_key_fingerprint,
|
||||
},
|
||||
use pbs_api_types::{
|
||||
Fingerprint, Kdf, DRIVE_NAME_SCHEMA, TAPE_ENCRYPTION_KEY_FINGERPRINT_SCHEMA,
|
||||
PASSWORD_HINT_SCHEMA,
|
||||
};
|
||||
|
||||
use pbs_datastore::paperkey::{PaperkeyFormat, generate_paper_key};
|
||||
use pbs_config::tape_encryption_keys::{load_key_configs,complete_key_fingerprint};
|
||||
|
||||
use proxmox_backup::api2;
|
||||
|
||||
pub fn encryption_key_commands() -> CommandLineInterface {
|
||||
|
||||
let cmd_def = CliCommandMap::new()
|
||||
|
@ -10,21 +10,11 @@ use proxmox::{
|
||||
},
|
||||
};
|
||||
|
||||
use pbs_api_types::MEDIA_POOL_NAME_SCHEMA;
|
||||
use pbs_config::media_pool::complete_pool_name;
|
||||
use pbs_config::tape_encryption_keys::complete_key_fingerprint;
|
||||
|
||||
use proxmox_backup::{
|
||||
api2::{
|
||||
self,
|
||||
types::{
|
||||
MEDIA_POOL_NAME_SCHEMA,
|
||||
},
|
||||
},
|
||||
config::{
|
||||
tape_encryption_keys:: {
|
||||
complete_key_fingerprint,
|
||||
},
|
||||
},
|
||||
};
|
||||
use proxmox_backup::api2;
|
||||
|
||||
pub fn pool_commands() -> CommandLineInterface {
|
||||
|
||||
|
Reference in New Issue
Block a user