8 lines
161 B
Bash
Executable File
8 lines
161 B
Bash
Executable File
#!/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
|