openpgp-card: add trace log for "Import key material" command

This commit is contained in:
Heiko Schaefer 2023-08-27 18:10:15 +02:00
parent fac3ac6468
commit 9c41ab2286
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -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)?;