Puffy's Encrypted Container Manager - A tool for simplifying secure virtual devices in OpenBSD

lotus 82b3838256 fixed name clash bug - warns about similar names 5 months ago
.gitignore d7211ffc9b fixed makefile, updated readme, added gitignore 7 months ago
LICENSE.md 3f5e5c0b0e updated readme and license 6 months ago
README.md 3f5e5c0b0e updated readme and license 6 months ago
makefile d7211ffc9b fixed makefile, updated readme, added gitignore 7 months ago
pecm.1 48de1974e3 completed man file, updated makefile to install it 10 months ago
pecm.sh 82b3838256 fixed name clash bug - warns about similar names 5 months ago

README.md

pecm

logo

License

Motivation

I use the ctmg tool written by Jason Donenfeld (aka zx2c4) on my Linux machines. I wanted a tool like ctmg for OpenBSD.

Installation

Simply run:

doas make install

# to uninstall
doas make uninstall

There are no dependencies, but this tool only works for OpenBSD

Usage

pecm new 1000 MB
pecm open container.ct # (pecm expects your container to have the .ct extension at runtime)
pecm list
pecm close container

Differences from ctmg

  • Does not create sparse containers
  • Does not auto invoke doas if run as a normal user
  • Does not include the 'delete' flag (I'll let you type rm)

Limitations

With the generic kernel you can only have 4 virtual devices open at once. You have to compile a custom kernel to change this value. See the man page for vnd for more info.

License / Disclaimer

This project is licensed under the 3-clause BSD license. (See LICENSE.md) I take no responsibility for you blowing stuff up. Artwork courtesy of freepik (CC 3.0 BY)