From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#23166: 24.5; Cannot send GPG-encrypted mail to key without email Date: Thu, 31 Mar 2016 09:40:39 +0200 Message-ID: References: <87oa9vo9wj.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1459410082 11657 80.91.229.3 (31 Mar 2016 07:41:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Mar 2016 07:41:22 +0000 (UTC) Cc: 23166@debbugs.gnu.org To: Arne Babenhauserheide Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 31 09:41:11 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1alXE7-00038e-Cs for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Mar 2016 09:41:11 +0200 Original-Received: from localhost ([::1]:58565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alXE6-0006J9-SQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Mar 2016 03:41:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alXE3-0006Is-BV for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2016 03:41:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alXDy-0001IJ-BO for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2016 03:41:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alXDy-0001IF-7g for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2016 03:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1alXDx-0006fx-Uq for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2016 03:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Mar 2016 07:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23166 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23166-submit@debbugs.gnu.org id=B23166.145941004325630 (code B ref 23166); Thu, 31 Mar 2016 07:41:01 +0000 Original-Received: (at 23166) by debbugs.gnu.org; 31 Mar 2016 07:40:43 +0000 Original-Received: from localhost ([127.0.0.1]:45716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1alXDf-0006fK-1m for submit@debbugs.gnu.org; Thu, 31 Mar 2016 03:40:43 -0400 Original-Received: from mx2.suse.de ([195.135.220.15]:43957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1alXDc-0006fA-QR for 23166@debbugs.gnu.org; Thu, 31 Mar 2016 03:40:41 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Original-Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id F36B0AB5D; Thu, 31 Mar 2016 07:40:38 +0000 (UTC) X-Yow: Life is a POPULARITY CONTEST! I'm REFRESHINGLY CANDID!! In-Reply-To: <87oa9vo9wj.fsf@web.de> (Arne Babenhauserheide's message of "Thu, 31 Mar 2016 00:53:16 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115798 Archived-At: Arne Babenhauserheide writes: > Hi, > > I am trying to send an encrypted email with mu4e using > mml-generate-mime to a friend whose GPG key does not have an > associated email address. > > I get the error ("No public key for %s" <...>). > > I tried adding an explicit key or name to the <#secure tag, but it does not work: > > < #secure method=pgpmime mode=signencrypt recipients=KEYID > > > How can I specify an exact key ID to use? In 24.5, mml-generate-mime-1 uses (message-options-set 'message-recipients recipients) to set the recipients, but mml2015-epg-encrypt expects them in the mml2015-epg-recipients option. That appears to be fixed already in 25.1, as part of the mml2015 refactoring in commit 9e0fc61. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."