Skip to content

Commit 8adf3d3

Browse files
committed
Update for Mon Apr 8 05:06:28 2024
1 parent 07d04aa commit 8adf3d3

File tree

203 files changed

+10127
-4389
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

203 files changed

+10127
-4389
lines changed

02packages.details.txt

+218-230
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
distro: Crypt-Passphrase-Argon2-AES
3-
version: 0.007
4-
author_path: L/LE/LEONT/Crypt-Passphrase-Argon2-AES-0.007.tar.gz
3+
version: 0.008
4+
author_path: L/LE/LEONT/Crypt-Passphrase-Argon2-AES-0.008.tar.gz
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
distro: Crypt-Passphrase-Bcrypt-AES
3-
version: 0.001
4-
author_path: L/LE/LEONT/Crypt-Passphrase-Bcrypt-AES-0.001.tar.gz
3+
version: 0.002
4+
author_path: L/LE/LEONT/Crypt-Passphrase-Bcrypt-AES-0.002.tar.gz

distro_meta/D/Data-Table-Text.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
distro: Data-Table-Text
3-
version: 20240203
4-
author_path: P/PR/PRBRENAN/Data-Table-Text-20240203.tar.gz
3+
version: 20240408
4+
author_path: P/PR/PRBRENAN/Data-Table-Text-20240408.tar.gz

distro_meta/D/Date-Holidays-GB.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
distro: Date-Holidays-GB
3-
version: 0.023
4-
author_path: M/MJ/MJEMMESON/Date-Holidays-GB-0.023.tar.gz
3+
version: 0.024
4+
author_path: M/MJ/MJEMMESON/Date-Holidays-GB-0.024.tar.gz

distro_meta/D/Dist-Setup.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
distro: Dist-Setup
3-
version: 0.10
4-
author_path: M/MA/MATHIAS/Dist-Setup/Dist-Setup-0.10.tar.gz
3+
version: 0.11
4+
author_path: M/MA/MATHIAS/Dist-Setup/Dist-Setup-0.11.tar.gz

distro_meta/I/Indent.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
distro: Indent
3-
version: 0.08
4-
author_path: S/SK/SKIM/Indent-0.08.tar.gz
3+
version: 0.09
4+
author_path: S/SK/SKIM/Indent-0.09.tar.gz

distro_meta/I/Ixchel.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
distro: Ixchel
3-
version: 0.10.0
4-
author_path: V/VV/VVELOX/Ixchel-0.10.0.tar.gz
3+
version: 0.11.0
4+
author_path: V/VV/VVELOX/Ixchel-0.11.0.tar.gz
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
distro: Mojolicious-Plugin-WithCSRFProtection
3-
version: 1.00
4-
author_path: M/MA/MAXMIND/Mojolicious-Plugin-WithCSRFProtection-1.00.tar.gz
3+
version: 1.01
4+
author_path: I/IS/ISHIGAKI/Mojolicious-Plugin-WithCSRFProtection-1.01.tar.gz

distro_meta/N/Net-EPP-Server.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
distro: Net-EPP-Server
3+
version: 0.001
4+
author_path: G/GB/GBROWN/Net-EPP-Server-0.001.tar.gz

distro_meta/S/SPVM.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
distro: SPVM
3-
version: 0.989098
4-
author_path: K/KI/KIMOTO/SPVM-0.989098.tar.gz
3+
version: 0.989099
4+
author_path: K/KI/KIMOTO/SPVM-0.989099.tar.gz
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
distro: SortKey-Num-similarity
3+
version: 0.001
4+
author_path: P/PE/PERLANCAR/SortKey-Num-similarity-0.001.tar.gz

distro_meta/m/marc-moose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
distro: marc-moose
3-
version: 1.0.48
4-
author_path: F/FR/FREDERICD/marc-moose-1.0.48.tar.gz
3+
version: 1.0.49
4+
author_path: F/FR/FREDERICD/marc-moose-1.0.49.tar.gz

distro_meta/parsed.txt

