~ecs/himitsu unlisted

What if we tried more FD manipulation updates
Further FD manipulation updates
README.md: fix example

refs

master
browse  log 

clone

read-only
https://git.d2evs.net/~ecs/himitsu
read/write
git@git.d2evs.net:~ecs/himitsu

You can also use your local clone with git send-email.

#himitsu

Himitsu is a WIP secret storage system.

#Usage

$ cat $(which hiprompt)
#!/bin/sh -eu
if [ $# -eq 1 ]; then
	exec bemenu -p "enter passphrase for decryption of $1" </dev/null
else
	exec bemenu -p "permit decryption of $1?" </dev/null >/dev/null
fi
$ cat $(which hiaction)
#!/bin/sh -eu
gpg --passphrase-fd 0 --batch --pinentry-mode loopback -qd "$1"
$ gpg -d test.gpg
the quick brown fox jumps over the lazy dog
$ himitsud hiprompt hiaction &
$ hictl test.gpg
[himitsud prompts for the password]
the quick brown fox jumps over the lazy dog
$ hictl test.gpg
[himitsud asks for authentication]
the quick brown fox jumps over the lazy dog