GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [MGPG-136] Windows passphrase corruption by cstamas · Pull Request #120 · apache/maven-gpg-plugin

Conversation

@cstamas

@cstamas cstamas commented Sep 23, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Since 3.2.0 version we always appended "line separator" to passphrase unless it itself ended with one. But, this caused problem on Windows, as (our assumption is) that GPG uses binary read of STDIN, and on Windows "line separator" is "\r\n", while GPG handles "\n" only, making passphrase corrupted by presence of unwanted "\r".


https://issues.apache.org/jira/browse/MGPG-136

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@cstamas
[MGPG-136] Windows passphrase corruption
34e3be8
This is shot in a dark, but should make possible to at
least eliminate (if not even figure out) the issue on
Windows with passphrase.

---

https://issues.apache.org/jira/browse/MGPG-136
@cstamas cstamas self-assigned this Sep 23, 2024
michael-o
michael-o requested changes Sep 23, 2024
View reviewed changes

@michael-o michael-o left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should be a string: system/native, lf, crlf. Similar we have in Maven Release.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@cstamas cstamas mentioned this pull request Sep 23, 2024
Please try with snapshot ralfkonrad/test-mvn-gpg-plugin#26
Closed
cstamas added 4 commits September 24, 2024 11:54
@cstamas
Make new behaviour the fixed LF (instead of CRLF) append
217de84
@cstamas
Fix Javadox
92373ef
@cstamas
Remove extra braces
4461857
@cstamas
more doco fixes
68dc786
@cstamas cstamas mentioned this pull request Sep 24, 2024
Add gpg-plugin-version 3.2.7-SNAPSHOT to build pipeline ralfkonrad/test-mvn-gpg-plugin#30
Merged
michael-o
michael-o requested changes Sep 24, 2024
View reviewed changes
Comment thread src/main/java/org/apache/maven/plugins/gpg/AbstractGpgMojo.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/main/java/org/apache/maven/plugins/gpg/AbstractGpgMojo.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@cstamas
Rename the parameter
f3b5391
@cstamas
cstamas requested a review from michael-o September 24, 2024 10:41
@cstamas
Make mention of pre 3.2.7 termination
e037596
michael-o
michael-o approved these changes Sep 24, 2024
View reviewed changes
@cstamas
cstamas marked this pull request as ready for review September 24, 2024 12:43
@cstamas
cstamas merged commit 6b2a27f into apache:master Sep 24, 2024
@cstamas
cstamas deleted the MGPG-136 branch September 24, 2024 12:43
@jira-importer

jira-importer commented Jun 14, 2025

Copy link
Copy Markdown

Resolve #172

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

1 similar comment
@jira-importer

jira-importer commented Jun 14, 2025

Copy link
Copy Markdown

Resolve #172

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

Reviewers

@michael-o michael-o michael-o approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@cstamas cstamas

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@cstamas @jira-importer @michael-o
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.