n. Hope these
patches will be merged in the next grub release.
Best regards,
Maxim Fomin
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
s, I think adding support for
'search' command is easy, but grub developers may not agree that this feature
is usefull.
Best regards,
Maxim Fomin
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
This patch introduces support for plain encryption mode (plain dm-crypt) via
new module and command named 'plainmount'. The command allows to open devices
encrypted in plain mode (without LUKS) with following syntax:
plainmount -h hash -c cipher -o offset -s size -k key-size
-z sector-
plainmount (or manually type in console). Still, this helps in
some use cases (including some complex setup scenarios). Also, except opening
plain mode encrypted disks plainmount command can decrypt LUKS volumes if
master key is known.
Maxim Fomin (2):
plainmount: Support decryption of devic
---
docs/grub.texi | 52 ++
1 file changed, 52 insertions(+)
diff --git a/docs/grub.texi b/docs/grub.texi
index a72d73ce3..6ce280389 100644
--- a/docs/grub.texi
+++ b/docs/grub.texi
@@ -4031,6 +4031,7 @@ you forget a command, you can run the command
--- Original Message ---
On Monday, January 31st, 2022 at 14:15, Milan Broz wrote:
> On 30/01/2022 20:40, Maxim Fomin wrote:
>
> > This patch introduces support for plain encryption mode (plain dm-crypt) via
> >
> > new module and command named 'plainmount
--- Original Message ---
On Monday, January 31st, 2022 at 23:40, Glenn Washburn
wrote:
> On Sun, 30 Jan 2022 19:40:37 +
>
> Maxim Fomin ma...@fomin.one wrote:
>
> > This patch adds support for plain encryption mode (plain dm-crypt) via new
> >
> > mo
; command and receive the result from grub environment variable
which is
not convinient for other grub code interested in this feature. I think the
proper way
to do it is to write some library function which can be used by search, probe
(btw I
borrowed some details from it - so there is code du
--- Original Message ---
On Tuesday, February 1st, 2022 at 5:30, Glenn Washburn
wrote:
> On Sun, 30 Jan 2022 19:40:43 +
>
> Maxim Fomin ma...@fomin.one wrote:
>
> > This patch introduces support for plain encryption mode (plain dm-crypt) via
> >
> >
GPG errors uniformly.
However, the way GPG errors are handled was not changed due to reasons
mentioned in previous discussion. Option -Z (sector size) was renamed to
-S. Also, unique cryptodisk UUIDs were added.
Maxim Fomin (1):
plainmount: Support plain encryption mode.
docs/grub.texi
---
docs/grub.texi | 47
grub-core/Makefile.core.def | 5 +
grub-core/disk/plainmount.c | 511
3 files changed, 563 insertions(+)
create mode 100644 grub-core/disk/plainmount.c
diff --git a/docs/grub.texi b/docs/grub.texi
index caba8befb.
s when commit author email differs from email sender, right?). I will try
to fix these
problems in the next patch version.
> On Sat, 02 Apr 2022 20:02:17 +
> Maxim Fomin ma...@fomin.one wrote:
> > +Setup access to encrypted in plain mode device. Password can be specified
> > in
From 87af7e9cbeb72c3bc146564f64aa8132c1bf6d68 Mon Sep 17 00:00:00 2001
From: Maxim Fomin
Date: Sat, 18 Jun 2022 14:32:49 +0100
Subject: [PATCH v3 1/1] plainmount: Support plain encryption mode.
This patch adds support for plain encryption mode (plain dm-crypt) via
new module/command named
7;
> > +where last digits are incremented for each subsequently created node.
> > Custom
> > +uuid can be specified with option @option{-u}.
> > +
> > +The plainmount command can report internal cryptographic errors. If they
> > happen,
>
>
> Its not c
how device argument is sent (and
syntax used),
processing device blocks in 'configure_keyfile()' differes from processing a
file. I tested
grub_file_open() on a loopback device and it does not work. It makes sense,
because neither
'(hdx,gpty)NNN+' nor a loopback node on top of it is a fil
--- Original Message ---
On Sunday, June 26th, 2022 at 9:20 PM, Glenn Washburn
wrote:
>
>
> On Sun, 26 Jun 2022 13:37:07 +0000
> Maxim Fomin ma...@fomin.one wrote:
>
> > --- Original Message ---
> > On Saturday, June 25th, 2022 at 12:55 AM, G
.
I am speaking about this:
loopback node (hd0,gpt2)2048+
plainmount node-c aes-xts-plain64 -h sha512 // works
plainmount (hd0,gpt2)2048+ -c aes-xts-plain64 -h sha512 // currently - no
Currently the second command does not work without loopback, I am thinking
about removing this limitation in plainmount.
Best regards,
Maxim Fomin
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
From 109488f1aa001682b7184ae830a785ee13b92cce Mon Sep 17 00:00:00 2001
From: Maxim Fomin
Date: Sat, 2 Jul 2022 18:32:48 +0100
Subject: [PATCH v4 1/1] plainmount: Support plain encryption mode
This patch adds support for plain encryption mode (plain dm-crypt) via
new module/command named
--- Original Message ---
On Sunday, July 10th, 2022 at 9:07 PM, Glenn Washburn
wrote:
> > +
> > +plainmount hd0,gpt1 -o 1048576
> > +
> > +
> > +both create virtual devices with 1MiB offset on top of the specified
> > partition. The
> > +option @option{-o} is useful to specify offset wh
From 06219fde309f1f87b9d52a70a7e992eaeb168449 Mon Sep 17 00:00:00 2001
From: Maxim Fomin
Date: Sat, 16 Jul 2022 19:52:13 +0100
Subject: [PATCH v5 1/1] plainmount: Support plain encryption mode
This patch adds support for plain encryption mode (plain dm-crypt) via
new module/command named
luks (or luks2) module was not loaded. Did you
load it before running cryptomount command?
Best regards,
Maxim Fomin___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
From 683357e227467c05272facc7da534a82becc9d8a Mon Sep 17 00:00:00 2001
From: Maxim Fomin
Date: Sun, 31 Jul 2022 14:06:42 +0100
Subject: [PATCH v6 1/1] plainmount: Support plain encryption mode
This patch adds support for plain encryption mode (plain dm-crypt) via
new module/command named
--- Original Message ---
On Tuesday, August 23rd, 2022 at 6:14 AM, Glenn Washburn
wrote:
> > +/ Hashes a password into a key and stores it with cipher. /
> > +static grub_uint8_t
> > +plainmount_configure_password (grub_cryptodisk_t dev, const char *hash,
> > + grub_uint8_t *key_data, gru
--- Original Message ---
On Saturday, August 27th, 2022 at 5:05 PM, Glenn Washburn
wrote:
>
>
> On Sat, 27 Aug 2022 12:06:30 +0000
> Maxim Fomin ma...@fomin.one wrote:
>
> > Also, I am confused about maximum key data and password size allowed by
> > c
--- Original Message ---
On Tuesday, August 23rd, 2022 at 6:14 AM, Glenn Washburn
wrote:
> Why does the return type changed from v5? I like it was better before,
> and I'm thinking the signature should be more like hash() in
> cryptsetup, that is have password and password_size arguments
--- Original Message ---
On Thursday, September 15th, 2022 at 12:54 AM, Glenn Washburn
wrote:
>
> On Wed, 14 Sep 2022 16:15:56 +0000
> Maxim Fomin ma...@fomin.one wrote:
>
> > --- Original Message ---
> > On Tuesday, August 23rd, 2022 at 6:14 AM, Glen
From 687f8687f7c72ac91e250c9b89659f69b3644bfb Mon Sep 17 00:00:00 2001
From: Maxim Fomin
Date: Sun, 18 Sep 2022 19:43:12 +0100
Subject: [PATCH v7 1/1] plainmount: Support plain encryption mode
This patch adds support for plain encryption mode (plain dm-crypt) via
new module/command named
From 2b1d2deb3f2416cbc3e7d25cbc4141a3078eaf68 Mon Sep 17 00:00:00 2001
From: Maxim Fomin
Date: Sat, 29 Oct 2022 18:18:58 +0100
Subject: [PATCH v8 1/1] plainmount: Support plain encryption mode
This patch adds support for plain encryption mode (plain dm-crypt) via
new module/command named
ied UUID exceeds maximum size"));
>
>
> What will happen if somebody passes shorter, probably non-valid, UUID?
> I think we should check UUID is not shorter than something too.
It seems there is agreement to check that UUID size is longer than 1 and less
than PLAINMOUNT_UUID -
--- Original Message ---
On Friday, December 2nd, 2022 at 0:00, Glenn Washburn
wrote:
>
>
> On Sat, 29 Oct 2022 17:40:42 +0000
> Maxim Fomin ma...@fomin.one wrote:
>
> > From 2b1d2deb3f2416cbc3e7d25cbc4141a3078eaf68 Mon Sep 17 00:00:00 2001
> > From:
From db82faafba5e7eccd9fd6c0b7314f7322c1aecbd Mon Sep 17 00:00:00 2001
From: Maxim Fomin
Date: Sun, 4 Dec 2022 12:05:34 +
Subject: [PATCH] Fix integer overflow at left shift expression.
In case of large partitions (>1TiB) left shift
with signed int GRUB_DISK_SECTOR_BITS macro may
ca
From 1b3ff732fd6f5390e85373cf56ebccb61c60c259 Mon Sep 17 00:00:00 2001
From: Maxim Fomin
Date: Sat, 3 Dec 2022 15:15:11 +
Subject: [PATCH v9] plainmount: Support plain encryption mode
This patch adds support for plain encryption mode (plain dm-crypt) via
new module/command named 'plain
--- Original Message ---
On Sunday, December 4th, 2022 at 1:06 PM, Maxim Fomin wrote:
>
> From db82faafba5e7eccd9fd6c0b7314f7322c1aecbd Mon Sep 17 00:00:00 2001
> From: Maxim Fomin ma...@fomin.one
>
> Date: Sun, 4 Dec 2022 12:05:34 +
> Subject: [PATCH] Fix intege
--- Original Message ---
On Sunday, December 4th, 2022 at 1:15 PM, Maxim Fomin wrote:
>
> From 1b3ff732fd6f5390e85373cf56ebccb61c60c259 Mon Sep 17 00:00:00 2001
> From: Maxim Fomin ma...@fomin.one
>
> Date: Sat, 3 Dec 2022 15:15:11 +
> Subject: [PATCH v9] plainmo
--- Original Message ---
On Friday, December 16th, 2022 at 5:45 PM, Glenn Washburn
wrote:
>
> On Sun, 04 Dec 2022 13:06:37 +0000
> Maxim Fomin ma...@fomin.one wrote:
>
> > From db82faafba5e7eccd9fd6c0b7314f7322c1aecbd Mon Sep 17 00:00:00 2001
> > From: Max
From 5db28aa0cb98e906adc7cb735bfa1979ce32c228 Mon Sep 17 00:00:00 2001
From: Maxim Fomin
Date: Sat, 17 Dec 2022 18:11:34 +
Subject: [PATCH v2 1/1] Fix integer overflow at left shift expression on
i386-pc platform.
In case of large partitions (>1TiB) left shift
expression with unsig
--- Original Message ---
On Sunday, December 18th, 2022 at 7:25 PM, Glenn Washburn
wrote:
>
> On Sat, 17 Dec 2022 18:22:35 +0000
> Maxim Fomin ma...@fomin.one wrote:
>
> > From 5db28aa0cb98e906adc7cb735bfa1979ce32c228 Mon Sep 17 00:00:00 2001
> > From: Max
From e7f54a0b78353c01bf4c966f871b3e3590222743 Mon Sep 17 00:00:00 2001
From: Maxim Fomin
Date: Wed, 28 Dec 2022 13:19:36 +
Subject: [PATCH v10] plainmount: Support plain encryption mode
This patch adds support for plain encryption mode (plain dm-crypt) via
new module/command named
From f9e2970e5731f13fdc506dbf5c722fd24b20a1aa Mon Sep 17 00:00:00 2001
From: Maxim Fomin
Date: Wed, 28 Dec 2022 20:25:05 +
Subject: [PATCH v2] Fix possible integer overflow in i386-pc mode with large
partitions
The i386-pc mode supports MBR partition scheme
where maximum partition size is 2
--- Original Message ---
On Wednesday, December 28th, 2022 at 5:20 PM, Maxim Fomin
wrote:
> From e7f54a0b78353c01bf4c966f871b3e3590222743 Mon Sep 17 00:00:00 2001
> From: Maxim Fomin ma...@fomin.one
>
> Date: Wed, 28 Dec 2022 13:19:36 +
> Subject: [PATCH v10] plai
--- Original Message ---
On Saturday, December 24th, 2022 at 2:09 AM, Glenn Washburn
wrote:
>
> On Fri, 23 Dec 2022 19:54:47 -0600
> Glenn Washburn developm...@efficientek.com wrote:
>
> > On Fri, 02 Dec 2022 17:11:23 +0000
> > Maxim Fom
--- Original Message ---
On Tuesday, January 10th, 2023 at 5:17 PM, Daniel Kiper
wrote:
>
>
> On Wed, Dec 28, 2022 at 05:47:29PM +0000, Maxim Fomin wrote:
>
> > --- Original Message ---
> > On Wednesday, December 28th, 2022 at 5:20 PM, Maxim Fomin ma
--- Original Message ---
On Tuesday, January 10th, 2023 at 6:19 PM, Glenn Washburn
wrote:
>
> On Wed, 28 Dec 2022 18:05:11 +0000
> Maxim Fomin ma...@fomin.one wrote:
>
> > --- Original Message ---
> > On Saturday, December 24th, 2022 at 2:09 AM, Gle
--- Original Message ---
On Saturday, April 8th, 2023 at 2:59 AM, Simon Perry via Grub-devel
wrote:
>
> Hi there,
>
> I've recently moved to using a LUKS2 encrypted boot and it's working
> great, however one of the frustrating things is that you get dropped to
> grub rescue after a sing
On Friday, March 21st, 2025 at 8:51 PM, Vladimir 'phcoder' Serbinenko
wrote:
> Hello, I was playing with adding Rust embedded in GRUB. I’ve pushed results
> to 2 repos:
> Module goes to https://github.com/phcoder/grub-rust-hello/tree/master
> Changes in GRUB are found at https://github.com/phco
45 matches
Mail list logo