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

@@ -293,8 +293,6 @@ fn parse_security_sub_key_to_pgp_rsa_private_key(key: &Key<SecretParts, Subordin
} else {
return simple_error!("Not unencrypted private key");
}
} else {
return simple_error!("Not Key::V4 private key");
};
let p = BigNum::from_slice(p.value()).unwrap();
let q = BigNum::from_slice(q.value()).unwrap();