aboutsummaryrefslogtreecommitdiff
path: root/openssl/agent/pkcs11/private-key.test.testscript
blob: a56c99b1b41933e50909eaadc1e93f7882487875 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# file      : openssl/agent/pkcs11/private-key.test.testscript -*- C++ -*-
# license   : MIT; see accompanying LICENSE file

#url = 'pkcs11:token=name:cppget.org;object=SIGN%20key?pin-value=123123'

: sign
:
: Enable this test with care as this is not a simulation and the above URL
: must match the token PIN. In the worst case the test may reset the token
# PIN.
:
if ("$url" != "")
{
  $* "$url" <'test' | base64 >>EOO
  jbTa3H3F2KHGbzDW/FaI5oeqPQknxyKhgbl6eDZlEzwaXKhRXueQNC1TMwc5HgWtuUWoJYkdTmpI
  20X4rBfECYIYSwZPBWCypgWn8/mnZEEtL+sfoDXrm/MRBQhdg3FJorL9lGy8+OFH83RNPwic+2yZ
  ItoReDFjlzkOWmsym3BPhDDrOOQ7DEAdaQDmJXJJsNvpIWmr2957CDoieyCx8yUc8zVR1viOsY47
  rdZrXuJ5BH+cda4tmLthoI0PhHxNn6f56qfYxboXSE6hvGo6DLjipCLNVfROsIHJO1RSEkFt2lQ+
  jVi7ZST0ZTsZI4lb/t8b6LoHumTQeteMBnMyCQ==
  EOO
}