All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry <reagentoo@gmail.com>
To: Glenn Washburn <development@efficientek.com>
Cc: Daniel Kiper <dkiper@net-space.pl>,
	grub-devel <grub-devel@gnu.org>,
	 "Denis 'GNUtoo' Carikli" <GNUtoo@cyberdimension.org>,
	Patrick Steinhardt <ps@pks.im>, John Lane <john@lane.uk.net>
Subject: Re: [PATCH v8 3/7] cryptodisk: enable the backends to implement detached headers
Date: Wed, 5 Jan 2022 02:30:19 +0300	[thread overview]
Message-ID: <CABqXoScxMLKNm5A9NzEfZLq9p-jhZ0xdn8qS2wQmi=AzgYLzBQ@mail.gmail.com> (raw)
In-Reply-To: <CABqXoSf2qvsO=-NvSka=SnZk8ce4+2dwLki=zR_RShiwDvWKgg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1698 bytes --]

ср, 5 янв. 2022 г. в 01:57, Dmitry <reagentoo@gmail.com>:

>
>
> ср, 5 янв. 2022 г. в 01:07, Glenn Washburn <development@efficientek.com>:
>
>> On Tue, 4 Jan 2022 15:42:22 -0600
>> Glenn Washburn <development@efficientek.com> wrote:
>>
>> I'm generally very pro-flexibility, but I'm not sure I like this from a
>> user perspective. For the common case, which is detached headers in a
>> file, this will cause the user to do more work (create a loopback
>> device of the file). What's a reasonable scenario where a user would
>> want the detached header on a device as opposed to a file system? Am I
>> correct in thinking that you use such functionality?
>>
>
> Actually no, I only use a file for the external header, not a disk.
> I have now looked at the patches again and will try to state my point of
> view in
> more detail:
>
> I don't think the hdr_file field as it stands in the patch set is
> relevant. I mean
> the hdr_file field of type grub_file_t in the grub_cryptomount_args
> structure.
> Even the grub_disk_t type may not be relevant here. You could only pass
> a header file name or a disk name (as char*) through this structure. This
> would
> reflect the essence of this structure, but further implementation the code
> will
> not be pretty in this case.
>
> I still suggest expanding the number of parameters for the recover_key
> function
> and use grub_disk_t to pass the header from the user directly.
>

Although in general I'm quite satisfied with the current patch set. It
suits my
requirements. Maybe disk may be really useless and I overdid it.. It will
only
remain to add the master key parameter in the future.

[-- Attachment #2: Type: text/html, Size: 2628 bytes --]

  reply	other threads:[~2022-01-04 23:30 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-02  3:52 [PATCH v8 0/7] Cryptodisk detached headers and key files Glenn Washburn
2022-01-02  3:52 ` [PATCH v8 1/7] cryptodisk: luks: unify grub_cryptodisk_dev function names Glenn Washburn
2022-04-06 17:00   ` Daniel Kiper
2022-01-02  3:52 ` [PATCH v8 2/7] cryptodisk: geli: " Glenn Washburn
2022-04-06 17:01   ` Daniel Kiper
2022-01-02  3:52 ` [PATCH v8 3/7] cryptodisk: enable the backends to implement detached headers Glenn Washburn
2022-01-04 21:42   ` Glenn Washburn
2022-01-04 22:06     ` Glenn Washburn
2022-01-04 22:57       ` Dmitry
2022-01-04 23:30         ` Dmitry [this message]
2022-01-04 23:50           ` Dmitry
2022-01-05  1:31             ` Glenn Washburn
2022-01-02  3:52 ` [PATCH v8 4/7] cryptodisk: add support for LUKS1 " Glenn Washburn
2022-01-02  3:52 ` [PATCH v8 5/7] cryptodisk: enable the backends to implement key files Glenn Washburn
2022-01-04 21:46   ` Glenn Washburn
2022-01-04 21:49     ` Glenn Washburn
2022-01-02  3:52 ` [PATCH v8 6/7] cryptodisk: Improve cryptomount short help string Glenn Washburn
2022-01-02  3:53 ` [PATCH v8 7/7] luks2: Add detached header support Glenn Washburn
2022-01-02  7:19 ` [PATCH v8 0/7] Cryptodisk detached headers and key files Maxim Fomin
2022-04-06 17:13 ` Daniel Kiper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABqXoScxMLKNm5A9NzEfZLq9p-jhZ0xdn8qS2wQmi=AzgYLzBQ@mail.gmail.com' \
    --to=reagentoo@gmail.com \
    --cc=GNUtoo@cyberdimension.org \
    --cc=development@efficientek.com \
    --cc=dkiper@net-space.pl \
    --cc=grub-devel@gnu.org \
    --cc=john@lane.uk.net \
    --cc=ps@pks.im \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.