chore: update versions

This commit is contained in:
2022-04-09 00:30:42 +08:00
parent c7560e24f3
commit d97ac5398f
2 changed files with 29 additions and 30 deletions

View File

@@ -216,14 +216,14 @@ impl Command for CommandImpl {
if let Some(encryption_key) = pgp_rsa_private_key_set.encryption {
let encryption_key_id = encryption_key.key_id.clone();
information!("Prepare write PGP encryption key, key id: {}", signing_key_id);
information!("Prepare write PGP encryption key, key id: {}", encryption_key_id);
opt_result!(trans.key_import(Box::new(encryption_key), KeyType::Decryption), "Write PGP encryption key failed: {}");
success!("Write PGP encryption key success, key id: {}", encryption_key_id);
}
if let Some(authentication_key) = pgp_rsa_private_key_set.authentication {
let authentication_key_id = authentication_key.key_id.clone();
information!("Prepare write PGP authentication key, key id: {}", signing_key_id);
information!("Prepare write PGP authentication key, key id: {}", authentication_key_id);
opt_result!(trans.key_import(Box::new(authentication_key), KeyType::Authentication), "Write PGP authentication key failed: {}");
success!("Write PGP authentication key success, key id: {}", authentication_key_id);
}