clearloop / leetcode-cli

May the code be with you 👻
MIT License
327 stars 54 forks source link

Cannot get Chrome Safe Storage password #85

Open anstadnik opened 2 years ago

anstadnik commented 2 years ago

The following code fails with an error KeyringError::NoPasswordFound. https://github.com/clearloop/leetcode-cli/blob/c6873f0194ba5b8d9d4b3c21b08c0ef61daefde8/src/plugins/chrome.rs#L76-L77 If I open seahorse, I see the relevant item (so the attribute name is correct), but I couldn't find info about the username assigned to that record. image Can you point me in the correct direction? I assume that the username might be wrong, but I have no idea where to check which one is used with Chrome Safe Storage.

wendajiang commented 1 year ago

Your system look like Linux distribution ?

anstadnik commented 1 year ago

Yup, I had Arch Linux. Now I use macOS, where everything works like a charm, but I can give you more info if needed.

P.S. Thanks for your work (: