forked from pool/pesign-obs-integration
Accepting request 244535 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/244535 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pesign-obs-integration?expand=0&rev=14
This commit is contained in:
commit
76c2634fbd
24
gen-hmac
24
gen-hmac
@ -17,15 +17,19 @@ if ($buildroot) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
my $fn = shift @ARGV;
|
my $fn = shift @ARGV;
|
||||||
my $out = `sha512hmac "$buildroot$fn"`;
|
|
||||||
if ($?) {
|
|
||||||
exit 1;
|
|
||||||
}
|
|
||||||
my @t = split(" ", $out);
|
|
||||||
my $hmac = $t[0];
|
|
||||||
|
|
||||||
(my $hmacfn = "$buildroot$fn") =~ s|([^/]*)$|.$1.hmac|;
|
system("fipshmac $buildroot$fn");
|
||||||
open(my $fd, '>', $hmacfn) or die "$0: Cannot open $hmacfn: $!\n";
|
|
||||||
print $fd "$hmac $fn\n";
|
#my $out = `sha512hmac "$buildroot$fn"`;
|
||||||
close($fd);
|
#if ($?) {
|
||||||
|
# exit 1;
|
||||||
|
#}
|
||||||
|
#my @t = split(" ", $out);
|
||||||
|
#my $hmac = $t[0];
|
||||||
|
|
||||||
|
#(my $hmacfn = "$buildroot$fn") =~ s|([^/]*)$|.$1.hmac|;
|
||||||
|
#open(my $fd, '>', $hmacfn) or die "$0: Cannot open $hmacfn: $!\n";
|
||||||
|
#print $fd "$hmac $fn\n";
|
||||||
|
#close($fd);
|
||||||
|
|
||||||
exit 0;
|
exit 0;
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 12 13:38:14 UTC 2014 - meissner@suse.com
|
||||||
|
|
||||||
|
- switch gen-hmac to use fipscheck instead of sha256hmac
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 4 12:52:40 UTC 2014 - mmarek@suse.cz
|
Mon Aug 4 12:52:40 UTC 2014 - mmarek@suse.cz
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@ License: GPL-2.0
|
|||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Version: 10.0
|
Version: 10.0
|
||||||
Release: 0.<RELEASE15>
|
Release: 0.<RELEASE15>
|
||||||
|
Requires: fipscheck
|
||||||
Requires: mozilla-nss-tools
|
Requires: mozilla-nss-tools
|
||||||
Requires: openssl
|
Requires: openssl
|
||||||
%ifarch %ix86 x86_64 ia64
|
%ifarch %ix86 x86_64 ia64
|
||||||
|
Loading…
x
Reference in New Issue
Block a user