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

Add keyring (un)locker #264

Closed
wants to merge 5 commits into from
Closed

Add keyring (un)locker #264

wants to merge 5 commits into from

Conversation

IvoLeist
Copy link

Hey polybar users

first of all thank you for maintaining this awesome collection of polybar examples.
I already took many of these for my setup so now it is time for me to give something back.
And since we are in Barcelona in a "lockdown" situation at the moment...

Let me know if you are interested in that module so I can clean up the code/
make the naming more consistent that it fits in your collection.

Best,
Ivo

@x70b1
Copy link
Member

x70b1 commented Jul 26, 2020

Do you know the pam-gnupg project?
You could combine this with a pam screenlocker and unlock your pass.

@IvoLeist
Copy link
Author

Hello x70b1

thank you for your opinion.

yes on my search for a good solution I stumbled above the pam-gnupg project.
But I somehow did not managed to preset the passphrase.
Whichever settings I did pass kept asking me for the pass phrase
although I have seen in the gpg keylist that the pass phrase is cached.

gnome-keyring on the other hand enables me to skip the pass phrase
prompt as long the keyring is unlocked.

Additionally I am reluctant to unlock my keyring with my login password thats
why I use the gnome-keyring with another password.

I might be a little paranoid but since my Laptop is at the moment my
only computer and thus password store for everything I just want to be on the safe side

Don't you think that gnome-keyring "workaround" is a good solution?
Why would you prefer pam?

@x70b1
Copy link
Member

x70b1 commented Jul 27, 2020

Thats just my point of view.

I use a PAM-based screenlocker to unlock everything. My pass with pam-gnupg and my ssh keys with pam_exec-ssh. I run the screenlocker at the boot of my system without a display manager. So that I unlock all the stuff on my first login.

Its lightweight and you can configure everything in files.

I used the gnome-keyring too. But for me I wanted a smaller solution. Its not bad or unsafe. But the keyring-daemon, seahorse and dbus-requirement was to much for me.

@x70b1
Copy link
Member

x70b1 commented Aug 25, 2020

Should we still work on this script?

@IvoLeist
Copy link
Author

@x70b1 depends if you like my gnome-keyring solution?
Right now I do not have the time to look deeper into pam_exec

@x70b1
Copy link
Member

x70b1 commented Aug 25, 2020

Well, you have a number of scripts here in this PR. That makes it a bit difficult.
So I close it.

But I am happy that you have found a solution for you. 👍

@x70b1 x70b1 closed this Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants