Re: [PATCH v3 1/1] plainmount: Support plain encryption mode.

2022-06-30 Thread Glenn Washburn
On Tue, 28 Jun 2022 21:07:47 + Maxim Fomin wrote: > --- Original Message --- > On Tuesday, June 28th, 2022 at 5:46 PM, Glenn Washburn > wrote: > > The reason that we need '-O', or keyfile offset, is because block > > syntax is for specifying block ranges, not byte ranges. Blocks are

Re: [PATCH v3 1/1] plainmount: Support plain encryption mode.

2022-06-28 Thread Maxim Fomin
--- Original Message --- On Tuesday, June 28th, 2022 at 5:46 PM, Glenn Washburn wrote: > The reason that we need '-O', or keyfile offset, is because block > syntax is for specifying block ranges, not byte ranges. Blocks are > sized in the native GRUB block size, which is 512 bytes. If we

Re: [PATCH v3 1/1] plainmount: Support plain encryption mode.

2022-06-28 Thread Glenn Washburn
On Tue, 28 Jun 2022 05:07:43 + Maxim Fomin wrote: > --- Original Message --- > On Sunday, June 26th, 2022 at 9:20 PM, Glenn Washburn > wrote: > > > > > > On Sun, 26 Jun 2022 13:37:07 + > > Maxim Fomin ma...@fomin.one wrote: > > > > > --- Original Message --- > > > On Sat

Re: [PATCH v3 1/1] plainmount: Support plain encryption mode.

2022-06-28 Thread Maxim Fomin
--- Original Message --- On Sunday, June 26th, 2022 at 9:20 PM, Glenn Washburn wrote: > > > On Sun, 26 Jun 2022 13:37:07 + > Maxim Fomin ma...@fomin.one wrote: > > > --- Original Message --- > > On Saturday, June 25th, 2022 at 12:55 AM, Glenn Washburn > > developm...@efficien

Re: [PATCH v3 1/1] plainmount: Support plain encryption mode.

2022-06-26 Thread Glenn Washburn
On Sun, 26 Jun 2022 13:37:07 + Maxim Fomin wrote: > --- Original Message --- > On Saturday, June 25th, 2022 at 12:55 AM, Glenn Washburn > wrote: > > > > Hmm, I wasn't suggesting this be added. I hope you didn't think I was > > suggesting this. What I was suggesting was that the bloc

Re: [PATCH v3 1/1] plainmount: Support plain encryption mode.

2022-06-26 Thread Maxim Fomin
--- Original Message --- On Saturday, June 25th, 2022 at 12:55 AM, Glenn Washburn wrote: > > Hmm, I wasn't suggesting this be added. I hope you didn't think I was > suggesting this. What I was suggesting was that the block list syntax > already supported in GRUB for device paths be used,

Re: [PATCH v3 1/1] plainmount: Support plain encryption mode.

2022-06-25 Thread Maxim Fomin
--- Original Message --- On Saturday, June 25th, 2022 at 12:55 AM, Glenn Washburn wrote: > > + > > +Offset of encrypted data (device argument) and offset of keyfile (option > > @option{-d}) > > +can be specified with grub blocklist syntax ('+10M') where single word > > suffixes 'K', > >

Re: [PATCH v3 1/1] plainmount: Support plain encryption mode.

2022-06-24 Thread Glenn Washburn
On Sat, 18 Jun 2022 14:33:48 + Maxim Fomin wrote: > 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 e