Commit Graph

17 Commits

Author SHA1 Message Date
Ondrej Mosnacek
2f15384a80 Replace hmaccalc by default in Fedora 28+
The aim is to allow HMAC checking the kernel without depending on
userspace crypto implementations.
2018-04-27 13:06:28 +02:00
Ondrej Mosnacek
955e81c3c4 Update to upstream version 1.1.0
This patch also fixes the computation of self-check .hmac files.
Before, fipshmac was used for all binaries but since the hmaccalc tools
use different parameters (SHA-512 instead of SHA-256 and a different
key, this would lead to self-check failures for hmaccalc. The new
post-install script calculates the hmaccalc files using sha512hmac and
other .hmac files using fipshmac.

The parameters for the self-check of the library were also consolidated
upstream to use a single parameter set across tools (the fipscheck
parameters) so that the library is checked correctly by all tools.

I also dropped the kcapi-hasher binary and the hasher subpackage as it
is really useless on its own (and the other hasher tools are always
created as hard links). It would also be impossible to add a universally
correct .hmac file since different tools would check against it with
different parameters.
2018-04-19 11:16:55 +02:00
Björn Esser
3440cb3784
Ignore failing tests on %%{power64} temporarily 2018-04-01 14:57:56 +02:00
Björn Esser
250b716f2e
Add patch for proper pkgconfig location 2018-04-01 14:57:56 +02:00
Björn Esser
92ee9f5750
Obsolete replacements subpackage 2018-04-01 14:27:52 +02:00
Björn Esser
5d9e459225 Move pkgconfig-dir to proper location 2018-03-31 12:35:32 +02:00
Björn Esser
6d728f1390 Replace single patches with a monolitic one from upstream 2018-03-31 12:23:19 +02:00
Ondrej Mosnáček
7bd35c594d Split up the replacements subpackage
It is better to have a separate subpackage for each replaced tool.
2018-03-21 13:38:36 +01:00
Björn Esser
a446d71c1f
Increase optmem_max preset to 81920 2018-02-26 10:22:36 +01:00
Björn Esser
308424feba
Obsoletes work by package name, not by provides (rhbz#1537225) 2018-02-26 10:20:48 +01:00
Björn Esser
de7ac2ec88
Add patch to fix a copy-paste typo 2018-02-25 14:12:04 +01:00
Björn Esser
090bf239dd
Add patch to fix build with -Werror 2018-02-17 11:01:56 +01:00
Björn Esser
fe5c308575
Fix %%changelog 2018-02-17 09:48:03 +01:00
Fedora Release Engineering
0dd8f39383 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 22:01:48 +00:00
Björn Esser
da6cb73707
Switch to %ldconfig_scriptlets 2018-02-04 13:43:23 +01:00
Björn Esser
4c1c3c53e3
Decrease optmem_max preset to 40960
Let the build fail, if the minimum kernel version cannot be met
Conditionalize the sysctl.d tweak on version of the kernel
Conditionalize the name of README.distro on the distro
2018-01-17 14:53:09 +01:00
Björn Esser
e7fc48b9eb
Initial import (rhbz#1533929) 2018-01-16 18:47:27 +01:00