You are not logged in.

#1 2014-06-08 01:14:42

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

pass works but not in Thunderbird

I've decided to move away from storing passwords in programs like browsers and Email Clients in favor of pass.
The program works great and I like the simplicity of it. I then decided to use it with my browsers (Firefox, Chromium) and email client (Thunderbird) but every time I put the address of say archlinux.org it fails to log me in with the message:

Can't access to your password.
Please add your passphrase to gpg-agent first.

So ... I added "pinentry-program /usb/bin/pinentry-qt4" to my ~/.password-store/.gpg-agent.info; but it totally ignores it.

I read in this blog that the above should be a valid solution but not for me sad

Looking through the options here seems that the option I used should be valid.

If anyone in the forums is successfully using pass with Firefox/Chromium and/or Thunderbid I'd appreciate some advice.

Thanks.

R.

Moderator: If this topic belongs in a more appropriate place please move it. I could not find a "better" place for the topic  wink

Last edited by ralvez (2014-06-08 01:16:26)

Offline

#2 2014-06-08 01:25:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: pass works but not in Thunderbird

This is the right spot...

Isn't the 'pinentry-program' variable supposed to be defined in .gpg-agent.conf and the environment written to .gpg-agent.info?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-06-08 01:52:24

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: pass works but not in Thunderbird

@jasonwryan,

Thanks for your reply.

I do not have a .gpg-agent.conf

I created one in .password-store/.gpg-agent.conf but to no avail.
Should I create it somewhere else?

R.

Offline

#4 2014-06-08 04:02:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: pass works but not in Thunderbird

Mine is in ~/.gnupg/ but I don't have a DE or use pass; I use it for keychain to manage my gpg and ssh keys. On the other hand, it does work well. smile


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-06-08 04:28:01

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: pass works but not in Thunderbird

jasonwryan wrote:

Mine is in ~/.gnupg/ but I don't have a DE or use pass; I use it for keychain to manage my gpg and ssh keys. On the other hand, it does work well. smile

lol smile

Well ... I'm the kind of guy that likes a challenge. After all I use Arch tongue

Offline

#6 2014-06-08 05:53:30

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: pass works but not in Thunderbird

Well, after googling about this problem, I think that although my installation did not include the .gpg-agent.conf it should have it.
I also found that is should reside in ~/.gpg-agent.conf

Now, I have it there ... but no joy sad bummer!!

Offline

#7 2014-06-08 13:47:17

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: pass works but not in Thunderbird

If I'm reading this correctly, the problem lies with gpg-agent and not pass. Is that right? Have you set up GPG already (added a key and what-not)? Is ~/.password-store/.gpg-id present? You say that pass works great unless you use it with your browser, but then if you aren't using it with your browser already, how do you know it works? How are you trying to use it?

Offline

#8 2014-06-08 14:47:22

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: pass works but not in Thunderbird

@anoknusa,

Yup, you read it right.
The problem seems to be the gpg-agent. Pass works like a charm. I can store and recall passwords at will in the CLI but if I use Firefox and want to log in at archlinux.org I get the
pinagent-qt to complain that I need to "add your passphrase to gpg-agent first".

The way it currently works is "manually" by: pass site/id -c (the -c argument to put the password in memory) so I can go to a website and type my user and paste the password.

But there is a better way. In FF there is a plugin that will automate the process. You may have seen the plugin, if you use pass, because the developer of pass has a link to it. It reads the userid/password based on the site URI and automates the process.
That fails.

The error seems to indicate that something cannot be read or that I'm missing some configuration.  sad

R

Offline

#9 2014-06-10 22:39:30

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: pass works but not in Thunderbird

ralvez, I've played around a bit with that Firefox plugin and haven't been able to get it working. It will show me one of my stored passwords, allow me to select it, then tell me it doesn't exist despite showing it to me. Strange. None of the passwords for any of my accounts have worked, so I'm afraid I won't be any help to you. The plugin is still considered a beta release, so you might consider contacting the maintainer and report the issue.

Offline

#10 2014-06-10 22:58:43

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: pass works but not in Thunderbird

anoknusa,

Yup. Same here.
That's as far s I got  too. I guess I'll have to let it go for now. Nice idea, great concept ... if it worked smile

I very much appreciate the effort you put  to help. Very kind of you.

R.

Offline

#11 2014-06-11 01:37:14

smudge
Member
Registered: 2011-03-20
Posts: 158

Re: pass works but not in Thunderbird

ralvez wrote:

Well, after googling about this problem, I think that although my installation did not include the .gpg-agent.conf it should have it.
I also found that is should reside in ~/.gpg-agent.conf

Now, I have it there ... but no joy sad bummer!!

As far as I could tell when setting up pass, you have to create your own gpg-agent.conf and according to the man page it has to be ~/.gnupg/gpg-agent.conf by default. This might not help you with the Firefox plugin though.

Offline

#12 2014-06-11 02:26:32

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: pass works but not in Thunderbird

@smudge,

Yes. I did all that. I found the same info as you did somewhere with Google. wink
Appreciate your help.

R.

Offline

Board footer

Powered by FluxBB