HEIMLICH(5) File Formats Manual HEIMLICH(5)

heimlichheimlich file format

This manual covers the unencrypted file format used by heimlich(1). Such file must be encrypted using scrypt(1).

Comments can be put anywhere in the file using a hash mark (‘#’) and extend to the end of the current line.

Each entry consists of a single line consisting of one or many columns, separated by whitespace. By convention, a three column layout is often used where the columns denote a free form identifier followed by a username and password.

~/.heimlich/$USER.enc
The default encrypted file containing secrets.

The following example shows how to encrypt a file compatible with heimlich(1):

$ cd ~/.heimlich
$ cat $USER
# domain	username		password
example.com	user@example.com	secret
$ scrypt enc $USER $USER.enc
$ rm -P $USER

By default, heimlich(1) will extract the third column from the file encrypted above:

$ heimlich example
secret

heimlich(1), scrypt(1)

Anton Lindqvist <anton@basename.se>

July 24, 2020 OpenBSD 7.2