[pkg-cryptsetup-devel] Bug#570312: cryptsetup: luksKillSlot reports incorrect slot unlocked
Alex Roper
alexr at ugcs.caltech.edu
Thu Feb 18 00:07:54 UTC 2010
Subject: cryptsetup: luksKillSlot reports incorrect slot unlocked
Package: cryptsetup
Version: 2:1.1.0~rc2-1
Severity: minor
*** Please type your report below this line ***
When you use luksKillSlot to kill key slot X, and then enter the
passphrase for keyslot Y, cryptsetup performs the correct actions.
However, the message printed is "Key slot X unlocked". So in other
words, cryptsetup tells the user it killed the keyslot they just used to
unlock the action.
This is cosmetic, but has given me a jolt of fear at least once, and a
fix should be extremely trivial. Perhaps print a message like
"""
Key slot Y unlocked
Killed key slot X
"""
Thanks for the free software, don't root me bro, and best of luck,
Alex
-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=autumn/vmlinuz root=/dev/autumn/leaves ro initrd=autumn/initrd
-- /etc/crypttab
autumn /dev/disk/by-uuid/d1bd9f6a-50d0-49fe-86d6-7f5a1f082feb none luks
cipher=serpent-xts-essiv:sha256
-- /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/mapper/autumn-leaves / xfs defaults 0 1
/dev/mapper/autumn-swap none swap sw 0 0
ramfs /ram tmpfs defaults 0 0
-- lsmod
Module Size Used by
usbhid 32192 0
hid 52640 1 usbhid
isofs 35656 1
aes_x86_64 8952 2
aes_generic 27896 1 aes_x86_64
i915 240968 1
drm 191776 2 i915
i2c_algo_bit 6652 1 i915
uinput 10136 0
af_packet 24056 4
binfmt_misc 9668 1
ppdev 8256 0
lp 11652 0
parport 42320 2 ppdev,lp
sco 12380 2
bridge 55224 0
stp 2940 1 bridge
bnep 14296 2
rfcomm 42328 0
l2cap 25592 6 bnep,rfcomm
bluetooth 65380 6 sco,bnep,rfcomm,l2cap
vboxnetadp 6304 0
vboxnetflt 14512 0
vboxdrv 1784588 2 vboxnetadp,vboxnetflt
nls_iso8859_1 5208 0
nls_cp437 6904 1
vfat 12568 0
fat 57368 1 vfat
acpi_cpufreq 9288 0
cpufreq_stats 6268 0
cpufreq_powersave 1784 0
cpufreq_ondemand 8360 2
freq_table 5144 3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
cpufreq_conservative 8520 0
ipv6 307616 44
fuse 66912 1
sbp2 25252 0
loop 18308 2
snd_hda_codec_analog 77816 1
usb_storage 45504 0
usb_libusual 25064 1 usb_storage
snd_hda_intel 29128 1
snd_hda_codec 72824 2 snd_hda_codec_analog,snd_hda_intel
arc4 2040 2
ecb 3160 2
snd_pcm_oss 44288 0
snd_mixer_oss 19704 1 snd_pcm_oss
pcmcia 39884 0
snd_pcm 89472 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
ata_generic 6012 0
snd_seq_dummy 3356 0
snd_seq_oss 32128 0
iwlagn 95896 0
pata_acpi 5272 0
snd_seq_midi_event 8536 1 snd_seq_oss
yenta_socket 27012 1
iwlcore 131000 1 iwlagn
snd_seq 59168 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
rsrc_nonstatic 12024 1 yenta_socket
sdhci_pci 8952 0
ata_piix 27648 0
i2c_i801 10772 0
pcmcia_core 41796 3 pcmcia,yenta_socket,rsrc_nonstatic
uhci_hcd 25368 0
ohci1394 33396 0
sdhci 19708 1 sdhci_pci
mac80211 203920 2 iwlagn,iwlcore
thinkpad_acpi 72796 0
mmc_core 57312 1 sdhci
ehci_hcd 39880 0
ieee1394 98400 2 sbp2,ohci1394
i2c_core 26976 4 i915,drm,i2c_algo_bit,i2c_i801
snd_timer 24872 2 snd_pcm,snd_seq
cfg80211 102800 3 iwlagn,iwlcore,mac80211
snd_seq_device 8268 3 snd_seq_dummy,snd_seq_oss,snd_seq
rfkill 16240 3 bluetooth,thinkpad_acpi,cfg80211
psmouse 47252 0
led_class 5184 3 iwlcore,sdhci,thinkpad_acpi
e1000e 137064 0
video 23060 1 i915
usbcore 179060 6 usbhid,usb_storage,usb_libusual,uhci_hcd,ehci_hcd
snd 72808 12
snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
pcspkr 3032 0
soundcore 9152 1 snd
output 3800 1 video
serio_raw 6684 0
snd_page_alloc 10824 2 snd_hda_intel,snd_pcm
intel_agp 32112 1
battery 12672 0
nvram 8548 1 thinkpad_acpi
evdev 12096 13
processor 39668 3 acpi_cpufreq
button 6712 0
ac 5152 0
xfs 532960 1
exportfs 5016 1 xfs
sha256_generic 9624 0
dm_crypt 14464 1
sd_mod 33288 2
thermal 16184 0
fan 5216 0
dm_mirror 16032 0
dm_region_hash 13240 1 dm_mirror
dm_log 11452 2 dm_mirror,dm_region_hash
dm_mod 76360 11 dm_crypt,dm_mirror,dm_log
ahci 42056 1
libata 196460 4 ata_generic,pata_acpi,ata_piix,ahci
scsi_mod 179960 4 sbp2,usb_storage,sd_mod,libata
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31.5leaves (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cryptsetup depends on:
ii dmsetup 2:1.02.39-1 The Linux Kernel Device Mapper use
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libdevmapper1.02.1 2:1.02.39-1 The Linux Kernel Device Mapper use
ii libpopt0 1.15-1 lib for parsing cmdline parameters
ii libuuid1 2.16.2-0 Universally Unique ID library
cryptsetup recommends no packages.
Versions of packages cryptsetup suggests:
ii dosfstools 3.0.7-1 utilities for making and checking
ii initramfs-tools [linux-initra 0.93.4 tools for generating an initramfs
ii udev 149-2 /dev/ and hotplug management daemo
-- no debconf information
More information about the pkg-cryptsetup-devel
mailing list