Re: [PATCH] ext2: support EXT4_FEATURE_INCOMPAT_ENCRYPT

2017-06-15 Thread Eric Biggers
Hi Vladimir, On Thu, Jun 15, 2017 at 11:12:32AM +, Vladimir 'phcoder' Serbinenko wrote: > Good. Thank you for doing this. Please don't mark obscure error messages > for translation (N_). In this patch no string needs translation. Would it > also be possible to add some tests? Thanks for the

[PATCH v2] ext2: support EXT4_FEATURE_INCOMPAT_ENCRYPT

2017-06-15 Thread Eric Biggers
From: Eric Biggers Allow GRUB to mount ext2/3/4 filesystems that have the encryption feature. On such a filesystem, inodes may have EXT4_ENCRYPT_FLAG set. For a regular file, this means its contents are encrypted; for a directory, this means the filenames in its directory

K

2017-06-15 Thread Treutwein Bernhard
Vj -- Bernhard Treutwein (mobil) LMU, Ref.VI.3 ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH 2/3] Verify commands executed by grub

2017-06-15 Thread Matthew Garrett
Pass commands to the verification code. We want to be able to log these in the TPM verification case. --- grub-core/script/execute.c | 27 --- include/grub/verify.h | 1 + 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/grub-core/script/execute.c

[PATCH 1/3] Move verifiers to the kernel

2017-06-15 Thread Matthew Garrett
We want to be able to measure stuff right from the very beginning of grub execution, so it makes sense for the core verifiers code to be present in-kernel rather than having it as an external module. --- grub-core/Makefile.am | 1 + grub-core/Makefile.core.def

[PATCH 3/3] Core TPM support

2017-06-15 Thread Matthew Garrett
Add support for performing basic TPM measurements. Right now this only supports extending PCRs statically and only on UEFI. --- grub-core/Makefile.am | 1 + grub-core/Makefile.core.def| 2 + grub-core/kern/efi/tpm.c | 282 +

Add TPM support

2017-06-15 Thread Matthew Garrett
Port the TPM code to use the verifiers framework. I'm only including UEFI support since it's still unclear what the copyright situation is over the BIOS code, and demand for BIOS support for this has somewhat tailed off anyway. ___ Grub-devel mailing

Re: [PATCH] ext2: support EXT4_FEATURE_INCOMPAT_ENCRYPT

2017-06-15 Thread Vladimir 'phcoder' Serbinenko
Good. Thank you for doing this. Please don't mark obscure error messages for translation (N_). In this patch no string needs translation. Would it also be possible to add some tests? On Thu, Jun 15, 2017, 07:41 Eric Biggers wrote: > From: Eric Biggers