[PATCHv2][ 2/6] cryptodisk: geli: unify grub_cryptodisk_dev function names

2020-03-17 Thread Denis 'GNUtoo' Carikli
Signed-off-by: Denis 'GNUtoo' Carikli --- grub-core/disk/geli.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/grub-core/disk/geli.c b/grub-core/disk/geli.c index e9d23299a..786682077 100644 --- a/grub-core/disk/geli.c +++ b/grub-core/disk/geli.c @@ -242,8 +242,7 @@ grub

[PATCHv2][ 6/6] cryptodisk: Add support for LUKS1 key files

2020-03-17 Thread Denis 'GNUtoo' Carikli
cryptsetup supports key files thourh the --key-file --header command line argument for both LUKS1 and LUKS2. This adds support for LUKS1 key files. Signed-off-by: John Lane gnu...@cyberdimension.org: rebase, fixes, commit message Signed-off-by: Denis 'GNUtoo' Carikli --- grub-core/disk/luks.c

[PATCHv2][ 1/6] cryptodisk: luks: unify grub_cryptodisk_dev function names

2020-03-17 Thread Denis 'GNUtoo' Carikli
Signed-off-by: Denis 'GNUtoo' Carikli --- grub-core/disk/luks.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/grub-core/disk/luks.c b/grub-core/disk/luks.c index 410cd6f84..28585806a 100644 --- a/grub-core/disk/luks.c +++ b/grub-core/disk/luks.c @@ -65,8 +65,7 @@ gcry_e

[PATCHv2][ 3/6] cryptodisk: enable the backends to implement detached headers

2020-03-17 Thread Denis 'GNUtoo' Carikli
From: John Lane Signed-off-by: John Lane gnu...@cyberdimension.org: rebase, patch split, small fixes, commit message Signed-off-by: Denis 'GNUtoo' Carikli --- grub-core/disk/cryptodisk.c | 24 grub-core/disk/geli.c | 8 ++-- grub-core/disk/luks.c | 7

[PATCHv2][ 4/6] cryptodisk: add support for LUKS1 detached headers

2020-03-17 Thread Denis 'GNUtoo' Carikli
From: John Lane cryptsetup supports having a detached header through the --header command line argument for both LUKS1 and LUKS2. This adds support for LUKS1 detached headers. Signed-off-by: John Lane gnu...@cyberdimension.org: rebase, small fixes, commit message Signed-off-by: Denis 'GNUtoo'

[PATCHv2][ 5/6] cryptodisk: enable the backends to implement key files

2020-03-17 Thread Denis 'GNUtoo' Carikli
From: John Lane Signed-off-by: John Lane gnu...@cyberdimension.org: rebase, patch split, small fixes, commit message Signed-off-by: Denis 'GNUtoo' Carikli --- grub-core/disk/cryptodisk.c | 71 - grub-core/disk/geli.c | 4 ++- grub-core/disk/luks.c

Re: [PATCHv2][ 1/6] cryptodisk: luks: unify grub_cryptodisk_dev function names

2020-03-17 Thread Denis 'GNUtoo' Carikli
I'm sorry to have taken so long. I ended up being sidetracked with other functionalities I wanted to add as well along the way, which I'll probably address another time. I also forgot to use --compose for sending the patches. As for the changes between the V1 and this one, beside addressing the

Re: [PATCH v3 3/5] argon2: Import Argon2 from cryptsetup

2020-03-17 Thread Leif Lindholm
On Tue, Mar 17, 2020 at 06:51:54 +0100, Patrick Steinhardt wrote: > > > some open questions, and I'm not sure I feel comfortable with hitting > > > master so close to the pending release. Let me know if you feel > > > otherwise. > > > > I have the same feeling. So, if it is not very critical for y

Verifier running out of memory on ieee1275/powerpc64

2020-03-17 Thread Stefan Berger
Hello!  I trying to add (v)TPM support for the ieee1275/powerpc64 platform to grub. The issue I have been running into is that the verifier runs out of memory. At that point it has loaded the (~ 32MB) Linux kernel and now the verifier is invoked to load the file. Unfortunately it cannot load

[PATCH v1] http: return error on unhandled HTTP error responses

2020-03-17 Thread Olaf Hering
A http transfer will hang if an unhandled error is returned. The error branch returns the value zero, which is not expected by the caller. Signed-off-by: Olaf Hering --- grub-core/net/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-core/net/http.c b/grub-core/net/