[Pkg-cryptsetup-devel] Bug#379726: cryptsetup: luksAddKey asks for unlock-passpharse twice

Robert Bihlmeyer robbe at orcus.priv.at
Thu Jul 27 06:38:13 UTC 2006


reopen 379726
thanks

(I find it rude if you close bugs you don't yet understand.)

Jonas Meurer <jonas at freesources.org> writes:

> what else do you mean? with luksAddKey you add a new key, nothing else.
> so it makes perfectly sence that the passphrase is asked twice.

I meant it unnecessarily ask twice for the passphrase to an *existing* key.
Just try it out.

  ~# cryptsetup luksFormat /dev/loop1

  WARNING!
  ========
  This will overwrite data on /dev/loop1 irrevocably.

  Are you sure? (Type uppercase yes): YES
  Enter LUKS passphrase: [enter: "number1"]
  Verify passphrase: [enter: "number1"]
  Command successful.
  ~# cryptsetup luksAddKey /dev/loop1
  Enter any LUKS passphrase: [enter: "number1"]
  Verify passphrase: [enter: "number1"]
^^^^ this is useless ^^^^
  key slot 0 unlocked.
  Enter new passphrase for key slot: [enter: "number2"]
  Verify passphrase: [enter: "number2"]
  Command successful.

Greetings,
-- 
Robbe




More information about the Pkg-cryptsetup-devel mailing list