[pkg-cryptsetup-devel] Bug#515294: Bug#728080: initramfs password prompt wording can be improved

Joachim Breitner nomeata at debian.org
Sat Nov 2 13:00:19 UTC 2013


Hi Jonas and dick,

Am Freitag, den 01.11.2013, 17:52 +0100 schrieb Jonas Meurer:
> Am 28.10.2013 09:34, schrieb Joachim Breitner:
> - #515294: It would be great to make the passphrase prompt
> configurable (e.g. for supporting translations). If you've an idea on
> how to implement it, feel free ;)

from reading the code, I believe this is already possible. The script
supports the option "key" which sets the cryptkey variable, which is the
prompt.

But: The setting is overwritten if crypotkeyscript is not set, i.e. if
the option "keyscript" is not used. So for now, dick, you should be able
to configure your prompt by adding

        crypotopts=keyscript=/lib/cryptsetup/askpass,key="Authorised
        key:"

to the kernel prompt (and I’m not sure about the quoting of the space;
I’m not very confident in shell scripts behavior in that regard).

I guess one should support setting key without having to set keyscript,
though.

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20131102/8d5cbe03/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list