- [X] find bellowing two key ID belongs where Untrusted key "AEDA8A17BB08B786" ---> fingerprint "0DEF7425E79FE2E0090B424BAEDA8A17BB08B786" --> my old key ((invalid-recipient (reason . 10) (requested . "B8C4B8E547C32433"))) --> "F09F650D7D674819892591401B5DF1C95AE89AC3" --> my current new gnupg key Question: I don't know why my current gnupg key and old gnupg key are together. Here is my Emacs EasyPG (epa) config: #+begin_src emacs-lisp (use-package epa ;; force Emacs to use its own internal password prompt instead of an external ;; pinentry program. :preface (setenv "GPG_AGENT_INFO" nil) :custom ((epa-pinentry-mode 'loopback) ; let EasyPG Assistant to use loopback for pinentry. ;; cache passphrase for symmetric encryption. ;; For security reasons, this option is turned off by default and ;; not recommended to use. Instead, consider using gpg-agent which ;; does the same job in a safer way. (epa-file-cache-passphrase-for-symmetric-encryption t) (epa-file-inhibit-auto-save t) (epa-keyserver "keys.openpgp.org") (epa-file-encrypt-to '("F09F650D7D674819892591401B5DF1C95AE89AC3" "stardiviner" "numbchild@gmail.com")) (epa-file-select-keys (if (null epa-file-encrypt-to) t nil))) :commands (epa-search-keys) :init (epa-file-enable) (add-to-list 'display-buffer-alist '("^\\*Keys\\*" . (display-buffer-below-selected))) :config ;; Decrypt to load session at Emacs startup beginning to avoid pause prompt. (my/json-read-value my/account-file 'ejc-sql-postgresql)) #+end_src #+begin_src sh gpg --list-public-keys 0DEF7425E79FE2E0090B424BAEDA8A17BB08B786 #+end_src #+RESULTS[(2023-05-02 10:28:48) 8315506b0a6956294dbacb0276a25b482a834e5c]: : pub rsa2048 2012-03-02 [SC] : 9BAA92BCCDDDB9EF3B36CB99B8C4B8E547C32433 : uid [ultimate] Christopher Miles (stardiviner, numbchild) : sub rsa2048 2012-03-02 [E] : #+begin_src sh :eval no gpg --edit-key 0DEF7425E79FE2E0090B424BAEDA8A17BB08B786 #+end_src - [X] downgrade macOS Homebrew installed GnuPG version Formula: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/gnupg.rb History: https://github.com/Homebrew/homebrew-core/commits/c72069733f8b12857afe9a9cdd1c9a73bc16f4a8/Formula/gnupg.rb #+begin_src sh brew install gnupg@2.2 #+end_src - [X] restart macOS system - [X] =$ emacs-minimal-init= + [X] open and save modified "authinfo.gpg" file success - [X] try to re-install gnupg broken version, re-install emacs@30 through Homebrew -> still have problem, so I think problem is not on Emacs side. -- [ stardiviner ] I try to make every word tell the meaning that I want to express without misunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3