8 lines
110 B
Bash
Executable File
8 lines
110 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
KEY="$1"
|
|
MSG="$2"
|
|
OUT="$3"
|
|
|
|
echo "$MSG" | openssl dgst -sha256 -sign "$PRIVKEY" --out "$OUT"
|