From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Julien Cubizolles <j.cubizolles@free.fr>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: org-passwords.el and encryption
Date: Wed, 27 Apr 2016 12:19:08 +0100 [thread overview]
Message-ID: <87lh3z8fkj.fsf@pinto.chemeng.ucl.ac.uk> (raw)
In-Reply-To: <b73fb254715948c184bd36568dac3ac9@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (Julien Cubizolles's message of "Wed, 27 Apr 2016 09:57:40 +0000")
On Wednesday, 27 Apr 2016 at 09:57, Julien Cubizolles wrote:
> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> I use gpg-agent in conjunction with keychain. Generally works very
>> well.
>
> I'm trying to set it up but I'm running into problems. Could you precise
> a few details:
>
> + do you run keychain from your ~/.profile, and so how ? If I follow the
> instructions at http://www.funtoo.org/Keychain, keychain can't start
> in the login screen of the display manager (lightdm on Ubuntu in my
> case)
I have keychain in both my .bash_profile (for when I log in in console
mode or remotely) and in my .xinitrc. The latter is used by lightdm but
only when you have selected a non-standard desktop environment (not sure
which setting but not one of gnome, kde, etc.). I use ratpoison...
> + do you use keychain to also manage ssh keys? If so does it use a
> graphical tool to ask for your passphrase ?
Yes. And yes: pinentry. I should say that keychain works without fault
for ssh but see below for gpg.
> + how does emacs ask for the gpg passphrase: graphical (pinentry), emacsclient or
> in a minibuffer ?
Sometimes, emacs will ask and usually does so in the minibuffer. I
cannot answer more precisely because although I am running Debian
testing on all of my systems, they all behave slightly differently when
it comes to ssh and gpg key management. I obviously do not have exactly
the same packages installed on all of my systems...
My keychain line in my .xinitrc is:
eval $(keychain --eval --agents ssh,gpg id_rsa gpgkey )
I think the gpgkey needs to be the subkey but I am not sure.
My .bash_profile has essentially the same.
HTH,
eric
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-655-g9fb077
next prev parent reply other threads:[~2016-04-27 11:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-12 10:50 org-passwords.el and encryption Julien Cubizolles
2016-03-12 11:06 ` Eric S Fraga
2016-03-14 5:07 ` Julien Cubizolles
2016-04-27 9:57 ` Julien Cubizolles
[not found] ` <b73fb254715948c184bd36568dac3ac9@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-04-27 11:19 ` Eric S Fraga [this message]
2016-04-27 16:24 ` Julien Cubizolles
[not found] ` <5c0fae869af046c9bc65aeae572a7693@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-04-27 18:28 ` Eric S Fraga
2016-04-27 19:23 ` Julien Cubizolles
[not found] ` <2120266e262744119e766b3f19fd807c@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-04-28 7:34 ` Eric S Fraga
2016-04-28 20:57 ` Julien Cubizolles
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://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lh3z8fkj.fsf@pinto.chemeng.ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=j.cubizolles@free.fr \
/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/emacs/org-mode.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).