feat: v0.2.2, auto find PIV slot id
This commit is contained in:
@@ -133,3 +133,11 @@ pub fn zeroize(object: impl Zeroize) {
|
||||
let mut object = object;
|
||||
object.zeroize();
|
||||
}
|
||||
|
||||
pub fn read_line(ln: &str) {
|
||||
print!("{}", ln);
|
||||
io::stdout().flush().ok();
|
||||
let mut buff = String::new();
|
||||
let _ = io::stdin().read_line(&mut buff).expect("Read line from stdin");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user