Locking/unlocking encrypted SD card
First, many thanks for the option to encrypt an SD card, it is appreciated a lot! Now, setting up encryption on the card works quite nicely and without a problem. I've got a trouble with understanding the behaviour, though. As I did not find an equivalent question so I am writing a new one.
When the luks container is open and the file system mounted, there are two options in the Settings/Storage against the card: lock, unmount.
When 'lock' is chosen, the file system gets unmounted but the container remains active and open, i.e. it is not locked. IMHO this is not right. I would really want that the volume get closed on 'lock'.
When I then choose the mount option, the file system gets mounted without me being prompted for the luks passphrase as it remained open on 'lock'.
Second, when the file system is unmounted, the options are mount, lock. If any, I would expect mount, unlock (and probably lock if the container is unlocked). With unlock, I'd expect a passphrase prompt to open the luks container, with mount, I'd expect the same unless the container has already been unlocked.
To sum it up, I would like to truly lock, i.e. close, the luks container on lock and be prompted for passphrase for mount, if locked, and unlock, i.e. open.