feat: v1.2.1, pgp-card-make print-*-keys

This commit is contained in:
2022-04-14 23:26:22 +08:00
parent ef100c2921
commit b2e83b1c71
2 changed files with 1 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ impl Command for CommandImpl {
index_of_00_from_index_1 = i + 1;
break;
}
};
}
if index_of_00_from_index_1 == 0 {
return simple_error!("Not valid encrypted data, cannot find 0x00");
}