Imports cleanup; comment
This commit is contained in:
parent
1c15e61fb4
commit
c8a742e8d0
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
use anyhow::{anyhow, Result};
|
use anyhow::{anyhow, Result};
|
||||||
|
|
||||||
use crate::apdu::{command::Command, commands};
|
use crate::apdu::command::Command;
|
||||||
|
use crate::apdu::commands;
|
||||||
use crate::card_app::CardApp;
|
use crate::card_app::CardApp;
|
||||||
use crate::errors::OpenpgpCardError;
|
use crate::errors::OpenpgpCardError;
|
||||||
use crate::parse::algo_attrs::{Algo, RsaAttrs};
|
use crate::parse::algo_attrs::{Algo, RsaAttrs};
|
||||||
|
@ -386,6 +387,7 @@ fn copy_key_to_card(
|
||||||
.copied()
|
.copied()
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
|
// Generation date/time
|
||||||
let time_cmd =
|
let time_cmd =
|
||||||
commands::put_data(&[key_type.get_timestamp_put_tag()], time_value);
|
commands::put_data(&[key_type.get_timestamp_put_tag()], time_value);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue