Skip to content

Conversation

charles-dyfis-net
Copy link
Contributor

A minisign signature consists of lines of text.

On Windows, text files are newline-delimited: newlines are needed only to separate lines, and a line can be valid without a newline after it (should it be the last line in a file).

On UNIX, text files are newline-terminated: to be a fully legal text file, each line including the last one is expected to have a trailing newline.

The upstream C minisign tool follows UNIX conventions for signature output in this respect. With this PR, the golang tool does likewise.

A minisign signature consists of lines of text.

On Windows, text files are newline-delimited: newlines are needed only to separate lines, and a line can be valid without a newline after it (should it be the last line in a file).

On UNIX, text files are newline-terminated: to be a fully legal text file, each line _including the last one_ is expected to have a trailing newline.

The upstream C minisign tool follows UNIX conventions for signature output in this respect. With this PR, the golang tool does likewise.
Copy link
Owner

@aead aead left a comment

Choose a reason for hiding this comment

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

LGTM

@aead aead merged commit c8b5358 into aead:main Jan 22, 2023
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.

2 participants