Are you suggesting I should try a different version of gpg?

On Fri, Sep 15, 2023 at 6:38 AM Ihor Radchenko <yantar92@posteo.net> wrote:
Carlo Tambuatco <oraclmaster@gmail.com> writes:

>> From within Emacs. Try to open encrypted file.txt.gpg in Emacs, edit it,
>> and save.
>>
>
> Same behavior. Just tried it.
> From command line:
>
> gpg —symmetric newfile.txt
>
> this produces newfile.txt.gpg
>
> Open newfile.txt.gpg within emacs. Opens and decrypts into buffer just fine.
> Then edit the file and save with C-x C-s.
>
> Then emacs hangs. Have to C-g to get out of it.

Then, it has nothing to do with Org.

Looks like https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63882 - a known
issue with particular GPG version. But, AFAIK, that issue is limited to
GPG 2.4.1.

I would recommend you to double-check your GPG version and if it does
not fit bug#63882, report the problem to Emacs (M-x report-emacs-bug).

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>