From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Cubizolles Subject: Re: org-passwords.el and encryption Date: Thu, 28 Apr 2016 22:57:56 +0200 Message-ID: <877ffhcuy3.fsf@free.fr> References: <87egbgug0n.fsf@free.fr> <87y49oneek.fsf@ucl.ac.uk> <87lh3z8fkj.fsf@pinto.chemeng.ucl.ac.uk> <5c0fae869af046c9bc65aeae572a7693@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87eg9qvrd9.fsf@ucl.ac.uk> <2120266e262744119e766b3f19fd807c@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87zisejiei.fsf@delle7240.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avt0f-0000oO-3Y for emacs-orgmode@gnu.org; Thu, 28 Apr 2016 16:58:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avt0Z-0005Si-Pu for emacs-orgmode@gnu.org; Thu, 28 Apr 2016 16:58:05 -0400 Received: from smtp2-g21.free.fr ([212.27.42.2]:61666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avt0Z-0005SK-Ig for emacs-orgmode@gnu.org; Thu, 28 Apr 2016 16:57:59 -0400 In-Reply-To: <87zisejiei.fsf@delle7240.chemeng.ucl.ac.uk> (Eric S. Fraga's message of "Thu, 28 Apr 2016 08:34:45 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "emacs-orgmode@gnu.org" , Eric S Fraga Eric S Fraga writes: > On Wednesday, 27 Apr 2016 at 19:23, Julien Cubizolles wrote: >> also, running: >> >> keychain --eval --agents ssh,gpg id_rsa MYGPGKEY >> >> in a non login shell. > > The only thing I can think of is that maybe you have not installed all > the relevant packages for the agents or that the permissions on the > various directories (.ssh, .gnupg) are incorrectly set? Actually I noticed another weird behaviour: the problem disappears when I log onto the machine via ssh from another one. The keychain commands in the .bash_profile correctly activates ssh-agent and gpg-agent. I have the same setup on two machines and login into 2 via ssh from 1 works whereas login into 2 from 2 doesn't (and vice-versa). Maybe something different in the environment variables. I'll investigate. > Maybe ask on the bug system for keychain mentioned in the man page? I will. Regards, Julien.