All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Lane <grub@jelmail.com>
To: grub-devel@gnu.org
Subject: Re: [PATCH 3/4] Cryptomount support plain dm-crypt
Date: Tue, 16 Jun 2015 10:45:09 +0100	[thread overview]
Message-ID: <557FF025.2080604@jelmail.com> (raw)
In-Reply-To: <1434445875-6846-4-git-send-email-john@lane.uk.net>

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

A little explanation of what the patch does; most of the code in this
patch already existed.

I extracted the in-line code from "luks.c" that creates the crypto disk
into a new cryptomount function called "grub_cryptodisk_create" that is
then used by the luks module and is also avilable to the cryptomount
module.

I extracted the "set_passphrase" function from the "devmapper.c"
committed (e7f405ab) in the "peter/devmapper" branch so that I could use
it in cryptomount to hash a manually entered passphrase.

I then wrote some additional options and a small block of code to
implement plain mode using the above.




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2015-06-16 10:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-16  9:11 Cryptomount enhancements: detached headers, key-files and plain mode John Lane
2015-06-16  9:11 ` [PATCH 1/4] Cryptomount support LUKS detached header John Lane
2015-06-16  9:11 ` [PATCH 2/4] Cryptomount support key files John Lane
2015-06-20  4:54   ` Andrei Borzenkov
2015-06-23 17:27     ` John Lane
2015-06-24  6:59       ` Andrei Borzenkov
2015-06-24 11:26         ` John Lane
2015-06-24 12:02           ` Andrei Borzenkov
2015-06-25 20:06             ` John Lane
2015-06-16  9:11 ` [PATCH 3/4] Cryptomount support plain dm-crypt John Lane
2015-06-16  9:45   ` John Lane [this message]
2015-06-16  9:11 ` [PATCH 4/4] Cryptomount support for hyphens in UUID John Lane
2015-06-20  5:13   ` Andrei Borzenkov

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=557FF025.2080604@jelmail.com \
    --to=grub@jelmail.com \
    --cc=grub-devel@gnu.org \
    /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.