pkcs11-test 0.2.0: Command-line tool for testing and XML scripting interactions with PKCS #11 providers

Frank Morgner <[email protected]> Wed, 3 Jun 2026 11:55:40 +0200
Newsgroups gmane.comp.encryption.opensc.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============9083893708459855593==
Content-Type: multipart/alternative;
 boundary="------------uYd0IprhBCtjXOE0YePRdOrn"

This is a multi-part message in MIME format.
--------------uYd0IprhBCtjXOE0YePRdOrn
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi all!

I have pushed the first stable release of pkcs11-test, which...

# Runs official PKCS #11 conformance tests defined in XML files from PKCS 
#11 Profiles 3.1 and 3.2.
# Executes custom XML scripts, making it useful as a scripting layer over 
PKCS #11 APIs.
# Supports dynamic variables inside XML scripts from outputs for later 
calls or from environment variables

https://github.com/frankmorgner/pkcs11-test/releases/tag/0.2.0

Typical usage would look something like this:

cat src/test-cases/pkcs11-v3.1/softhsm-2.6.1/init.xml \
     src/test-cases/pkcs11-v3.1/softhsm-2.6.1/AUTH-M-1-31.xml \
     | target/release/pkcs11-test --module libsofthsm2.so

Best regards,
Frank.

--------------uYd0IprhBCtjXOE0YePRdOrn
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi all!</p>
    <p>I have pushed the first stable release of pkcs11-test, which...</p>
    <p>
    </p>
    <p>
      <li>Runs official PKCS #11 conformance tests defined in XML files
        from PKCS #11 Profiles 3.1 and 3.2.</li>
      <li>Executes custom XML scripts, making it useful as a scripting
        layer over PKCS #11 APIs.</li>
      <li>Supports dynamic variables inside XML scripts from outputs for
        later calls or from environment variables</li>
    </p>
    <p><a moz-do-not-send="true"
href="https://github.com/frankmorgner/pkcs11-test/releases/tag/0.2.0"
        class="moz-txt-link-freetext">https://github.com/frankmorgner/pkcs11-test/releases/tag/0.2.0</a></p>
    <p>Typical usage would look something like this:<br>
    </p>
    <pre>cat src/test-cases/pkcs11-v3.1/softhsm-2.6.1/init.xml \
    src/test-cases/pkcs11-v3.1/softhsm-2.6.1/AUTH-M-1-31.xml \
    <span class="pl-k">|</span> target/release/pkcs11-test --module libsofthsm2.so
</pre>
    <p>Best regards,<br>
      Frank.</p>
  </body>
</html>

--------------uYd0IprhBCtjXOE0YePRdOrn--


--===============9083893708459855593==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============9083893708459855593==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Opensc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensc-devel

--===============9083893708459855593==--