From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C1F6613877A for ; Mon, 7 Jul 2014 00:45:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BB3D9E0815; Mon, 7 Jul 2014 00:45:53 +0000 (UTC) Received: from mail-ve0-f193.google.com (mail-ve0-f193.google.com [209.85.128.193]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B6893E07D2 for ; Mon, 7 Jul 2014 00:45:52 +0000 (UTC) Received: by mail-ve0-f193.google.com with SMTP id db11so1080178veb.8 for ; Sun, 06 Jul 2014 17:45:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=qIyYRkyLBmVsm5ilQriQJj1Am2WwwyCkCS1p99Kv2fg=; b=Z61VISCq3zG7Ebi/N8kq25ZHkbiknLcX/Xu0er6yGC5E8JGurwjO20dYp70AlHPyf1 x774hyo5xCA1T9b5leUv5gutD1zMiW1hSAjkXvaLbCmMhzUH92dnY0bnLm0yRL4LKA/C IEN7GnmWM9wtCfv/Xz3IPIReL0Z+R1V+MVuWJWSelK2OwLbO99rwWzWID0ZreCPMIoLJ o8vLKTY4VzFtw77dhERZEIMmvEl3Pz5N8ARCOBvotS1D6i1hVqUcf/1X+H1SPp9H0qMW +MCNfv0klUU6mj79U8QK8bWOQ5zcNzyAxyhFi6fLWFAGouYfbzxAyO5eQDbRtJU9Tw42 XSeQ== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.52.116.194 with SMTP id jy2mr7920062vdb.39.1404693952048; Sun, 06 Jul 2014 17:45:52 -0700 (PDT) Sender: freemanrich@gmail.com Received: by 10.52.72.19 with HTTP; Sun, 6 Jul 2014 17:45:51 -0700 (PDT) In-Reply-To: References: <53B9B279.2070509@gmail.com> Date: Sun, 6 Jul 2014 20:45:51 -0400 X-Google-Sender-Auth: oErAxdAvT5maUFWQ_SCl3EpYc4o Message-ID: Subject: Re: [gentoo-user] How does ssh know to use "pinentry"? From: Rich Freeman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: e5fd1308-510f-4604-9417-d1134718ad12 X-Archives-Hash: 5a3913f173c89898c6112694b472b150 On Sun, Jul 6, 2014 at 8:40 PM, Chris Stankevitz wrote: > > On another note, from my OP, I am still curious how the ssh software > knows to use /usr/bin/pinentry to fetch my passphrase. In a follow-up > post, I discovered that this mechanism only works if an environment > variable called GPG_AGENT_INFO is set. I doubt the ssh source code > contains the string "/usr/bin/pinentry" or "GPG_AGENT_INFO". GPG_AGENT_INFO tells ssh to use gpg-agent. ~/.gnupg/gpg-agent.conf tells gpg-agent to use pinentry. Rich