tidy and refactor PKCS#11 setup code
authordjm <djm@openbsd.org>
Mon, 30 Oct 2023 17:32:00 +0000 (17:32 +0000)
committerdjm <djm@openbsd.org>
Mon, 30 Oct 2023 17:32:00 +0000 (17:32 +0000)
commit4652e3440d80aa2fb76d9d0159d9b3609b4c078b
tree448e91e8b1a87db7b70f40de674efcdce58041a1
parenta21075fee22d6d3b6a0f42eb34acb0f38d976073
tidy and refactor PKCS#11 setup code

Replace the use of a perl script to delete the controlling TTY with a
SSH_ASKPASS script to directly load the PIN.

Move PKCS#11 setup code to functions in anticipation of it being used
elsewhere in additional tests.

Reduce stdout spam
regress/usr.bin/ssh/agent-pkcs11.sh