From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marco Wahl Newsgroups: gmane.emacs.help Subject: Re: decrypt a file with hidden key (EPA) Date: Thu, 01 Oct 2015 09:30:13 +0200 Organization: Aioe.org NNTP Server Message-ID: <848u7navwa.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1443708361 17566 80.91.229.3 (1 Oct 2015 14:06:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Oct 2015 14:06:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 01 16:06:01 2015 Return-path: Envelope-to: geh-help-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 1ZheUa-0006K9-Pd for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 16:05:52 +0200 Original-Received: from localhost ([::1]:50547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZheUa-0005ZO-3b for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 10:05:52 -0400 Original-Path: usenet.stanford.edu!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: ASh6qbCdZbtM97nXJb9EyQ.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEX9/P3zn/zqYfve CPz///+XZmJwAAAAAWJLR0QEj2jZUQAAAAlwSFlzAAALEgAACxIB0t1+/AAAAAd0SU1FB94JCBca NKS0JvoAAAD9SURBVDjLnZRbssMgCIYFN2B0A2nYQCv731tFk+KFTHsOD52Ub+Dnljj3D4PoIJiA d36ZIcT8tPxb4mymYuLdzMR8A7YzIvJMsALPS23IoWU8QVBQu2HOVVJTJonwJ4AuY9VAA4A84qVB KuYoN8erVa3AiwhQLc5BNyHkh3jOv76bXMkVD2plAnV9EotkHX4ZULcDERQrLclvv0S1o98Nqnsb dpY+/nXrzcIdMLZrA/ozSN8inpMfvmWa/bKio0x9aQ/lCgLEBaR2ojCfMLRDK7UNRcV8XEeRhtsl Ld8P4DrZJSIpoOwGEQVTvbh/gP1aQyf3G8DbiHDzTRntDTmSOFjmLqzUAAAAGXRFWHRjb21tZW50 AENyZWF0ZWQgd2l0aCBHSU1Q569AywAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNC0wOS0wOFQyMzoy Njo1MiswMjowMPcoeH4AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTQtMDktMDhUMjM6MjY6NTIrMDI6 MDCGdcDCAAAAAElFTkSuQmCC X-Face: &"bk.O^qRpF*sK+/, &mRxu!P61bKc5"jprbZ_Rax6=! I`CX6#kmDJ~k3QZ, 69ZJor.hJCO)QXAv?&~]EP.<'HHmggrk?>ptlgr:`@WB+YuWwL=^Hl7iYYD"J) "/wg9Ps9}&2Dy^/:1V~vvHS+hK0}6P{*i`"Zyx8 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107414 Archived-At: Philipp Haselwarter writes: > I'm trying to use emacs to decrypt a file that was encrypted with gpg's > hidden-encrypt-to option, i.e. the file doesn't tell which key it was > encrypted for. But epa doesn't query me for a key to use during > decryption, it just fails with > >> Error while decrypting with "gpg": >> >> gpg: encrypted with RSA key, ID 00000000 >> gpg: decryption failed: No secret key > > Can EPA be configured to deal with this? Or is there something smart in > my gpg.conf missing? +1 (I'm also interested in answers to these questions.) Sidenote: Actually it is possible to decrypt a file which has been encrypted with the hidden-encrypt option by referencing the key explicitly. E.g. concretely gpg --try-secret-key 3E7C2CBACBABDA5BD6995A4C49010A040A3AE6F2 encrypted.file.gpg -- Marco Wahl GPG: 0x49010A040A3AE6F2