Commit Graph

30 Commits

Author SHA1 Message Date
Ondrej Mosnacek
8d36778e3a Fix off-by-one error in checkfile parsing
Add patch from upstream that fixes a bug that caused FIPS self-check of
hmaccalc binaries on Fedora.
2018-07-11 14:52:19 +02:00
Ondrej Mosnacek
a8b3dd6715 Fix changelog date 2018-07-11 10:35:30 +02:00
Ondrej Mosnacek
062c9f35ff Fix command-line parsing in libkcapi-hmaccalc 2018-07-11 10:06:08 +02:00
Ondrej Mosnacek
b5f3088903 Update to upstream version 1.1.1 2018-06-18 11:17:46 +02:00
Ondrej Mosnacek
a96229f2c0 Use own sha512hmac and fipscheck
Use the freshly-built binaries to recompute the checksums in the
post-install hook. This allows us to drop the build-time dependencies
on hmaccalc (i.e. itself) and fipscheck.
2018-05-24 09:16:56 +02:00
Ondrej Mosnacek
e25f34d86d Revert "Skip CLang static analysis in RHEL"
This reverts changes from fc568a9a0f.
(I discovered these were not actually needed.)
2018-05-10 10:48:54 +02:00
Ondrej Mosnacek
fc568a9a0f Skip CLang static analysis in RHEL 2018-05-09 11:22:20 +02:00
Ondrej Mosnacek
fa7ff40298 Merge remote-tracking branch 'origin/f28'
Fix accidental divergence of f* branches.
2018-05-02 11:16:46 +02:00
Ondrej Mosnacek
7001cbb697 Fix description lines being too long 2018-05-02 10:41:20 +02:00
Ondrej Mosnacek
4cc38f8111 Fix description lines too long 2018-05-02 09:38:51 +02:00
Björn Esser
6c61955479
Fix conditional for hmaccalc replacement 2018-04-27 17:35:27 +02:00
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
Björn Esser
c667bd0117
Remove old file from repo 2018-04-21 12:16:57 +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
Gwyn Ciesla
4620cf1813 Added the README 2018-01-15 22:15:29 +00:00