From 1f64163251b0cd4af565241afa21f5a2d5f13aa9 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Mon, 27 Mar 2023 21:29:40 -0700 Subject: [PATCH] pass PIN environment variable to container --- entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/entrypoint.sh b/entrypoint.sh index e59aae7..f1db6e2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -19,6 +19,7 @@ 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 \ git.lerch.org/lobo/pkcs11:1 \ -s --id "${INPUT_SLOT}" -m SHA256-RSA-PKCS -i "$f" -o "${dest_sig}" --pin env:INPUT_USER_PIN ec=$?