Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Debian 10.4 XFCE
After installing brave browser, I'm asked to unlock the keyring the first time I launch brave.
Is there a way to solve this without leaving it with a blank passwd?
Thanks for responding, but I still have no clue how to fix this
I've 2 machines running the same OS, I don't know what I did but one is perfectly working when the other not, for sure they have different apps installed, probably I did something different on installing, actually I don't know
Brave is essentially Chromium, and over the years I have seen Chrom/e/ium users complain about this a lot.
This might help you to formulate search terms.
Or look at the list of similar threads just below the last post.
Brave keyrings are stored in /etc/apt/trusted.gpg.d
133208 -rw-r--r-- 1 root root 2.8K Mar 18 17:35 brave-browser-release.gpg
133207 -rw-r--r-- 1 root root 0 May 21 09:28 brave-browser-release.gpg~
Deleting these files stops asking to unlock the keyring
I kept looking and comparing with other Debian box, in which is working properly, I realized that I have one keyring called Login in which apps passwd are in. And this login Keyring is unlocked at login.
In the other box, the one I've troubles there are 2 keyrings, the login and a default and no one is unlocked at login.
What would be the right way to get rid of the default keyring and passing everything to the Login-Keyring?
Meanwhile I've learned that the keyring is managed by the display manager and pam as well, I've checked several config files and compared them to a working box without finding any differences
Xsession under /etc/X11
lightdm and login under /etc/pam.d/lightdm
baschrc
Xfce Session under /usr/share/xsessions/xfce.desktop
I made some changes so as to see what happens, I modified pam config for lightdm enabling the login keyring as auto start
these 2 lines are disabled with a dash on the front which I removed. The working debian box has these 2 lines dashed and works well
the result is that the login-keyring gets now unlocked, the default-keyring remains unlocked until an app is started which needs a keyring. Every thing looks to work well
Few questions
In the working box I have just one keyring, the login-keyring
In the troubled box I have 2 keyrings, default and login, none of both got unlocked at login
As I sad before both machines asks for login user/passwd at boot
what should be the right or expected way to setup keyrings properly, with just a login-keyring or both login + default?
I don't remeber having made any choices on this at install time
the troubled box has just a key inside de login-keyring whith unlock-password for default keyring
I don't know what sense does it make this?
Actually nothing changed, the day after when I booted I realized that everything behaves the same, the login-keyring keeps locked after entering user/passwd
So I've reverted the changes at /etc/pam.d/lightdm
and did following changes to /etc/pam.d/login
I've uncommented de 1st line and added de 2nd
session optional pam_keyinit.so force revoke
session optional pam_gnome_keyring.so auto_start
I've deleted the default-keyring and just kept the login-keyring
I've deleted the brave-key, but this is regenrated on the next boot
Nothing solved the issue
the login-keyring doesn't get automatically unlocked on login, it shouldn't be that difficult to solve this, I assume that some setting is wrong, but no clue what
I don't know where to find this one, at least it isn't under pam.d. Will give a look to my other Debian box, I think I saw it once
I've tried these changes on lightdm, which didn't work in the past
I've enabled these both
auth optional pam_gnome_keyring.so
session optional pam_gnome_keyring.so auto_start
I've commented this line on login under pam.d (still no idea what this does)
#session optional pam_keyinit.so force revoke
And know seems to work, I'll play around for a while to see which change brought the solution.
whether the "auto_start" on both config files or the "force revoke" was
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.