feat: add pgp card

This commit is contained in:
2023-02-12 18:11:32 +08:00
parent 34993a83a5
commit 817b088a67
7 changed files with 1420 additions and 17 deletions

View File

@@ -7,7 +7,6 @@ pub fn info(path: PathBuf) -> XResult<()> {
let path_display = format!("{}", path.display());
let mut file_in = opt_result!(File::open(path), "Open file: {} failed: {}", &path_display);
let meta = opt_result!(file::read_tiny_encrypt_meta(&mut file_in), "Read file: {}, failed: {}", &path_display);
// println!("{}", serde_json::to_string_pretty(&meta).expect("SHOULD NOT HAPPEN"));
let mut infos = vec![];
infos.push("Tiny Encrypt File Info".to_string());