mirror of
https://github.com/002Hub/IPass.git
synced 2025-04-19 22:01:21 +02:00
update ipass library
This commit is contained in:
parent
9a9a3c6654
commit
38a39f3d54
1038
Cargo.lock
generated
1038
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
2
library
2
library
@ -1 +1 @@
|
|||||||
Subproject commit d2c9adefdc4a7096ff7047f830807245291407fa
|
Subproject commit 3326ee886b0121237a84217ab9508728c722f8d4
|
@ -203,7 +203,7 @@ fn get(args: &Vec<String>) {
|
|||||||
let filepath = &(ip_lib::get_ipass_folder()+name+".ipass");
|
let filepath = &(ip_lib::get_ipass_folder()+name+".ipass");
|
||||||
if std::path::Path::new(filepath).exists() {
|
if std::path::Path::new(filepath).exists() {
|
||||||
println!("Getting entry");
|
println!("Getting entry");
|
||||||
let entry: String = ip_lib::get_entry(name, ask_for_pw());
|
let entry: String = ip_lib::get_entry(name, ask_for_pw()).expect("could not read entry!");
|
||||||
let mut data = entry.split(";");
|
let mut data = entry.split(";");
|
||||||
println!("Username: '{}' Password: '{}'",data.next().unwrap(),data.next().unwrap());
|
println!("Username: '{}' Password: '{}'",data.next().unwrap(),data.next().unwrap());
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user