openpgp-card: add trace log for "Import key material" command
This commit is contained in:
parent
fac3ac6468
commit
9c41ab2286
1 changed files with 2 additions and 0 deletions
|
@ -215,7 +215,9 @@ pub(crate) fn key_import(
|
||||||
card_tx.set_algorithm_attributes(key_type, &algo)?;
|
card_tx.set_algorithm_attributes(key_type, &algo)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log::info!("Import key material");
|
||||||
card_tx.send_command(key_cmd, false)?.check_ok()?;
|
card_tx.send_command(key_cmd, false)?.check_ok()?;
|
||||||
|
|
||||||
card_tx.set_fingerprint(fp, key_type)?;
|
card_tx.set_fingerprint(fp, key_type)?;
|
||||||
card_tx.set_creation_time(key.timestamp(), key_type)?;
|
card_tx.set_creation_time(key.timestamp(), key_type)?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue