EtherTrust TLS-SE · Test Scenarios
Run a guided sequence of shell commands on one reserved Secure Element. The scenario runner uses the existing TLS 1.3 PSK connection settings and SNI allocation rules of the EtherTrust demo plugin.
Read the version and check text echo.
One command per line, sent as ASCII + CRLF. Lines starting with # are comments and are not sent. {{LAST_HEX}} inserts the last 16-byte hexadecimal response. Edit the WordPress page to save scenario changes permanently.
The runner reserves one SNI, sends each command through a separate TLS connection, and releases the SNI when the scenario ends or is stopped. The maximum session time is controlled by the original demo plugin.
A short delay between commands respects the original plugin’s command rate limit. A failure stops the scenario; later commands are not sent.
Loading scenario interface…
JavaScript initialization pending…
Scenario Library
01 · Identify the TLS-SE
Verify the TLS-SE software version and the ASCII echo function. No key material is changed.
# Read the KMS application version ?00 # Check the echo command ?01Hello TLS-SE
02 · ECC secp256k1
Create an ECC key in slot 1, read its public key and sign a 32-byte hexadecimal value.
# Clear ECC slot 1 c01 # Generate a secp256k1 private/public key pair g01 # Read the public key p01 # ECDSA: sign a 32-byte hexadecimal test value s0100112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF
03 · ECC secp256r1
Generate a prime256v1 key pair and produce an ECDSA signature using ECC slot 1.
# Clear secp256r1 slot 1 c11 # Generate a secp256r1 key pair g11 # Retrieve the public key p11 # Sign a 32-byte value using ECDSA s1100112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF
04 · RSA-2048 signatures
Generate an RSA-2048 key pair, retrieve the modulus and public exponent and compute a signature.
# Clear RSA key slot 1 c21 # Generate RSA-2048 in slot 1 g21 # Public modulus — command index plus parameter 0 p2100 # Public exponent — command index plus parameter 1 p2101 # Compute an RSA signature s2100112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF
05 · AES-128 round trip
Load a 16-byte test key, encrypt a single 16-byte block and decrypt the returned ciphertext.
# Write the 128-bit AES key into secret slot 0 (KeyIndex 30)
t30000102030405060708090A0B0C0D0E0F
# Encrypt a 16-byte plaintext block
A0000112233445566778899AABBCCDDEEFF
# Decrypt the previous 16-byte hexadecimal response
a00{{LAST_HEX}}
06 · HMAC-SHA-256
Initialize a test secret and calculate message authentication codes for both hexadecimal and text inputs.
# Store a test secret in secret slot 0 t30000102030405060708090A0B0C0D0E0F # HMAC-SHA-256 of Hello encoded as hexadecimal h0048656C6C6F # HMAC-SHA-256 of an ASCII text message m00Hello
To add a scenario, duplicate an <article class="etscen-definition"> block, assign a new data-id, and edit its title, description and command lines. Prefix comment lines with # . Maximum 12 commands per scenario.