How do I resize a full disk encryption LUKS?

My drive is fully encrypted using the wiki instructions.

I’ve now dd the image from a 256Gio to a 1 Tio SSD and I want to resize the LUKS.

I’ve found some lengthy instructions on how to do this, but I don’t think they should be that involved, so I probably am doing something wrong;)

Any pointers to some examples or posts as to how it’s best to do this?

ok, I figured it out. It was easier than expected;)

sudo cryptsetup open /dev/sdb1 cryptomania
sudo cryptsetup resize cryptomania -v
sudo resize2fs /dev/mapper/cryptomania

EDIT: Well, actually, it was not easier than expected, but it was ok. I feel ok;) Anyways, I had to do this from another system. I couldn’t operate on the patient while it was awake.