SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-11-27 01:24:10

osp
Member
Registered: 2013-04-20
Posts: 11

gnome-keyring

Hi,
I just spend few hours googling, reading threads and testing suggestions, but with no luck...

in ~/.config/openbox/autostart is

eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg) &

But even if ssh and gpg agents are running, the ask windows for passphrases never pop up. I circumvented the issue by adding ssh-add at the end of that autostart script and using in-built feature of enigmail to unlock my keyring, but I really wish to use agent for this and so I would type long passphrase just in moment I really need them, like it is working in gnome3.

I just don't want to after login immediately type passphrases for ssh and gpg, that is really annoying.

Can someone tell me, what can I do to achieve this?

F S UID        PID  PPID  C PRI  NI ADDR SZ WCHAN    RSS PSR STIME TTY          TIME CMD
1 S osp      11833     1  0  80   0 -   847 -        396   3 lis26 ?        00:00:01 gpg-agent --daemon
1 S osp      14726     1  0  80   0 - 16888 -       3700   1 00:27 ?        00:00:00 /usr/bin/gnome-keyring-daemon --daemonize --login
4 S osp      14735 14711  0  80   0 -  4028 -       8832   1 00:27 ?        00:00:13 /usr/bin/openbox --startup /usr/lib/openbox/openbox-autostart OPENBOX
1 S osp      14782 14735  0  80   0 -   945 -        212   3 00:27 ?        00:00:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager
5 S 101       3570     1  0  80   0 -   905 -       1684   3 lis21 ?        00:00:18 /usr/bin/dbus-daemon --system
1 S osp      14785     1  0  80   0 -   857 -        516   2 00:27 ?        00:00:00 /usr/bin/dbus-launch --exit-with-session x-session-manager
1 S osp      14786     1  0  80   0 -  1011 -       1600   1 00:27 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 6 --print-address 8 --session

Last edited by osp (2013-11-27 03:35:14)

Offline

Help fund CrunchBang, donate to the project!

#2 2014-01-02 20:11:05

Damian
New Member
Registered: 2014-01-02
Posts: 1

Re: gnome-keyring

I was having the same problem with gpg. Apparently there is something wrong with gnome-keyring. I couldn't find out what's wrong but came up with a workaround:

I changed the gnome-keyring's line in my ~/.config/openbox/autostart file  to:

## GNOME PolicyKit and Keyring

eval $(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) &

Note that I removed the gpg component.

Then, in my file ~/.gnupg/gpg.conf   I commented out the line

use-agent

make sure the following packages are installed:

gnupg2
gnupg-agent
pinentry-gtk2

That worked for me: the pop up asking for the passphrase is presented at its due time only when it's needed.

It won't fix your problems with ssh, but it should work for the gpg.

Hope this helps.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo