Package: cryptmount
Version: 5.2.4-1+b1
Severity: normal

Dear Maintainer,

When I run as regular user (not-root):

$ cryptmount usb-key
Enter password for target "usb-key": *****
Failed to extract LUKS key for "usb-key" (errno=95)
Failed to extract cipher key

strace log for not-root 
https://gist.github.com/chernomyrdin/1b01e052af0ab8afa2021eb433bd193f

and strace strace for root on same machine 
https://gist.github.com/chernomyrdin/c47c305604b6e75a89e8b9a97c572832

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE=ru_RU 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cryptmount depends on:
ii  libc6               2.26-5
ii  libcryptsetup12     2:2.0.0-1
ii  libdevmapper1.02.1  2:1.02.145-4.1
ii  libgcrypt20         1.8.1-4

Versions of packages cryptmount recommends:
ii  e2fsprogs  1.43.8-2
ii  udev       236-3+b1

Versions of packages cryptmount suggests:
ii  dmsetup  2:1.02.145-4.1
ii  openssl  1.1.0g-2

-- Configuration Files:
/etc/cryptmount/cmtab changed:
usb-key {
       keyformat=luks
          fstype=ext4
         keyfile=/home/uid1000/.usb/usb-key.img
             dev=/home/uid1000/.usb/usb-key.img
             dir=/home/uid1000/.usb/key
            loop=auto
           flags=user,trim,nofsck
    
mountoptions=user,discard,noatime,nodiratime,exec,errors=remount-ro,data=writeback
}


-- no debconf information

Reply via email to