๐ Script for creating encrypted container
๐ก Newskategorie: Linux Tipps
๐ Quelle: reddit.com
I wanted an easy solution to mount and unmount an encrypted container on my installation. I couldn't find anything so I made a script that does it. Posting it here in case it could be of use for anyone else.
On the first run it uses cryptsetup to create a luksFS container and mount path as specified by the user (creates config file in ~/.config/) before verifying that it can mount and unmount it. On subsequent runs it checks for the config file and by menu selection mount or unmounts the volume.
The code is a bit "hacky", but it does what it is supposed to on my arch installation
[link] [comments] ...