Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs

Dashboard
Notifications
Mark all as read
Q&A

How to configure GNOME Keyring to by default NOT automatically unlock keyrings whenever logged in, on Debian?

+2
−0

On a Debian Buster system I use, the password for connecting to a VPN is stored in the GNOME Keyring. Therefore, whenever I want to connect to the VPN in question, I get prompted to unlock my keyring. This is unproblematic.

However, that dialog has a checkbox "Automatically unlock this keyring whenever I'm logged in", which defaults to being checked.

I don't want that, so every time, I have to go out of my way to uncheck it.

I'm finding plenty of suggestions on how to unlock the keyring automatically and immediately upon login (for example, using libpam-gnome-keyring), but I want the opposite.

How can I configure the system to default to not automatically unlock the keyring whenever I'm logged in?

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

General comments (2 comments)

1 answer

+1
−0

Two things:

First, if you create a second keyring, one not named login.keyring, it will not be automatically unlocked on login.

Second, GNOME has a policy that they don't let users configure things that the developers don't want them to configure, so you probably cannot change the default checkbox setting at all without maintaining your own version of the process that presents the unlock keyring.

Luckily: this is the Debian version, and it has active maintainers. You can file a bug against pinentry (presumably pinentry-gtk) and ask for this checkbox to be unchecked by default.

Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »

This community is part of the Codidact network. We have other communities too — take a look!

You can also join us in chat!

Want to advertise this community? Use our templates!