You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2024/09/10 20:03:00 UTC

[jira] [Created] (MRELEASE-1155) Release plugin should "warm up" GPG agent

Tamas Cservenak created MRELEASE-1155:
-----------------------------------------

             Summary: Release plugin should "warm up" GPG agent
                 Key: MRELEASE-1155
                 URL: https://issues.apache.org/jira/browse/MRELEASE-1155
             Project: Maven Release Plugin
          Issue Type: Improvement
          Components: prepare
            Reporter: Tamas Cservenak


When releasing, you will probably sign. And release:prepare will execute build in batch mode. To make this work, gpg agent cache needs to be updated, see here:
https://maven.apache.org/plugins/maven-gpg-plugin/usage.html#sign-artifacts-with-gnupg

Quote: To prime gpg-agent caches, one can perform simple "sign" operation on workstation like this echo "test" | gpg --clearsign or can use gpg command gpg-preset-passphrase

IF release plugin itself runs in interactive mode (like it does on workstations when we release ASF stuff for example), it should "warm up" gpg agent.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)