Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update how passphrase is passed to GPG #760

Open
cowwoc opened this issue Mar 3, 2025 · 1 comment
Open

Update how passphrase is passed to GPG #760

cowwoc opened this issue Mar 3, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@cowwoc
Copy link

cowwoc commented Mar 3, 2025

Description:
Per https://maven.apache.org/plugins/maven-gpg-plugin/sign-mojo.html#passphraseenvname the mechanism currently used by this task is deprecated. This is reenforced by the fact that https://maven.apache.org/plugins/maven-gpg-plugin/sign-mojo.html#passphrase will fail if <bestPractices> is true.

The recommended way to pass the passphrase is now https://maven.apache.org/plugins/maven-gpg-plugin/sign-mojo.html#passphraseEnvName

Task version:
v4

Expected behavior:

  • Stop writing gpg.passphrase to server.xml.
  • Set gpg.passphraseEnvName if the user specifies a value other than MAVEN_GPG_PASSPHRASE
@cowwoc cowwoc added bug Something isn't working needs triage labels Mar 3, 2025
@priya-kinthali
Copy link

Hello @cowwoc👋,
Thank you for reporting this issue. We will investigate it and get back to you as soon as we have some feedback.

@priyagupta108 priyagupta108 self-assigned this Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants