[pass] ctmg: bash script for secure encrypted containers

Jason A. Donenfeld Jason at zx2c4.com
Wed Mar 9 23:42:07 CET 2016


I'm looping Laurent into this thread in case he wants to add anything,
comparisons to Tomb, etc. Laurent came up with the initial .ct naming
scheme.

On Tue, Feb 23, 2016 at 5:25 PM, Jason A. Donenfeld <Jason at zx2c4.com> wrote:
> Hey guys,
>
> If you like that pass is a simple bash script for managing secure
> resources, you might like another little script I wrote called `ctmg`.
> It's extremely simple, and allows you to have an encrypted file which
> can be opened to a directory. If you're extra-nutty you could even put
> your password store in a .ct file.
>
>     zx2c4 at thinkpad ~ $ ctmg open example
>     [#] cryptsetup luksOpen /home/zx2c4/example.ct ct_example
>     Enter passphrase for /home/zx2c4/example.ct:
>     [#] mkdir -p /home/zx2c4/example
>     [#] mount /dev/mapper/ct_example /home/zx2c4/example
>     [+] Opened /home/zx2c4/example.ct at /home/zx2c4/example
>
>     zx2c4 at thinkpad ~ $ echo "super secret" > example/mysecretfile.txt
>
>     zx2c4 at thinkpad ~ $ ctmg close example
>     [#] umount /home/zx2c4/example
>     [#] cryptsetup luksClose ct_example
>     [#] rmdir /home/zx2c4/example
>     [+] Closed /home/zx2c4/example.ct
>
> It's got some nifty functionality.
>
> If you're interested, head on over to:
> https://git.zx2c4.com/ctmg/about/
>
> And you can clone the repo with:
> $ git clone https://git.zx2c4.com/ctmg/
>
> Let me know what you think.
> Jason


More information about the Password-Store mailing list