Commit Graph

84 Commits

Author SHA1 Message Date
Sergio Correia
da1cc2c84c Make cracklib-dicts a regular dependency 2020-04-06 11:55:07 -03:00
Fedora Release Engineering
46bbd21faf - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 14:11:51 +00:00
Sergio Correia
402b5b8896
Update to new upstream version, v12 2020-01-20 13:29:15 +01:00
Sergio Correia
e9acb551d3 Handle case where we try to use a partially used luksmeta slot
In some situations, especially with older versions of clevis, we can end
up with a partially used luksmeta slot.

We can identify such slots because they will be marked as inactive, yet
they will contain the clevis UUID, "cb6e8904-81ff-40da-a84a-07ab9ab5715e".

When this situation happens, we have cryptsetup and luksmeta slots "out
of sync", and since we currently have cryptsetup choose the slot, we may
end up trying to use such a partially used slot, which in turn will fail
because luksmeta will not be able to save data to it.

We handle this case by wiping the partially used slot, if we identify
the situation will arise.

Tests also added to verify this case is handled properly.

Fixes: #70
2019-12-19 09:43:27 -03:00
Sergio Correia
745ee46295
Disable LUKS2 tests for now
As they fail randomly in Koji builders, killing the build.
2019-12-05 08:50:32 -03:00
Sergio Correia
c3193c30ba
Backport upstream tests and fixes
Commits backported:

* Add tests for LUKS binding and unbinding
- f5d42cb3ba

* Rework the logic for reading the existing key
- 834eda9db6

* fix for different output from 'luksAddKey' command w/cryptsetup v2.0.2 (
- 62bd6de0b8

* pins/tang: check that key derivation key is available
- c231352729
2019-12-05 08:06:14 -03:00
Peter Robinson
8f866ee158 fix patch application 2019-10-31 16:16:47 +00:00
Peter Robinson
b1fb02f6fe drop the rd.neednet for the time being 2019-10-31 16:07:08 +00:00
Javier Martinez Canillas
0f1aa4e16b
Add support for tpm2-tools 4.0
The tpm2-tools package in Fedora 32 was updated to version 4.0, but clevis
still only has 3.0 support. Support for the latest release is in the works
and will probable make it to the next clevis release.

But until that happens, let's backport the patches that add tpm2-tools 4.0
support for clevis so it continues to work in Fedora 32.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2019-09-06 17:34:52 +02:00
Fedora Release Engineering
03eb6fb719 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 20:24:00 +00:00
Fedora Release Engineering
4e89fd4755 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 15:44:00 +00:00
Peter Robinson
8da96d5981 Update patch for work around 2018-12-06 13:44:49 +00:00
Peter Robinson
85b667ec5e Work around network requirement for early boot 2018-12-06 13:30:05 +00:00
Javier Martinez Canillas
41ad3f90fc
A couple of fixes for v11
- Delete remaining references to the removed http pin
- Install cryptsetup and tpm2_pcrlist in the initramfs
- Add device TCTI library to the initramfs

Resolves: rhbz#1644876

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2018-11-09 12:35:10 +01:00
Nathaniel McCallum
db769ffa91 Update to v11 2018-08-13 23:39:02 -04:00
Fedora Release Engineering
81704e572b - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 21:52:22 +00:00
Igor Gnatenko
9fe295c7eb add BuildRequires: gcc
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-09 19:06:43 +02:00
Nathaniel McCallum
bff126bfb9 Add missing BR on tpm2-tools 2018-03-22 10:37:17 -04:00
Nathaniel McCallum
93bca47e02 Update to v10 2018-03-21 14:45:03 -04:00
Nathaniel McCallum
262c5de4b9 Update to v9 2018-02-13 16:00:29 -05:00
Fedora Release Engineering
1065982798 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 05:06:04 +00:00
Nathaniel McCallum
3738853563 Update to v8 2017-11-13 11:47:39 -05:00
Zbigniew Jędrzejewski-Szmek
2333aac0b7 Rebuild for cryptsetup-2.0.0 2017-11-08 16:59:58 +01:00
Nathaniel McCallum
e39c2e575f Update to v7 2017-10-27 16:52:43 -04:00
Fedora Release Engineering
96a509e3ae - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 18:51:37 +00:00
Fedora Release Engineering
233d695e6b - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 04:57:33 +00:00
Nathaniel McCallum
5fd422d0ac New upstream release 2017-06-27 07:28:46 -04:00
Nathaniel McCallum
042f0905c4 New upstream release 2017-06-26 11:43:58 -04:00
Nathaniel McCallum
61115a6c3d New upstream release 2017-06-14 13:32:56 -04:00
Nathaniel McCallum
52a6475da5 Add versioned requirement 2017-06-14 10:26:13 -04:00
Nathaniel McCallum
536be1e84a New upstream release 2017-06-14 10:24:19 -04:00
Fedora Release Engineering
8161af80e8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 07:34:31 +00:00
Nathaniel McCallum
cef823f52b Initial import 2016-11-18 16:20:24 -05:00
Fedora Release Engineering
2c991d99c1 Initial setup of the repo 2016-11-18 18:32:57 +00:00