From 8e8084bf9c54700b16b9c7325e91256043a837f0 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 3 Mar 2013 10:48:30 +2000 Subject: [PATCH] Re: [PATCH] cli: crypto: tell gmime to use gpg-agent --- a4/aad2bca68822ab9a5921b5a22f735af8a89e57 | 64 +++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 a4/aad2bca68822ab9a5921b5a22f735af8a89e57 diff --git a/a4/aad2bca68822ab9a5921b5a22f735af8a89e57 b/a4/aad2bca68822ab9a5921b5a22f735af8a89e57 new file mode 100644 index 000000000..0b01f0917 --- /dev/null +++ b/a4/aad2bca68822ab9a5921b5a22f735af8a89e57 @@ -0,0 +1,64 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 214E9431FAF + for ; Sat, 2 Mar 2013 06:48:41 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id vkqpHqjbm7pR for ; + Sat, 2 Mar 2013 06:48:40 -0800 (PST) +Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 0D9DB431FAE + for ; Sat, 2 Mar 2013 06:48:40 -0800 (PST) +Received: from fctnnbsc30w-156034082078.dhcp-dynamic.fibreop.nb.bellaliant.net + ([156.34.82.78] helo=zancas.localnet) + by tesseract.cs.unb.ca with esmtpsa + (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) + (envelope-from ) + id 1UBnjo-0006c7-5U; Sat, 02 Mar 2013 10:48:38 -0400 +Received: from bremner by zancas.localnet with local (Exim 4.80) + (envelope-from ) + id 1UBnji-0002A4-D1; Sat, 02 Mar 2013 10:48:30 -0400 +From: David Bremner +To: Jani Nikula , notmuch@notmuchmail.org +Subject: Re: [PATCH] cli: crypto: tell gmime to use gpg-agent +In-Reply-To: <1361950838-22919-1-git-send-email-jani@nikula.org> +References: <1361950838-22919-1-git-send-email-jani@nikula.org> +User-Agent: Notmuch/0.15.2+32~g16aa65b (http://notmuchmail.org) Emacs/24.2.1 + (x86_64-pc-linux-gnu) +Date: Sat, 02 Mar 2013 10:48:30 -0400 +Message-ID: <877glp7t8h.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +X-Spam_bar: - +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 02 Mar 2013 14:48:41 -0000 + +Jani Nikula writes: + +> For decryption, we expect there to be a functioning gpg-agent, and we +> want gpg to talk to it for any needed credentials. There's a gmime +> function to declare that: g_mime_gpg_context_set_use_agent() [1], [2]. +> Start using it. + +Pushed this, and the followup man page patch. -- 2.26.2