+13
Original file line numberDiff line numberDiff line change
@@ -91352,3 +91352,16 @@ M/MY/MYSOCIETY/Sqids-0.03.tar.gz
9135291352
D/DR/DROLSKY/Test2-Plugin-NoWarnings-0.10.tar.gz
9135391353
S/SO/SONGMU/Test-mysqld-1.0030.tar.gz
9135491354
I/IN/INGY/YAMLScript-0.1.53.tar.gz
91355+
L/LE/LEONT/Crypt-Passphrase-Argon2-AES-0.008.tar.gz
91356+
L/LE/LEONT/Crypt-Passphrase-Bcrypt-AES-0.002.tar.gz
91357+
P/PR/PRBRENAN/Data-Table-Text-20240408.tar.gz
91358+
M/MJ/MJEMMESON/Date-Holidays-GB-0.024.tar.gz
91359+
M/MA/MATHIAS/Dist-Setup/Dist-Setup-0.11.tar.gz
91360+
P/PR/PRBRENAN/GitHub-Crud-20240408.tar.gz
91361+
S/SK/SKIM/Indent-0.09.tar.gz
91362+
V/VV/VVELOX/Ixchel-0.11.0.tar.gz
91363+
F/FR/FREDERICD/marc-moose-1.0.49.tar.gz
91364+
I/IS/ISHIGAKI/Mojolicious-Plugin-WithCSRFProtection-1.01.tar.gz
91365+
G/GB/GBROWN/Net-EPP-Server-0.001.tar.gz
91366+
P/PE/PERLANCAR/SortKey-Num-similarity-0.001.tar.gz
91367+
K/KI/KIMOTO/SPVM-0.989099.tar.gz

distros/C/Crypt-Passphrase-Argon2-AES/Changes

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Revision history for Crypt-Passphrase-Argon2-AES
22

3+
0.008 2024-04-07 13:41:40+0200
4+
- Add support for aes-cbc-pad and aes-ecb-pad
5+
36
0.007 2024-02-09 00:36:33+0100
47
- Test recode_hash behavior
58
- Double check more arguments

distros/C/Crypt-Passphrase-Argon2-AES/META.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"provides" : {
4545
"Crypt::Passphrase::Argon2::AES" : {
4646
"file" : "lib/Crypt/Passphrase/Argon2/AES.pm",
47-
"version" : "0.007"
47+
"version" : "0.008"
4848
}
4949
},
5050
"release_status" : "stable",
@@ -58,7 +58,7 @@
5858
"web" : "https://github.com/Leont/crypt-passphrase-argon2-aes"
5959
}
6060
},
61-
"version" : "0.007",
61+
"version" : "0.008",
6262
"x_serialization_backend" : "JSON::PP version 4.16",
6363
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
6464
}

distros/C/Crypt-Passphrase-Argon2-AES/META.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ name: Crypt-Passphrase-Argon2-AES
1616
provides:
1717
Crypt::Passphrase::Argon2::AES:
1818
file: lib/Crypt/Passphrase/Argon2/AES.pm
19-
version: '0.007'
19+
version: '0.008'
2020
requires:
2121
Carp: '0'
2222
Crypt::Passphrase: '0.019'
@@ -28,6 +28,6 @@ requires:
2828
resources:
2929
bugtracker: https://github.com/Leont/crypt-passphrase-argon2-aes/issues
3030
repository: git://github.com/Leont/crypt-passphrase-argon2-aes.git
31-
version: '0.007'
31+
version: '0.008'
3232
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
3333
x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'

distros/C/Crypt-Passphrase-Argon2-AES/README

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ METHODS
4141

4242
* mode
4343

44-
This is the mode that will be used with AES. Values values are 'ecb',
45-
'cbc' (the default), 'cfb', 'ofb' and 'ctr'.
44+
This is the mode that will be used with AES. Values values are 'cbc'
45+
(the default), 'ecb', 'cfb', 'ofb', 'ctr', 'cbc-pad' and ecb-pad.
4646

4747
The salt_size is hard-coded to 16 bytes, and if mode equals cbc or ecb,
4848
the output_size must be a multiple of 16 bytes.

distros/C/Crypt-Passphrase-Argon2-AES/lib/Crypt/Passphrase/Argon2/AES.pm

