惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Hugging Face - Blog
Hugging Face - Blog
F
Fortinet All Blogs
G
Google Developers Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
V2EX
Y
Y Combinator Blog
博客园_首页
Martin Fowler
Martin Fowler
博客园 - 司徒正美
MyScale Blog
MyScale Blog
宝玉的分享
宝玉的分享
B
Blog
有赞技术团队
有赞技术团队
A
About on SuperTechFans
量子位
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
酷 壳 – CoolShell
酷 壳 – CoolShell
Apple Machine Learning Research
Apple Machine Learning Research
M
MIT News - Artificial intelligence
阮一峰的网络日志
阮一峰的网络日志
Jina AI
Jina AI

John Bokma's Hacking and Hiking

Setting up a Brother AirPrinter on Ubuntu Failed to verify signature archive-contents.sig in Emacs PAR trouble How To Create a Bootable LibreELEC Installation using Mac OS Running pdflatex Using the Alpine Pandoc LaTeX Docker Image A Docker Image for Sass Timezones in Alpine Docker Containers A Tale of Three Docker Images Debugging a Perl Docker container Perl Time::Piece Unicode Issue Giving Docker Desktop for macOS a Second Chance Flashing another TP-Link TL-WDR4300 with OpenWrt firmware Rehousing two tarantulas Getting started with the Perl version of tumblelog on Ubuntu 18.04 LTS A visit to Avonturia De Vogelkelder Flashing a TP-Link TL-WDR4300 with OpenWrt firmware Mounting a VDI File in a Different VirtualBox Guest Wireless Headless Raspberry Pi - John Bokma A Matter of Time - John Bokma Hand coding an RSS 2.0 feed in Python RFC #822 and RFC #3339 dates in Perl RFC #822 and RFC #3339 dates in Python Hand coding an RSS 2.0 feed in Perl Nav Element with no Heading Rewriting CommonMark Nodes in Perl "right" this time
Aquamacs 3.6 Hangs When Saving An Encrypted File
John Bokma · 2023-05-26 · via John Bokma's Hacking and Hiking

May 25, 2023

In the evening I wanted to save an encrypted text file I had open in Aquamacs version 3.6 on my Mac mini. This somehow hung up Aquamacs until I pressed C-g. After some Googling I found a solution: downgrade GNU Privacy Guard from version 2.4.1 back to version 2.4.0.

First I verified that I indeed was running 2.4.1 which seems to cause this issue in Emacs and hence Aquamacs:

rhea:~ john$ gpg2 --version
gpg (GnuPG) 2.4.1
libgcrypt 1.10.2
Copyright (C) 2023 g10 Code GmbH
License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /Users/john/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

I am using Mac Ports so I read how to install an older version of a port which turned out to be easy.

First, I checked if the older port was still installed using: port installed gnupg2. This reported:

The following ports are currently installed:
  gnupg2 @2.2.15_0+openldap+pinentry_mac
  gnupg2 @2.2.16_0+openldap+pinentry_mac
  gnupg2 @2.2.17_0+openldap+pinentry_mac
  gnupg2 @2.2.23_0+openldap+pinentry_mac
  gnupg2 @2.2.25_0+openldap+pinentry_mac
  gnupg2 @2.2.34_0+openldap+pinentry_mac
  gnupg2 @2.2.36_0+openldap+pinentry_mac
  gnupg2 @2.4.0_0+openldap+pinentry_mac
  gnupg2 @2.4.1_0+openldap+pinentry_mac (active)

Next, I activated the previous version of GNU Privacy Guard using:

rhea:~ john$ sudo port activate gnupg2 @2.4.0_0+openldap+pinentry_mac
--->  Computing dependencies for gnupg2
--->  Deactivating gnupg2 @2.4.1_0+openldap+pinentry_mac
--->  Cleaning gnupg2
--->  Activating gnupg2 @2.4.0_0+openldap+pinentry_mac
--->  Cleaning gnupg2

Finally, I verified that I now could save the file encrypted. And indeed saving the file worked without any problems.