"No key available with this passphrase" after Adding or Removing a key. Reboot is needed to temporarly correct the issue.

Bug #501881 reported by larikot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cryptsetup (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: cryptsetup

Hi,

1) Release of ubuntu : 9.10
2) cryptsetup:
  Installed: 2:1.0.6+20090405.svn49-1ubuntu7
3) I tried to change my passphrase by adding a new one and deleting the current.
4) I tried to change my passphrase so I added a new passphrase using this command :
sudo cryptsetup luksAddKey /dev/sda1
It asks me my current passphrase and then a new one.
The add worked correclty.
When I tried to remove the old passphrase in slot 0 using this command :
sudo cryptsetup luksDelKey /dev/sda1 0
It asks me for an existing passphrase, so I entered the new one and the result is :
No key available with this passphrase

I also tried to add another key (luksAddKey). Typing the new or the old passphrase result in :
No key available with this passphrase

After a reboot I can delete the old passphrase (slot 0). But after I cannot add a new one.
So it seems I can only do one action (Add or Remove). After that I need to reboot in order to do another action (Add or Remove)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.