mirror of
https://github.com/LordGrimmauld/yubi-oath-rs.git
synced 2025-03-04 05:44:40 +01:00
examples: Remove unused imports
This commit is contained in:
parent
8e71674bf1
commit
0b09d632ab
1 changed files with 1 additions and 4 deletions
|
@ -1,8 +1,5 @@
|
|||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
use ykoath2::constants::{HashAlgo, OathType, DEFAULT_PERIOD};
|
||||
use ykoath2::oath_credential::OathCredential;
|
||||
use ykoath2::oath_credential_id::CredentialIDData;
|
||||
use ykoath2::OathSession;
|
||||
// use crate::args::Cli;
|
||||
|
||||
|
@ -33,7 +30,7 @@ fn main() {
|
|||
for yubikey in yubikeys {
|
||||
let device_label: &str = yubikey;
|
||||
println!("Found device with label {}", device_label);
|
||||
let mut session = OathSession::new(yubikey).unwrap();
|
||||
let session = OathSession::new(yubikey).unwrap();
|
||||
|
||||
/* session.set_key(&session.derive_key("1234")).unwrap();
|
||||
session.unlock_session(&session.derive_key("1234")).unwrap();
|
||||
|
|
Loading…
Add table
Reference in a new issue