correct PIN variable

This commit is contained in:
Emil Lerch 2023-03-27 21:46:07 -07:00
parent 1f64163251
commit ef1192b9be
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -19,9 +19,9 @@ while IFS= read -r f; do
docker run --rm \
-v /run/pcscd/pcscd.comm:/run/pcscd/pcscd.comm:ro \
-v "${PWD}":/home/user \
-e INPUT_USER_PIN \
-e INPUT_PIN \
git.lerch.org/lobo/pkcs11:1 \
-s --id "${INPUT_SLOT}" -m SHA256-RSA-PKCS -i "$f" -o "${dest_sig}" --pin env:INPUT_USER_PIN
-s --id "${INPUT_SLOT}" -m SHA256-RSA-PKCS -i "$f" -o "${dest_sig}" --pin env:INPUT_PIN
ec=$?
if [ $ec -ne 0 ]; then
exit $ec