开发环境: Git Bash 附带的 Mingw64。
我正在尝试签名maven-gpg-plugin
:
[INFO] --- maven-gpg-plugin:1.6:sign (sign-release-artifacts) @ systemds ---
[INFO] gpg: keybox 'F:\Repo\systemds/pubring.kbx' created
[INFO] gpg: can't connect to the agent: Invalid value passed to IPC
[INFO] gpg: no default secret key: No secret key
[INFO] gpg: signing failed: No secret key
设置后GNUPGHOME
,报错信息:
[INFO] [INFO] --- maven-gpg-plugin:1.6:sign (sign-release-artifacts) @ systemds ---
[INFO] gpg: can't connect to the agent: Invalid value passed to IPC
[INFO] gpg: can't connect to the agent: Invalid value passed to IPC
[INFO] gpg: keydb_search failed: No agent running
[INFO] gpg: no default secret key: No agent running
[INFO] gpg: signing failed: No agent running