From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4IxOIc4ZU2SlDgEASxT56A (envelope-from ) for ; Thu, 04 May 2023 04:34:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6MBTIc4ZU2QdJwAA9RJhRA (envelope-from ) for ; Thu, 04 May 2023 04:34:54 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 179872B2A3 for ; Thu, 4 May 2023 04:34:54 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puOn8-0000k0-9D; Wed, 03 May 2023 22:33:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puOn6-0000gB-J6 for emacs-orgmode@gnu.org; Wed, 03 May 2023 22:33:56 -0400 Received: from [2409:8a28:6038:2b80:52d2:f5ff:fe16:c591] (helo=Mac-mini.local) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puOn4-0003Xz-2b for emacs-orgmode@gnu.org; Wed, 03 May 2023 22:33:56 -0400 Received: by Mac-mini.local (Postfix, from userid 501) id 334E58AFE1AC; Thu, 4 May 2023 10:33:45 +0800 (CST) References: <87pm7lyvdd.fsf@localhost> <87jzxsqyme.fsf@localhost> <874jow8eaf.fsf@localhost> <871qk08bwi.fsf@localhost> <87jzxrdjyn.fsf@localhost> <87354esdhk.fsf@localhost> <87ild9aa8u.fsf@localhost> <87ild9uz4c.fsf@localhost> <877ctputay.fsf@localhost> User-agent: mu4e 1.10.3; emacs 30.0.50 From: "Christopher M. Miles" To: Ihor Radchenko Cc: "Christopher M. Miles" , emacs-orgmode@gnu.org, Karl Voit Subject: Re: [Uploaded Edebug video] Re: [EasyPG (epa)] Emacs can't save modified encrypted file Date: Thu, 04 May 2023 10:28:04 +0800 In-reply-to: <877ctputay.fsf@localhost> Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2409:8a28:6038:2b80:52d2:f5ff:fe16:c591 (deferred) Received-SPF: softfail client-ip=2409:8a28:6038:2b80:52d2:f5ff:fe16:c591; envelope-from=numbchild@gmail.com; helo=Mac-mini.local X-Spam_score_int: 25 X-Spam_score: 2.5 X-Spam_bar: ++ X-Spam_report: (2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, MSGID_MULTIPLE_AT=1, NML_ADSP_CUSTOM_MED=0.9, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, SPOOFED_FREEMAIL_NO_RDNS=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: numbchild@gmail.com Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683167694; a=rsa-sha256; cv=none; b=gzNyG9hZgyomb2EzFtxxTLHCQqvX5C+oYsQ0C1VHUNDX/cuGWnT4pxUBOfszKDpx9GwSgW luK9kXYX1PB3CgO/jW6oDWBcQUZ7d/ZYYb9p5uoqpoYemiPBPHQaA+AUZ9uRtzBE9tTPoz vBOhi2yb1ULujo00k+WhDpXhIpuxAPtChnNa+uGJn4FQMhnNcTD7PyL/rOFcT2FHngGcF/ Qd1AeEpsZ1IofgXwQSkVfUNJ8giNBbihZlbpKNfvEBlP1+248c6iG8DIZpPuhZnldqRP7a 69lMdHj1KLUJ/RIUL6Av5Tu5ApZ7Bqf6WFyZRqss42rpdomX23CiDhumkRnyWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683167694; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=IyKzXJ35P/haFPPf+jq6Gxmh8wrwTd/M0GcJ7PPiQfw=; b=ON4PQrIYgoM+AehAwJDT/CX/QNEjZR0vZWmxYFGNW1Uxauisv3s8IktUkB5ZDRFeLTPnW2 zPKryCpv1jpUMlKIPM4C/x9VJVJO0wSAMNPAsZezXXbSq7A0I0Cpsx/H9cQCR0iQlcOjtI LVE2WFx+yDGac+S3AKwmLOPd9244w58CI6iHeyjpPqLOYQuHa2V68pmDnP99wC81ZDqWEv AS/Z4WV+YltLiIBK7VbFsE/voCHGrbyTjV6kQ5c8i2I1kFgolAE7uR2o8QR75g4uDs5rJ9 EHqZzPYo66CtRp+FckzgMXQ0w5sMwRUTsSiB1ZN/h2nZ/vY/nHIPqlTsnmUYZQ== X-Migadu-Spam-Score: -1.41 X-Spam-Score: -1.41 X-Migadu-Queue-Id: 179872B2A3 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: +pdIp2DXEkwF --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Ok, I upload on Disroot website: >> >> https://upload.disroot.org/r/7skmXw7a#zt0jISsPuV0f3LkY9aRyz77X3iAOyD3cuu= e1Fbi9zy0=3D > > So, the hang happens on `epg-wait-for-status'. > So, again, may you try to run the exact command line (including absence > of input file) manually in terminal? > > Basically, `epg-wait-for-status' is looking at the output of gpg, > waiting for "[GNUPG:] BEGIN_ENCRYPTION" and never gets that status from > gpg. AFAIU. I executed bellowing command in terminal without input file. (I added aside comment using marker "|<--") #+begin_src sh :eval no $ gpg --no-tty --status-fd 1 --yes --enable-progress-filter --command-fd 0 = --pinentry-mode loopback --encrypt -r 1B5DF1C95AE89AC3 -r B8C4B8E547C32433 [GNUPG:] KEY_CONSIDERED F09F650D7D674819892591401B5DF1C95AE89AC3 0 [GNUPG:] KEY_CONSIDERED 9BAA92BCCDDDB9EF3B36CB99B8C4B8E547C32433 0 [GNUPG:] KEY_CONSIDERED F09F650D7D674819892591401B5DF1C95AE89AC3 0 gpg: 1B5DF1C95AE89AC3: skipped: public key already present |<-- gpg wait = for input and stopped here. [GNUPG:] BEGIN_ENCRYPTION |<-- followed = your hints, I input "[GNUPG:] BEGIN_ENCRYPTION" manually here. hello |<-- I input t= ext manually here. [GNUPG:] PROGRESS stdin ? 0 0 B |<-- gpg start= to encrypting =3D9I'iz^z=3D=C8=BA*pD>n=CC=AFdCj.:wD"zCy 8$| xMIiEXM{q2]"k1vx_$xIc3^L!L' $_=D1=83p T%QC a^i W=DB=84Su=DA=85k?#\T}7 QhkwvUI#>^xNg{ #v/j=CD=BDrW[q9,W'%=CF=BDVZ53BJGm_0VL`*vgT}[eQA:amRs?+z}6A/"b(?QU5*>=C9=A8W= QD$ih@ep^9<~[=3D5