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

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

Merged
merged 2 commits into from
Mar 8, 2024

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented Mar 5, 2024

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
src/site/apt/examples/deploy-signed-artifacts.apt Outdated Show resolved Hide resolved
src/site/apt/examples/deploy-signed-artifacts.apt Outdated Show resolved Hide resolved
src/site/apt/examples/deploy-signed-artifacts.apt Outdated Show resolved Hide resolved
src/site/apt/index.apt.vm Outdated Show resolved Hide resolved
src/site/apt/index.apt.vm Outdated Show resolved Hide resolved
src/site/apt/usage.apt.vm Outdated Show resolved Hide resolved
@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
@cstamas cstamas merged commit 036dfe0 into apache:master Mar 8, 2024
19 checks passed
@cstamas cstamas deleted the MGPG-108 branch March 8, 2024 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants