Open bww opened 4 years ago
Thanks for the report, I ignored that issue for the Windows use case but yeah, looks like I need a more general cross-platform solution.
Perhaps of interest: while using Secret Service for a side project, I found that using get_any_collection
(instead of get_default_collection
) works correctly with KWallet. At least insofar as I can successfully store and retrieve records from some unspecified collection.
According to the docs this function tries the default collection first, then some others in a sensible order. So in cases where the default collection works the behavior shouldn't change. You might be able to get way with just swapping that out.
Thanks for the hint, I changed that. But I will keep this issue open because all the unwrap()
s should better be replaced by proper error handling. Although I am not sure what to do if we cannot store anything at all.
It's not possible to get past the "Identification" screen, I believe due to the fact that there is no keyring, although I'm not completely sure:
I'm using KDE, fwiw.