notes.dt.in.th

Creating encrypted directories in a Linux VPS with gocryptfs^[Given that encfs is not recommended, gocryptfs seems to be a good alternative].

# Create directories
mkdir .vault .vault-contents

# Initialize gocryptfs
gocryptfs -init .vault

# Mount gocryptfs
gocryptfs .vault .vault-contents