tape: implement encrypted backup - simple version
This is just a proof of concept, only storing the encryption key fingerprint inside the media-set label.
This commit is contained in:
@ -565,7 +565,7 @@ impl Inventory {
|
||||
|
||||
let uuid = label.uuid.clone();
|
||||
|
||||
let set = MediaSetLabel::with_data(pool, [0u8; 16].into(), 0, ctime);
|
||||
let set = MediaSetLabel::with_data(pool, [0u8; 16].into(), 0, ctime, None);
|
||||
|
||||
self.store(MediaId { label, media_set_label: Some(set) }, false).unwrap();
|
||||
|
||||
|
Reference in New Issue
Block a user