Skip to content

Conversation

niklasholm
Copy link
Contributor

@niklasholm niklasholm commented Aug 26, 2018

Fix for RT#126938

Setting the binmode layer to ':crlf' seems to do what we want correctly on all platforms. Detect and retain old behavior for old SIGNATURE files so they don't fail verification, but remove Win32 special case since it causes verification failure of some modules.

Other changes:

  • Set SHA256 as default hash since SHA1 is deprecated.
  • Add --strip-trailing-cr to 'diff' call.

Fix for RT#126938 (https://rt.cpan.org/Ticket/Display.html?id=126938)

Setting the binmode layer to ':crlf' seems to do what we want correctly
on all platforms. Detect and retain old behavior for old SIGNATURE files
so they don't fail verification, but remove Win32 special case since it
causes verification failure of some modules.

Other changes:
- Set SHA256 as default hash since SHA1 is deprecated.
- Add --strip-trailing-cr to 'diff' call.
@audreyt audreyt merged commit a5d69f5 into audreyt:master Aug 26, 2018
@audreyt
Copy link
Owner

audreyt commented Aug 26, 2018

Thanks! Released as Module::Signature 0.82.

(I've moved the require version; into an eval {} block for Perl 5.005 compability.)

@niklasholm
Copy link
Contributor Author

Nice! Although I forgot to change the version in META.yml,

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