mirror of
https://github.com/opnsense/tools.git
synced 2026-05-28 04:35:46 -04:00
8 lines
150 B
Bash
Executable file
8 lines
150 B
Bash
Executable file
#!/bin/sh
|
|
|
|
PUBKEY=${1}
|
|
|
|
if [ -n "${PUBKEY}" -a -f "${PUBKEY}" ]; then
|
|
echo "function: \"sha256\""
|
|
echo "fingerprint: \"$(sha256 -q ${PUBKEY})\""
|
|
fi
|