From: Daniel Pimentel <d4n1@openmailbox.org>
To: ludo@gnu.org
Cc: guix-devel@gnu.org
Subject: Re: Guix GnuPg
Date: Mon, 18 May 2015 09:22:00 -0300 [thread overview]
Message-ID: <5376398b69474371439429bea64d72ea@openmailbox.org> (raw)
In-Reply-To: <87h9rbj6v3.fsf@gnu.org>
On 2015-05-17 17:18, ludo@gnu.org wrote:
> Daniel Pimentel <d4n1@openmailbox.org> skribis:
>
>> So, I install pinentry in my user profile (guix package -i
>> pinentry). I see other same error in other distribution GNU/Linux, so
>> I created a gpg-agent.conf file in my gnupg folder (~/.gnupg) then add
>> path to pinentry:
>> pinentry-program /home/dani/.guix-profile/bin/pinentry-curses. But
>> don't work.
>
> I do exactly that but with pinentry-gtk, on GnuPG 2.0, and it works for
> me.
>
> You probably need to restart gnupg-agent after installing
> gpg-agent.conf, and to make sure the right environment variables are
> defined in the shell where gpg runs.
>
> I have this in my ~/.xsession:
>
> eval `gpg-agent --daemon --enable-ssh-support --write-env-file
> ~/.gnupg-agent-env`
>
> so I can always source ~/.gnupg-agent-env.
>
> HTH,
> Ludo’.
Thanks man for your help.
So, in my case (I'm use 'exec startxfce4' in my .xsession and nothing
more) gnupg2 not generate key with pinentry (default) or
pinentry-curses, but with pinentry-gtk-2 it's work. Then this my
solution is add correct path to pinentry-gtk-2 binary:
echo "pinentry-program /home/dani/.guix-profile/bin/pinentry-gtk-2" >
~/.gnupg/gpg-agent.conf
This solution work for me and your solution too.
Thanks,
--
Daniel Pimentel (d4n1)
prev parent reply other threads:[~2015-05-18 12:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-17 15:25 Guix GnuPg Daniel Pimentel
2015-05-17 20:18 ` Ludovic Courtès
2015-05-18 12:22 ` Daniel Pimentel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5376398b69474371439429bea64d72ea@openmailbox.org \
--to=d4n1@openmailbox.org \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).