You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kw...@apache.org on 2025/02/02 18:30:45 UTC
(maven-gpg-plugin) branch master updated: Describe how to prime a specific GPG key (#128)
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-gpg-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 1c3977c Describe how to prime a specific GPG key (#128)
1c3977c is described below
commit 1c3977ca51dd20fdf2dd20e88da1e0b837dcc6cc
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sun Feb 2 19:30:41 2025 +0100
Describe how to prime a specific GPG key (#128)
---
src/site/apt/index.apt.vm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/site/apt/index.apt.vm b/src/site/apt/index.apt.vm
index 4a6f049..2f9a413 100644
--- a/src/site/apt/index.apt.vm
+++ b/src/site/apt/index.apt.vm
@@ -49,7 +49,7 @@ ${project.name}
configuration). By default, the plugin does not enforce these, but does emit warnings.
To "prime" the GnuPG agent, you have several options: either just "sign" something beforehand (usable on
- workstations) like <<<echo "test" | gpg --clearsign>>>, or use
+ workstations) like <<<echo "test" | gpg --clearsign>>> (optionally using a dedicated private key with <<<--local-user \<keyname\>>>), or use
{{{https://www.gnupg.org/documentation/manuals/gnupg/Invoking-gpg_002dpreset_002dpassphrase.html}gpg-preset-passphrase}}
GnuPG command, that will "cache" the password in gpg-agent for given login session, cache content is lost between
reboots. Note: this tool, while is part of GnuPG suite, may not be on path. Check your OS documentation for it.