Try to connect to luks container

Technical issues/questions of an intermediate or advanced nature.
elfr
Ronin
Ronin
Posts: 1
Joined: 10 Nov 2022, 14:03
Distribution: porteus 5.0

Try to connect to luks container

Post#1 by elfr » 10 Nov 2022, 14:31

Hi,

i try to connect to luks container.
When i try to mount an encrypted storage, i have error : The function 'bd_crypto_luks_open_blob' called, but not implemented.
On Debian system, install 'libblockdev-crypto2' solves problem.
But in Slackware, i don't found this pakage.
I convert deb pakage in xzm : debtoxzm libblockdev-crypto2_2.25-2_amd64.deb
I have got a libblockdev-crypto2_2.25-2_amd64.xzm.
I copy this file into modules folder.
I reboot, but when i try to mount, i have the same message : The function 'bd_crypto_luks_open_blob' called, but not implemented.
I use porteus 5.0 with libblockdev-2.26-x86_64-3.txz

It works with cryptsetup with command-line, but it would be simpler with gui.

Thanks you.

itrukrakso
Black ninja
Black ninja
Posts: 62
Joined: 23 Jul 2022, 07:42
Distribution: Porteus 5.01_x86_64 Xfce

Try to connect to luks container

Post#2 by itrukrakso » 15 Nov 2022, 09:31

Hi,
elfr wrote: i have error : The function 'bd_crypto_luks_open_blob' called, but not implemented
I can't tell you anything about this error,
But I can explain why your module doesn't work.
If you convert a deb package with deb2xzm, the directory structure of deb is also mapped into the xzm module.

Code: Select all

lsxzm libblockdev-crypto2_2.25-2_amd64.xzm 

/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libbd_crypto.so.2
/usr/lib/x86_64-linux-gnu/libbd_crypto.so.2.0.0
/usr/share
/usr/share/doc
.
.
.
The libraries are not in the directory that Porteus expects, namely /usr/lib64/.
For testing it is sufficient to copy the deb libraries into this directory.
In the Slackware package libblockdev-2.26-x86_64-3.txz
there is already a libbd_crypto.so.2.0.0, which will be overwritten.

For safety's sake

Code: Select all

ldconfig
Here is a newer version of the package
https://slakfinder.org/index.php?act=se ... e=#results

Maybe it works with this.

Post Reply