microsoft / vsts-authentication-library-for-java

Retrieve OAuth2 or Personal Accesss Tokens for Visual Studio Team Services (visualstudio.com) accounts. Also provides secure storage for those secrets on different platforms.
MIT License
18 stars 20 forks source link

gnome-keyring is deprecated. Replace with libsecrets #27

Open afausttanasescu opened 4 years ago

afausttanasescu commented 4 years ago

Secure token storage is backed by gnome-keyring under Linux. It should be changed to libsecret.

libgnome insertion

twendt commented 4 years ago

Ubuntu 20.04 doesn't include libgnome-keyring0 anymore therefore the change to libsecret would be great.

tseifried commented 4 years ago

I could not agree more. This lib is practically broken on linux.

Colbix commented 2 years ago

gnome-keyring is a program that keep password and other secrets for users. The library libgnome-keyring is used by applications to integrate with the gnome keyring system.^1

Found a decent replacement for the posix move to libsecret[^2]. Would require a replacement of the existing posix version of this project.

Edit: After doing some additional digging it looks like gnome-keyring, and the project code, still does actually work. The library that interacts with gnome-keyring is called libsecret and has succeeded libgnome-keyring. I can save and retrieve a credential and password on posix using the code snippet I demonstrated in another issue on this project. There is a problem, according to the Gitlab Seahorse ticket 157^3, with gnome-keyring-daemon. Please read the link for further clarification.

References:

[^2]: Secret Service