wiimmers / keyring-search

Cross-platform library for searching the platform specific credential store, made possible by keyring-rs
Apache License 2.0
3 stars 0 forks source link

Alway return String instead of Vec<String> #1

Closed reyamir closed 5 months ago

reyamir commented 5 months ago

Hi, thank for your great work. I've a small issue, but I not sure it is a bug or I do it wrong.

My app is stored all accounts in Apple Keychain like this:

image

But when I do search, it alway return 1 account instead of all of them

let search = Search::new().unwrap();
let results = search.by("service", "Lume Secret Storage");
let list = List::list_credentials(results, Limit::All).expect("Error"); <- String

So how can I make it return a Vec<String> instead of String?

reyamir commented 5 months ago

Hi, I've solved my problem. Again thank for great crate