unlock macOS encrypted Volume on linux
For accessing CoreStorage encrypted volumes, you can use the freely available libfvde software on Linux:

https://github.com/libyal/libfvde

For APFS encrypted containers you can use either the commercial software "APFS for Linux by Paragon Software":

https://www.paragon-software.com/us/business/apfs-linux/

or the freely available apfs-fuse software:

https://github.com/sgan81/apfs-fuse

Both are read-only.

Note that apfs-fuse is marked as "experimental", so YMMV. However as it is read-only it shouldn't do any harm to do your data.