Skip to content

Bun/cryptfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cryptfile

A tool to make managing encrypted filesystem-in-a-file easier.

Usage:

# Create a new LUKS file
cryptfile format example.img 32M

# Mount the LUKS file to `mnt`
cryptfile mount example.img mnt

# If you're mounting for the first time, you should also make the
# filesystem accessible to you:
sudo chown `id -u`:`id -g` mnt

# Unmount
cryptfile umount example.img

TODO

  • More control over LUKS options
  • Test and fix resizing (shrinking seems to be broken!)

Dependencies

  • Python 3
  • Standard mount tools: mount, umount, losetup
  • Cryptsetup (Debian: cryptsetup-bin, Gentoo: sys-fs/cryptsetup)
  • If you're not currently root, sudo

About

Mounting LUKS files made easy

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages