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

推荐订阅源

L
LangChain Blog
C
Check Point Blog
月光博客
月光博客
Y
Y Combinator Blog
I
InfoQ
B
Blog RSS Feed
P
Proofpoint News Feed
腾讯CDC
博客园 - Franky
MyScale Blog
MyScale Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
V2EX
Hugging Face - Blog
Hugging Face - Blog
V
Visual Studio Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
云风的 BLOG
云风的 BLOG
罗磊的独立博客
B
Blog
人人都是产品经理
人人都是产品经理
Engineering at Meta
Engineering at Meta
MongoDB | Blog
MongoDB | Blog
Recent Announcements
Recent Announcements
美团技术团队
大猫的无限游戏
大猫的无限游戏

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.