Caja mounting & unlocking LUKS encrypted USB stick fails

Bug #1756948 reported by Dan
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu MATE
Fix Released
Undecided
Unassigned

Bug Description

Distro: 18.04 (beta 1, dev branch)
Kernel: 4.15.0-12-generic

When attempting to unlock and mount a LUKS encrypted USB stick with Caja (using the dialogue that pops up when an encrypted stick is plugged in), the process fails with the following error:

"Unable to mount 63 GB Encrypted. Error unlocking /dev/sdb1: The function 'bd_crypto_luks_open_blob' called, but not implemented!"

Update: As described below, the issue is not confined to Caja, but is also evident when using other GUI applications to unlock LUKS encrypted volumes.

Dan (aninstanceofi)
description: updated
Revision history for this message
Chris McDonough (chrism-plope) wrote :

Same error when attempting to unlock a LUKS-encrypted HDD partition using the Disks application.

This began to happen, AFAICT, after a kernel update to 4.15.0-10-generic.

cryptsetup luksOpen /path/to/device devicename works ok so it appears to be related to whatever libraries bridge stuff between the GUIs and the kernel.

Revision history for this message
Chris McDonough (chrism-plope) wrote :

(note for #1 : I did not start with beta1, this was an install that used a daily build from about 2 weeks ago)

Revision history for this message
Chris McDonough (chrism-plope) wrote :

After some poking around via Google, I worked around it with some help from https://www.distrowatch.com/weekly.php?issue=20171113 .

The solution is to apt-get install libblockdev-crypto2 then reboot.

Revision history for this message
Dan (aninstanceofi) wrote :

Thanks Chris. I've updated the description to better reflect the bug (i.e. not specific to Caja).

description: updated
tags: added: libblockdev-crypto2
removed: caja
Revision history for this message
Jean (easthighnerd) wrote :

Experiencing this as well, also running UM 18.04 B1, but on the 4.15.0-12-generic kernel.

Chris' workaround worked for getting things working again.

Revision history for this message
Martin Wimpress  (flexiondotorg) wrote :

libblockdev-crypto2 is installed by default in Ubuntu MATE 18.04.1

Changed in ubuntu-mate:
status: New → Fix Released
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.