我已经从源代码安装了 gpg 版本 2.2.17。
当我运行gpg --card-status
gpg 报告时:
gpg: WARNING: server 'gpg-agent' is older than us (2.2.4 < 2.2.17).
gpg: Note: Outdated servers may lack important security fixes.
gpg: Note: Use the command "gpgconf --kill all" to restart them.
Run Code Online (Sandbox Code Playgroud)
我已尝试运行建议的 gpgconf 命令,但问题仍然存在。我还尝试从 Ubuntu 存储库中卸载 gpg2 sudo apt remove gpg2
,然后重新运行gpgconf --kill all
无济于事。
为了更好的衡量,我什至尝试重新启动计算机以杀死旧版本的gpg-agent
.
此外,gpg-agent --version
报告:
gpg-agent (GnuPG) 2.2.17
libgcrypt 1.8.4
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 …
Run Code Online (Sandbox Code Playgroud)