Skip to content

[MGPG-105] [MGPG-108] Make plugin backward compat and update site and doco - #77

Merged
cstamas merged 2 commits into
apache:masterfrom
cstamas:MGPG-108
Mar 8, 2024
Merged

[MGPG-105] [MGPG-108] Make plugin backward compat and update site and doco#77
cstamas merged 2 commits into
apache:masterfrom
cstamas:MGPG-108

Conversation

@cstamas

@cstamas cstamas commented Mar 5, 2024

Copy link
Copy Markdown
Member

Document the latest changes. But also implement Java changes related to agent usage and back compat.

Now we distinguish really (and option is un-deprecated):

  • useAgent
  • interactive

Means to provide secret needed for signing:

flag agent pinentry agent cached env variable
useAgent && interactive ✔️ ✔️ ✔️
useAgent && !interactive ✔️ ✔️
!useAgent && interactive ✔️
!useAgent && !interactive ✔️

Finally, !bestPractices provides existing "pass in passphrase as property" mode as well.

As first really means "can we talk to the agent" and second means "can agent pop up pinentry dialogue" for both
signers. In fact, this was the case already in GpgSigner, but BcSigner conflated the two. As it turns out, gpg-agent
also supports "non interactive" password caching that now both signers make use of.


https://issues.apache.org/jira/browse/MGPG-108
https://issues.apache.org/jira/browse/MGPG-105

@cstamas
cstamas requested a review from hboutemy March 5, 2024 10:13
@cstamas cstamas self-assigned this Mar 5, 2024
Comment thread src/site/apt/examples/deploy-signed-artifacts.apt Outdated
Comment thread src/site/apt/examples/deploy-signed-artifacts.apt Outdated
Comment thread src/site/apt/examples/deploy-signed-artifacts.apt Outdated
Comment thread src/site/apt/index.apt.vm Outdated
Comment thread src/site/apt/index.apt.vm Outdated
Comment thread src/site/apt/usage.apt.vm Outdated
@michael-o
michael-o removed their request for review March 7, 2024 09:34
@cstamas
cstamas requested a review from michael-o March 7, 2024 10:46
@cstamas cstamas changed the title [MGPG-108] Update site and doco [MGPG-105] [MGPG-108] Make plugin backward compat and update site and doco Mar 7, 2024
Comment thread src/main/java/org/apache/maven/plugins/gpg/AbstractGpgMojo.java
@cstamas
cstamas merged commit 036dfe0 into apache:master Mar 8, 2024
@cstamas
cstamas deleted the MGPG-108 branch March 8, 2024 08:02
@jira-importer

Copy link
Copy Markdown

Resolve #165

@jira-importer

Copy link
Copy Markdown

Resolve #244

3 similar comments
@jira-importer

Copy link
Copy Markdown

Resolve #244

@jira-importer

Copy link
Copy Markdown

Resolve #244

@jira-importer

Copy link
Copy Markdown

Resolve #244

@jira-importer

Copy link
Copy Markdown

Resolve #165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants