Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support reading passwords using org.freedesktop.secrets spec (a.k.a, from keyring) #681

Open
Avinash-Bhat opened this issue Dec 28, 2024 · 0 comments

Comments

@Avinash-Bhat
Copy link

(Storing passwords in plain text may not be a good idea.)

It would be quite easier if the app reads from the keyring (https://www.freedesktop.org/wiki/Specifications/secret-storage-spec/) using config like:

[servers.liberachat.sasl.plain]
username = "foobar"
use_keyring = true

If the keyring doesn't have the password, then the password can be taken from the user and stored in the keyring.

crate libsecret can be used for this purpose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants