Re: [EasyPG (epa)] Emacs can't save modified encrypted file

2023-05-05 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> - [X] Then I check out Emacs source code file "epg.el" & "epa.el" file >> git log. -> have not found obvious gpg command-line options related to >> the problem. One small possible commit might be >>

Re: [EasyPG (epa)] Emacs can't save modified encrypted file

2023-05-05 Thread Ihor Radchenko
"Christopher M. Miles" writes: > - [X] Then I check out Emacs source code file "epg.el" & "epa.el" file > git log. -> have not found obvious gpg command-line options related to > the problem. One small possible commit might be > "82388dff8ed006cecb65ea7a4afd8667ec44b5e3". One of the

Re: [EasyPG (epa)] Emacs can't save modified encrypted file

2023-05-05 Thread Christopher M. Miles
Ihor Radchenko writes: > Some more info: > https://old.reddit.com/r/emacs/comments/137r7j7/gnupg_241_encryption_issues_with_emacs_orgmode/ Indeed same problem as mine. Thanks Ihor - [X] *downgrade* GnuPG from 2.4.1 -> 2.4.0 temporary get around the problem. #+begin_src sh brew info

Re: [Uploaded Edebug video] Re: [EasyPG (epa)] Emacs can't save modified encrypted file

2023-05-04 Thread Ihor Radchenko
Some more info: https://old.reddit.com/r/emacs/comments/137r7j7/gnupg_241_encryption_issues_with_emacs_orgmode/

Re: [Uploaded Edebug video] Re: [EasyPG (epa)] Emacs can't save modified encrypted file

2023-05-03 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Ok, I upload on Disroot website: >> >> https://upload.disroot.org/r/7skmXw7a#zt0jISsPuV0f3LkY9aRyz77X3iAOyD3cuue1Fbi9zy0= > > So, the hang happens on `epg-wait-for-status'. > So, again, may you try to run the exact command line

Re: [Uploaded Edebug video] Re: [EasyPG (epa)] Emacs can't save modified encrypted file

2023-05-03 Thread Ihor Radchenko
"Christopher M. Miles" writes: > Ok, I upload on Disroot website: > > https://upload.disroot.org/r/7skmXw7a#zt0jISsPuV0f3LkY9aRyz77X3iAOyD3cuue1Fbi9zy0= 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

Re: [EasyPG (epa)] Emacs can't save modified encrypted file

2023-05-03 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> GPG_AGENT_INFO is not set >> /opt/homebrew/bin/gpg --no-tty --status-fd 1 --yes >> --enable-progress-filter --command-fd 0 >> --output /var/folders/ym/f3v5_yk1279g5ls70x3hzblhgn/T/epg-outputxPZRrb >> --pinentry-mode >>

Re: [EasyPG (epa)] Emacs can't save modified encrypted file

2023-05-03 Thread Ihor Radchenko
"Christopher M. Miles" writes: > GPG_AGENT_INFO is not set > /opt/homebrew/bin/gpg --no-tty --status-fd 1 --yes --enable-progress-filter > --command-fd 0 --output > /var/folders/ym/f3v5_yk1279g5ls70x3hzblhgn/T/epg-outputxPZRrb > --pinentry-mode loopback --encrypt -r 1B5DF1C95AE89AC3

Re: [EasyPG (epa)] Emacs can't save modified encrypted file

2023-05-03 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> Do you have any issues decrypting and encrypting files from command >>> line? If no, what about from M-x shell? If yet no, what if you call gpg >>> via `start-process'? >>> >> >> - [X] test decrypt & encrypt in terminal with gpg

Re: [EasyPG (epa)] Emacs can't save modified encrypted file

2023-05-02 Thread Ihor Radchenko
"Christopher M. Miles" writes: >> Do you have any issues decrypting and encrypting files from command >> line? If no, what about from M-x shell? If yet no, what if you call gpg >> via `start-process'? >> > > - [X] test decrypt & encrypt in terminal with gpg command. -> works fine. > > - [X] test

Re: [EasyPG (epa)] Emacs can't save modified encrypted file

2023-05-02 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I downgrade gnupg, then the problem solved. But the downgrade version is >> very old (gnupg@2.4.1 -> gnupg@2.2.41). I suspend problem is somewhere >> else, like Emacs interaction with GnuPG process. > > Do you have any issues

Re: [EasyPG (epa)] Emacs can't save modified encrypted file

2023-05-02 Thread Ihor Radchenko
"Christopher M. Miles" writes: > I downgrade gnupg, then the problem solved. But the downgrade version is > very old (gnupg@2.4.1 -> gnupg@2.2.41). I suspend problem is somewhere > else, like Emacs interaction with GnuPG process. Do you have any issues decrypting and encrypting files from