File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
77## [ Unreleased]
88
9+ ## [ 2.3.1] - 2023-07-18
10+
11+ ### Fixed
12+
13+ * mt-dev now works in environments with Digest modules older than 1.17.
14+
915## [ 2.3.0] - 2023-07-13
1016
1117### Added
Original file line number Diff line number Diff line change @@ -75,8 +75,10 @@ sub handle_recipe {
7575
7676 if (-f $full_path ) {
7777 $sha -> addfile(IO::File-> new($full_path , ' r' ));
78- my $digest = " sha$algorithm -" . $sha -> base64_padded_digest;
79- if ($digest eq $integrity ) {
78+ my $digest = $sha -> b64digest;
79+ $digest .= (' =' x ((4 - (length ($digest ) % 4)) % 4));
80+ my $file_integrity = " sha$algorithm -" . $digest ;
81+ if ($file_integrity eq $integrity ) {
8082 $archives .= " $rel_path " ;
8183 next ;
8284 }
You can’t perform that action at this time.
0 commit comments