Initial commit

This commit is contained in:
Sebastian Hugentobler 2018-07-19 12:30:54 +02:00
commit 61dec59f3e
5 changed files with 56 additions and 0 deletions

7
bin/restore_key Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env sh
set -e
PUB_KEY=$1
INPUT_DIR=${2:-.}
cat "$INPUT_DIR"/*.txt | base64 -D | paperkey --pubring "$PUB_KEY" --input-type raw --output private.key