google / pkcs11test

PKCS#11 Test Suite
Apache License 2.0
75 stars 51 forks source link

Allow command-line specification of reset PINs #61

Closed daviddrysdale closed 3 years ago

daviddrysdale commented 3 years ago

If token initialization testing is enabled, then user/security officer PINs will be reset. Currently the expected values for these after reset are hard-coded; allow them to be overridden from the command line.

This includes the ability to set g_reset_so_pin even though this is not currently used.

Also tweak help message for default wrapping cipher to display better.

daviddrysdale commented 3 years ago

Fixes #60.