pass PIN environment variable to container
This commit is contained in:
parent
72ad4c61b4
commit
1f64163251
|
@ -19,6 +19,7 @@ while IFS= read -r f; do
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
-v /run/pcscd/pcscd.comm:/run/pcscd/pcscd.comm:ro \
|
-v /run/pcscd/pcscd.comm:/run/pcscd/pcscd.comm:ro \
|
||||||
-v "${PWD}":/home/user \
|
-v "${PWD}":/home/user \
|
||||||
|
-e INPUT_USER_PIN \
|
||||||
git.lerch.org/lobo/pkcs11:1 \
|
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_USER_PIN
|
||||||
ec=$?
|
ec=$?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user