Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented Sep 23, 2024

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

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
Copy link
Member

@michael-o michael-o left a 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.

@cstamas cstamas requested a review from michael-o September 24, 2024 10:41
@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
20 checks passed
@cstamas cstamas deleted the MGPG-136 branch September 24, 2024 12:43
@jira-importer
Copy link

Resolve #172

1 similar comment
@jira-importer
Copy link

Resolve #172

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.

3 participants