From 843a1e350c947951c0f00efa755139ddd8ac6bca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Veronika=20Hanul=C3=ADkov=C3=A1?= Date: Tue, 24 Sep 2024 12:57:55 +0200 Subject: [PATCH] Add info about p11test to release testing page --- Smart-Card-Release-Testing.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Smart-Card-Release-Testing.md b/Smart-Card-Release-Testing.md index 2e32479..7998e76 100644 --- a/Smart-Card-Release-Testing.md +++ b/Smart-Card-Release-Testing.md @@ -755,6 +755,20 @@ OpenSC is removed. Test random number generation, digest calculation, signature, verification and decryption with the token using the PKCS#11 API. +```bash +pkcs11-tool --test -p "$PIN" --module "/path/to/opensc-pkcs11.so" +``` + +#### `pkcs11` + +Test signature, verification, decryption, key wrapping and derivation in various modes with the token using the PKCS#11 API. + +```bash +p11test -p "$PIN" -m "/path/to/opensc-pkcs11.so" +``` + +If not sure, whether the output signifies correct results, compare results with older OpenSC version. + ##### Windows **Test Steps:** @@ -795,7 +809,7 @@ Test random number generation, digest calculation, signature, verification and d **Expected Result:** Certificates and private keys are verified (see command line output). The token's certificates are shown in a dialog. -###### PIN Verification +##### PIN Verification **Preconditions:** @@ -811,7 +825,7 @@ Certificates and private keys are verified (see command line output). The token' **Expected Result:** User is logged in. The *Log Out* button becomes available. -##### TLS Client Authentication +#### TLS Client Authentication **Preconditions:**