You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash |
|
|
|
# Mocks fipshmac using the openssl tool. |
|
# Only for use during RPM build. |
|
|
|
[ "$1" = '-d' ] || exit 1 |
|
|
|
openssl sha256 -hmac orboDeJITITejsirpADONivirpUkvarP -hex "$3" | cut -f 2 -d ' ' \ |
|
>"$2/$(basename "$3").hmac"
|
|
|