+15-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package Crypt::Passphrase::Argon2::AES;
33
use strict;
44
use warnings;
55

6-
our $VERSION = '0.007';
6+
our $VERSION = '0.008';
77

88
use parent 'Crypt::Passphrase::Argon2::Encrypted';
99
use Crypt::Passphrase 0.019 -encoder;
@@ -17,6 +17,9 @@ my %mode = (
1717
'aes-cfb' => Crypt::Rijndael::MODE_CFB,
1818
'aes-ofb' => Crypt::Rijndael::MODE_OFB,
1919
'aes-ctr' => Crypt::Rijndael::MODE_CTR,
20+
21+
'aes-cbc-pad' => Crypt::Rijndael::MODE_CBC,
22+
'aes-ecb-pad' => Crypt::Rijndael::MODE_ECB,
2023
);
2124

2225
sub new {
@@ -38,6 +41,10 @@ sub new {
3841

3942
sub encrypt_hash {
4043
my ($self, $cipher, $id, $iv, $raw) = @_;
44+
if ($cipher =~ /-pad$/) {
45+
my $pad_length = 16 - length($raw) % 16;
46+
$raw .= chr($pad_length) x $pad_length;
47+
}
4148
my $mode = $mode{$cipher} or croak "No such cipher $cipher";
4249
my $secret = $self->{peppers}{$id} or croak "No such pepper $id";
4350
return Crypt::Rijndael->new($secret, $mode)->encrypt($raw, $iv);
@@ -47,7 +54,12 @@ sub decrypt_hash {
4754
my ($self, $cipher, $id, $iv, $raw) = @_;
4855
my $mode = $mode{$cipher} or croak "No such cipher $cipher";
4956
my $secret = $self->{peppers}{$id} or croak "No such pepper $id";
50-
return Crypt::Rijndael->new($secret, $mode)->decrypt($raw, $iv);
57+
my $plaintext = Crypt::Rijndael->new($secret, $mode)->decrypt($raw, $iv);
58+
if ($cipher =~ /-pad$/) {
59+
my $pad_length = ord substr $plaintext, -1;
60+
substr($plaintext, -$pad_length, $pad_length, '') eq chr($pad_length) x $pad_length or croak 'Incorrectly padded';
61+
}
62+
return $plaintext;
5163
}
5264

5365
sub supported_ciphers {
@@ -100,7 +112,7 @@ This is the identifier of the active pepper. By default it will be the identifie
100112
101113
=item * mode
102114
103-
This is the mode that will be used with C<AES>. Values values are C<'ecb'>, C<'cbc'> (the default), C<'cfb'>, C<'ofb'> and C<'ctr'>.
115+
This is the mode that will be used with C<AES>. Values values are C<'cbc'> (the default), C<'ecb'>, C<'cfb'>, C<'ofb'>, C<'ctr'>, C<'cbc-pad'> and C<ecb-pad>.
104116
105117
=back
106118

distros/C/Crypt-Passphrase-Argon2-AES/t/basic.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ my $hash1 = $passphrase->hash_password($password);
2626
ok($passphrase->verify_password($password, $hash1), 'Self-generated password validates');
2727
ok(!$passphrase->needs_rehash($hash1), 'Self-generated password doesn\'t need to be regenerated');
2828

29-
ok($hash1 =~ / \A \$ argon2id-encrypted-aes-cbc \$ /x, 'Hash header looks like what we expect');
29+
like($hash1, qr/ \A \$ argon2id-encrypted-aes-cbc \$ /x, 'Hash header looks like what we expect');
3030

3131
my $hash2 = '$argon2id$v=19$m=16384,t=2,p=1$AAAAAAAAAAAAAAAAAAAAAA$AcpOEUs9E88hQnLWQYw/ow';
3232
ok($passphrase->verify_password($password, $hash2), 'Unencrypted hash validates');
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Revision history for Crypt-Passphrase-Bcrypt-AES
22

3+
0.002 2024-04-07 13:38:27+0200
4+
- Add support for aes-cbc-pad and aes-ecb-pad
5+
36
0.001 2024-01-28 19:13:11+0100
47
- Initial release to an unsuspecting world
58

distros/C/Crypt-Passphrase-Bcrypt-AES/META.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"provides" : {
4646
"Crypt::Passphrase::Bcrypt::AES" : {
4747
"file" : "lib/Crypt/Passphrase/Bcrypt/AES.pm",
48-
"version" : "0.001"
48+
"version" : "0.002"
4949
}
5050
},
5151
"release_status" : "stable",
@@ -59,7 +59,7 @@
5959
"web" : "https://github.com/Leont/crypt-passphrase-bcrypt-aes"
6060
}
6161
},
62-
"version" : "0.001",
62+
"version" : "0.002",
6363
"x_serialization_backend" : "JSON::PP version 4.16",
6464
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
6565
}

distros/C/Crypt-Passphrase-Bcrypt-AES/META.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ name: Crypt-Passphrase-Bcrypt-AES
1717
provides:
1818
Crypt::Passphrase::Bcrypt::AES:
1919
file: lib/Crypt/Passphrase/Bcrypt/AES.pm
20-
version: '0.001'
20+
version: '0.002'
2121
requires:
2222
Carp: '0'
2323
Crypt::Passphrase: '0.019'
@@ -29,6 +29,6 @@ requires:
2929
resources:
3030
bugtracker: https://github.com/Leont/crypt-passphrase-bcrypt-aes/issues
3131
repository: git://github.com/Leont/crypt-passphrase-bcrypt-aes.git
32-
version: '0.001'
32+
version: '0.002'
3333
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
3434
x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'

distros/C/Crypt-Passphrase-Bcrypt-AES/README

+8-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ DESCRIPTION
3030

3131
This is a map of identifier to pepper value. The identifiers should
3232
be (probably small) numbers, the values should be random binary
33-
strings that must be either 16, 24 or 32 bytes long.
33+
strings that must be either 16, 24 or 32 bytes long. This argument is
34+
mandatory.
3435

3536
* active
3637

@@ -39,13 +40,15 @@ DESCRIPTION
3940

4041
* mode
4142

42-
This is the mode that will be used with AES. Values values are 'cfb',
43-
'ofb' and 'ctr' (the default).
43+
This is the mode that will be used with AES. Valid values are 'ctr'
44+
(the default), 'cfb', 'ofb', 'cbc-pad' or 'ecb-pad'.
45+
46+
The hash parameter will default to 'sha384'.
4447

4548
Supported crypt types
4649

47-
This supports any sequence of <bcrypt->, (sha256 | sha385 | sha512),
48-
-encrypted-aes-, (ctr | cfb | ofb). E.g.
50+
This supports any sequence of bcrypt-, (sha256 | sha384 | sha512),
51+
-encrypted-aes-, (ctr | cfb | ofb | cbc-pad | ecb-pad). E.g.
4952
bcrypt-sha384-encrypted-aes-ctr
5053

5154
AUTHOR

distros/C/Crypt-Passphrase-Bcrypt-AES/lib/Crypt/Passphrase/Bcrypt/AES.pm

+18-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package Crypt::Passphrase::Bcrypt::AES;
33
use 5.014;
44
use warnings;
55

6-
our $VERSION = '0.001';
6+
our $VERSION = '0.002';
77

88
use parent 'Crypt::Passphrase::Bcrypt::Encrypted';
99
use Crypt::Passphrase 0.019 -encoder;
@@ -15,6 +15,8 @@ my %mode = (
1515
'aes-cfb' => Crypt::Rijndael::MODE_CFB,
1616
'aes-ofb' => Crypt::Rijndael::MODE_OFB,
1717
'aes-ctr' => Crypt::Rijndael::MODE_CTR,
18+
'aes-ecb-pad' => Crypt::Rijndael::MODE_ECB,
19+
'aes-cbc-pad' => Crypt::Rijndael::MODE_CBC,
1820
);
1921

2022
sub new {
@@ -35,6 +37,10 @@ sub new {
3537

3638
sub encrypt_hash {
3739
my ($self, $cipher, $id, $iv, $raw) = @_;
40+
if ($cipher =~ /-pad$/) {
41+
my $pad_length = 16 - length($raw) % 16;
42+
$raw .= chr($pad_length) x $pad_length;
43+
}
3844
my $mode = $mode{$cipher} or croak "No such cipher $cipher";
3945
my $secret = $self->{peppers}{$id} or croak "No such pepper $id";
4046
return Crypt::Rijndael->new($secret, $mode)->encrypt($raw, $iv);
@@ -44,7 +50,12 @@ sub decrypt_hash {
4450
my ($self, $cipher, $id, $iv, $raw) = @_;
4551
my $mode = $mode{$cipher} or croak "No such cipher $cipher";
4652
my $secret = $self->{peppers}{$id} or croak "No such pepper $id";
47-
return Crypt::Rijndael->new($secret, $mode)->decrypt($raw, $iv);
53+
my $plaintext = Crypt::Rijndael->new($secret, $mode)->decrypt($raw, $iv);
54+
if ($cipher =~ /-pad$/) {
55+
my $pad_length = ord substr $plaintext, -1;
56+
substr($plaintext, -$pad_length, $pad_length, '') eq chr($pad_length) x $pad_length or croak 'Incorrectly padded';
57+
}
58+
return $plaintext;
4859
}
4960

5061
sub supported_ciphers {
@@ -87,21 +98,23 @@ This module takes all arguments also taken by L<Crypt::Passphrase::Bcrypt|Crypt:
8798
8899
=item * peppers
89100
90-
This is a map of identifier to pepper value. The identifiers should be (probably small) numbers, the values should be random binary strings that must be either 16, 24 or 32 bytes long.
101+
This is a map of identifier to pepper value. The identifiers should be (probably small) numbers, the values should be random binary strings that must be either 16, 24 or 32 bytes long. This argument is mandatory.
91102
92103
=item * active
93104
94105
This is the identifier of the active pepper. By default it will be the identifier with the highest (numerical) value.
95106
96107
=item * mode
97108
98-
This is the mode that will be used with C<AES>. Values values are C<'cfb'>, C<'ofb'> and C<'ctr'> (the default).
109+
This is the mode that will be used with C<AES>. Valid values are C<'ctr'> (the default), C<'cfb'>, C<'ofb'>, C<'cbc-pad'> or C<'ecb-pad'>.
99110
100111
=back
101112
113+
The C<hash> parameter will default to C<'sha384'>.
114+
102115
=head2 Supported crypt types
103116
104-
This supports any sequence of <bcrypt->, C<(sha256 | sha385 | sha512)>, -encrypted-aes-, C<(ctr | cfb | ofb)>. E.g. C<bcrypt-sha384-encrypted-aes-ctr>
117+
This supports any sequence of C<bcrypt->, C<(sha256 | sha384 | sha512)>, C<-encrypted-aes->, C<(ctr | cfb | ofb | cbc-pad | ecb-pad)>. E.g. C<bcrypt-sha384-encrypted-aes-ctr>
105118
106119
=head1 AUTHOR
107120

distros/D/Data-Table-Text/META.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"provides" : {
4646
"Data::Table::Text" : {
4747
"file" : "lib/Data/Table/Text.pm",
48-
"version" : "20240203"
48+
"version" : "20240408"
4949
}
5050
},
5151
"release_status" : "stable",
@@ -60,6 +60,6 @@
6060
"url" : "https://github.com/philiprbrenan/DataTableText"
6161
}
6262
},
63-
"version" : "20240203",
63+
"version" : "20240408",
6464
"x_serialization_backend" : "JSON::PP version 4.06"
6565
}

distros/D/Data-Table-Text/META.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ name: Data-Table-Text
1515
provides:
1616
Data::Table::Text:
1717
file: lib/Data/Table/Text.pm
18-
version: '20240203'
18+
version: '20240408'
1919
requires:
2020
B: '0'
2121
Carp: '0'
@@ -39,5 +39,5 @@ resources:
3939
bugtracker: https://github.com/philiprbrenan/DataTableText/issues
4040
license: http://dev.perl.org/licenses/
4141
repository: https://github.com/philiprbrenan/DataTableText
42-
version: '20240203'
42+
version: '20240408'
4343
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

0 commit comments

Comments
 (0)