平衡点


2024/05/21

_ GnuPG が 2.2.43 に更新されて, Emacs の EasyPG でファイルが保存できなくなりました

なお, 読むのは OK です.

一応, レポートしておいたけれど, GnuPG >= 2.4.1 からのハマり所の模様で, GnuPG >= 2.4.4 で解決済ではあるものの, sid の GnuPG は 5/13 に 2.2.43 に更新されたばかりなのであった.

詳細: https://github.com/emacs-mirror/emacs/blob/master/etc/PROBLEMS を参照

Saving a file encrypted with GnuPG via EasyPG hangs.

This is known to happen with GnuPG v2.4.1. The only known workaround is to downgrade to a version of GnuPG older than 2.4.1, or upgrade to version 2.4.4 and newer, which reportedly solves the problem. Note that GnuPG v2.2.42 and later also has this problem, so you should also avoid those later 2.2.4x versions; v2.2.41 is reported to work fine.

GnuPG 側の Bug Report は https://dev.gnupg.org/T6481

一応

  1. experimental の gnupg を利用する(現時点では 2.4.5)
  2. snapshot.debian.org あたりから 2.2.40 のパッケージを探してインストールして hold しておく.
  3. 対称鍵暗号を使わないならば, g新部さんが投げてくれてる patch を epg.el に当てる

が workaround であろうか.

いやあ, 半日溶けた…Orz

GnuPG の方にも投げておいたり

_ 久々に esup を走らせたら

うーん?

init.el:5  0.007sec   91%
(eval-and-compile
  (when load-file-name
    (setq user-emacs-directory
          (expand-file-name (file-name-directory load-file-name))))
  (defconst my:d:share
    (expand-file-name "share/" user-emacs-directory))
  (defconst my:d:tmp
    (expand-file-name ".cache/emacs/" (getenv "HOME")))
  (defconst my:d:cache
    (expand-file-name ".cache/" (getenv "HOME")))
  (defconst my:d:org
    (expand-file-name "~/Nextcloud/org")))

init.el:18  0.000sec   6%
(dolist (dir (let ((dir (expand-file-name "elisp" my:d:share)))
               (list dir (format "%s%d" dir emacs-major-version))))
  (when (and (stringp dir) (file-directory-p dir))
    (let ((default-directory dir))
      (add-to-list 'load-path default-directory)
      (normal-top-level-add-subdirs-to-load-path))))

…ほんとか?


連絡先など
最近の日記
  • 2024/06/19
    • 1. WSL2 での gpg-agent, ssh-agent
  • 2024/06/18
    • 1. WSL で Windows 側のフォントを利用する
  • 2024/06/17
    • 1. WSLとWindowsの時刻同期
  • 2024/06/12
    • 1. wsl2 で systemd
    • 2. wslg の設定
  • 2024/05/21
    • 1. GnuPG が 2.2.43 に更新されて, Emacs の EasyPG でファイルが保存できなくなりました
    • 2. 久々に esup を走らせたら
一覧
2006|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|02|03|04|08|09|10|11|12|
2013|01|02|03|04|05|06|08|09|10|11|12|
2014|01|02|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|09|10|
2016|02|03|
2017|01|02|03|05|06|07|09|11|12|
2018|03|06|07|10|11|12|
2019|01|02|03|04|05|07|10|12|
2020|01|02|03|04|05|08|09|10|11|12|
2021|01|02|03|05|06|07|08|09|11|12|
2022|01|02|03|04|05|06|08|10|11|12|
2023|02|03|04|06|08|09|11|12|
2024|01|02|03|04|05|06|
Back to Top ▲