# Accessing Luks-encrypted disc from FreeBSD

I have some data on a ZFS in a machine running FreeBSD that needs evacuation. I have a disc in a USB enclosure with enough space, but it's encrypted using LUKS on a machine running Linux. Is there any way to connect the disc directly to the FreeBSD box, or will I need to copy data through a Linux box (ssh or NFS to the FreeBSD)?

(I don't have room for all the discs in the zpool in any box running Linux, so don't tell me about the option of doing that and using one of the ZFS implementations available on Linux.)

Not a direct answer to your question, but you could cryptsetup open, resize2fs to shrink your encrypted filesystem, cryptsetup close, parted resizepart to shrink the partition and mkpart a new one in the freed space, mkfs to create an unencrypted filesystem suitable for hassle-free data exchange.
Apart from that, LUKS does not care about device size, so you do not need to do anything else as far as the encryption is concerned. In particular you don't need cryptsetup resize, that's only for online resize.