forked from rafl/module-signature
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix RT #46339: sign files without eol filtering; verify with three eo…
…l varitions
- Loading branch information
Showing
16 changed files
with
230 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!perl | ||
|
||
use strict; | ||
use Test::More; | ||
use IPC::Run qw(run); | ||
plan tests => 4; | ||
|
||
$|=1; | ||
for my $tdir (glob("t/test-dat*")) { | ||
chdir $tdir or die; | ||
my @system = ($^X, "-I../../lib/", "../../script/cpansign", "-v"); | ||
my($in,$out,$err); | ||
run \@system, \$in, \$out, \$err; | ||
close $out; | ||
my $diff = join "\n", grep /^.SHA1/, split /\n/, $out; | ||
ok(0==$?) or diag "dir[$tdir]system[@system]diff[$diff]"; | ||
chdir "../../" or die; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
MANIFEST | ||
README | ||
SIGNATURE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Data in Unix format | ||
Regards, | ||
-- | ||
author |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
This file contains message digests of all files listed in MANIFEST, | ||
signed via the Module::Signature module, version 0.660001. | ||
|
||
To verify the content in this distribution, first make sure you have | ||
Module::Signature installed, then type: | ||
|
||
% cpansign -v | ||
|
||
It will check each file's integrity, as well as the signature's | ||
validity. If "==> Signature verified OK! <==" is not displayed, | ||
the distribution may already have been compromised, and you should | ||
not run its Makefile.PL or Build.PL. | ||
|
||
-----BEGIN PGP SIGNED MESSAGE----- | ||
Hash: SHA1 | ||
|
||
SHA1 e943619dfc12d2bab253597ab1d6eff80f00dbde MANIFEST | ||
SHA1 47e6d6416876be98bcab097507c31eb5dc217b35 README | ||
-----BEGIN PGP SIGNATURE----- | ||
Version: GnuPG v1.4.10 (GNU/Linux) | ||
|
||
iEYEARECAAYFAkyV6HsACgkQ7IA58KMXwV0BHACcDL2NSFNHnKxpGyGNgV6susvT | ||
jrQAoK2FFvqrxc7dgxCs61YivlKUUMx/ | ||
=NRNf | ||
-----END PGP SIGNATURE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
MANIFEST | ||
README | ||
SIGNATURE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Data in Unix format | ||
Regards, | ||
-- | ||
author |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
This file contains message digests of all files listed in MANIFEST, | ||
signed via the Module::Signature module, version 0.63. | ||
|
||
To verify the content in this distribution, first make sure you have | ||
Module::Signature installed, then type: | ||
|
||
% cpansign -v | ||
|
||
It will check each file's integrity, as well as the signature's | ||
validity. If "==> Signature verified OK! <==" is not displayed, | ||
the distribution may already have been compromised, and you should | ||
not run its Makefile.PL or Build.PL. | ||
|
||
-----BEGIN PGP SIGNED MESSAGE----- | ||
Hash: SHA1 | ||
|
||
SHA1 e943619dfc12d2bab253597ab1d6eff80f00dbde MANIFEST | ||
SHA1 f7a80112f7597a7312d6e0d499aa4cf5f6e8ef08 README | ||
-----BEGIN PGP SIGNATURE----- | ||
Version: GnuPG v1.4.10 (GNU/Linux) | ||
|
||
iEYEARECAAYFAkyV6GUACgkQ7IA58KMXwV3MkACeJgzW5pSEFDr/kxflJW3tVfsk | ||
wKsAn0LQPjqcUSDMdd/1gd8SC7x0TAI4 | ||
=MAQR | ||
-----END PGP SIGNATURE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
MANIFEST | ||
README | ||
SIGNATURE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Data in Unix format | ||
Regards, | ||
-- | ||
author |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
This file contains message digests of all files listed in MANIFEST, | ||
signed via the Module::Signature module, version 0.660001. | ||
|
||
To verify the content in this distribution, first make sure you have | ||
Module::Signature installed, then type: | ||
|
||
% cpansign -v | ||
|
||
It will check each file's integrity, as well as the signature's | ||
validity. If "==> Signature verified OK! <==" is not displayed, | ||
the distribution may already have been compromised, and you should | ||
not run its Makefile.PL or Build.PL. | ||
|
||
-----BEGIN PGP SIGNED MESSAGE----- | ||
Hash: SHA1 | ||
|
||
SHA1 e943619dfc12d2bab253597ab1d6eff80f00dbde MANIFEST | ||
SHA1 47e6d6416876be98bcab097507c31eb5dc217b35 README | ||
-----BEGIN PGP SIGNATURE----- | ||
Version: GnuPG v1.4.10 (GNU/Linux) | ||
|
||
iEYEARECAAYFAkyV6HsACgkQ7IA58KMXwV0BHACcDL2NSFNHnKxpGyGNgV6susvT | ||
jrQAoK2FFvqrxc7dgxCs61YivlKUUMx/ | ||
=NRNf | ||
-----END PGP SIGNATURE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
MANIFEST | ||
README | ||
SIGNATURE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Data in Unix format | ||
Regards, | ||
-- | ||
author |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
This file contains message digests of all files listed in MANIFEST, | ||
signed via the Module::Signature module, version 0.63. | ||
|
||
To verify the content in this distribution, first make sure you have | ||
Module::Signature installed, then type: | ||
|
||
% cpansign -v | ||
|
||
It will check each file's integrity, as well as the signature's | ||
validity. If "==> Signature verified OK! <==" is not displayed, | ||
the distribution may already have been compromised, and you should | ||
not run its Makefile.PL or Build.PL. | ||
|
||
-----BEGIN PGP SIGNED MESSAGE----- | ||
Hash: SHA1 | ||
|
||
SHA1 e943619dfc12d2bab253597ab1d6eff80f00dbde MANIFEST | ||
SHA1 f7a80112f7597a7312d6e0d499aa4cf5f6e8ef08 README | ||
-----BEGIN PGP SIGNATURE----- | ||
Version: GnuPG v1.4.10 (GNU/Linux) | ||
|
||
iEYEARECAAYFAkyV6GUACgkQ7IA58KMXwV3MkACeJgzW5pSEFDr/kxflJW3tVfsk | ||
wKsAn0LQPjqcUSDMdd/1gd8SC7x0TAI4 | ||
=MAQR | ||
-----END PGP SIGNATURE----- |