{"id":271,"date":"2026-11-16T13:11:39","date_gmt":"2026-11-16T13:11:39","guid":{"rendered":"https:\/\/ethertrust.com\/?page_id=271"},"modified":"2026-11-16T15:21:58","modified_gmt":"2026-11-16T15:21:58","slug":"livedemo2","status":"publish","type":"page","link":"https:\/\/ethertrust.com\/index.php\/livedemo2\/","title":{"rendered":"LiveDemo2"},"content":{"rendered":"<p><!-- EtherTrust TLS-SE Test Scenarios \u2014 editor-safe v4.1.\n     Keep the three Gutenberg blocks below: HTML \/ Shortcode \/ HTML.\n     This page is compatible with the Scenarios v0.4 plugin. --><\/p>\n\n<p role=\"alert\">EtherTrust TLS-SE Demo v0.7 must be installed and active before using the scenario runner.<\/p>\n\n\n\n<section aria-label=\"Editable TLS-SE scenario library\" style=\"background:#10151b;color:#e4ebf2;padding:30px 20px 35px;margin:20px auto 10px;max-width:1120px;border-radius:12px;box-sizing:border-box\">\n  <h2 style=\"text-align:center;color:#ecca8d;font-size:27px;margin:0 0 12px\">Scenario Library<\/h2>\n  \n  <!-- SCENARIO LIBRARY: duplicate an entire <article> and use a UNIQUE data-id for each scenario. -->\n<div class=\"etscen-library\" data-etscen-library=\"1\" style=\"display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:16px;margin:24px 0 0\">\n<article class=\"etscen-definition\" data-id=\"identity\" data-category=\"Read-only\" style=\"background-color:#1e2833!important;color:#f3f6fa!important;border:1px solid #485361;border-radius:12px;padding:18px;min-width:0\">\n<h3 class=\"etscen-title\" style=\"color:#f4d49b!important;margin:0 0 10px;font-size:20px;line-height:1.3\">01 \u00b7 Identify the TLS-SE<\/h3>\n<p class=\"etscen-comment\" style=\"color:#e0e7ec!important;margin:0 0 14px;font-size:14px;line-height:1.6\">Verify the TLS-SE software version and the ASCII echo function. No key material is changed.<\/p>\n<pre class=\"etscen-steps\" style=\"background-color:#0e141b!important;color:#f1f6fc!important;border:1px solid #374453;border-radius:8px;padding:13px;font:13px\/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;margin:0\"># Read the KMS application version\n?00\n# Check the echo command\n?01Hello TLS-SE<\/pre>\n<\/article>\n\n<article class=\"etscen-definition\" data-id=\"k1\" data-category=\"ECC \/ secp256k1\" style=\"background-color:#1e2833!important;color:#f3f6fa!important;border:1px solid #485361;border-radius:12px;padding:18px;min-width:0\">\n<h3 class=\"etscen-title\" style=\"color:#f4d49b!important;margin:0 0 10px;font-size:20px;line-height:1.3\">02 \u00b7 ECC secp256k1<\/h3>\n<p class=\"etscen-comment\" style=\"color:#e0e7ec!important;margin:0 0 14px;font-size:14px;line-height:1.6\">Create an ECC key in slot 1, read its public key and sign a 32-byte hexadecimal value.<\/p>\n<pre class=\"etscen-steps\" style=\"background-color:#0e141b!important;color:#f1f6fc!important;border:1px solid #374453;border-radius:8px;padding:13px;font:13px\/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;margin:0\"># Clear ECC slot 1\nc01\n# Generate a secp256k1 private\/public key pair\ng01\n# Read the public key\np01\n# ECDSA: sign a 32-byte hexadecimal test value\ns0100112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF<\/pre>\n<\/article>\n\n<article class=\"etscen-definition\" data-id=\"r1\" data-category=\"ECC \/ secp256r1\" style=\"background-color:#1e2833!important;color:#f3f6fa!important;border:1px solid #485361;border-radius:12px;padding:18px;min-width:0\">\n<h3 class=\"etscen-title\" style=\"color:#f4d49b!important;margin:0 0 10px;font-size:20px;line-height:1.3\">03 \u00b7 ECC secp256r1<\/h3>\n<p class=\"etscen-comment\" style=\"color:#e0e7ec!important;margin:0 0 14px;font-size:14px;line-height:1.6\">Generate a prime256v1 key pair and produce an ECDSA signature using ECC slot 1.<\/p>\n<pre class=\"etscen-steps\" style=\"background-color:#0e141b!important;color:#f1f6fc!important;border:1px solid #374453;border-radius:8px;padding:13px;font:13px\/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;margin:0\"># Clear secp256r1 slot 1\nc11\n# Generate a secp256r1 key pair\ng11\n# Retrieve the public key\np11\n# Sign a 32-byte value using ECDSA\ns1100112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF<\/pre>\n<\/article>\n\n<article class=\"etscen-definition\" data-id=\"rsa\" data-category=\"RSA-2048\" style=\"background-color:#1e2833!important;color:#f3f6fa!important;border:1px solid #485361;border-radius:12px;padding:18px;min-width:0\">\n<h3 class=\"etscen-title\" style=\"color:#f4d49b!important;margin:0 0 10px;font-size:20px;line-height:1.3\">04 \u00b7 RSA-2048 signatures<\/h3>\n<p class=\"etscen-comment\" style=\"color:#e0e7ec!important;margin:0 0 14px;font-size:14px;line-height:1.6\">Generate an RSA-2048 key pair, retrieve the modulus and public exponent and compute a signature.<\/p>\n<pre class=\"etscen-steps\" style=\"background-color:#0e141b!important;color:#f1f6fc!important;border:1px solid #374453;border-radius:8px;padding:13px;font:13px\/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;margin:0\"># Clear RSA key slot 1\nc21\n# Generate RSA-2048 in slot 1\ng21\n# Public modulus \u2014 command index plus parameter 0\np2100\n# Public exponent \u2014 command index plus parameter 1\np2101\n# Compute an RSA signature\ns2100112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF<\/pre>\n<\/article>\n\n<article class=\"etscen-definition\" data-id=\"aes\" data-category=\"AES-128\" style=\"background-color:#1e2833!important;color:#f3f6fa!important;border:1px solid #485361;border-radius:12px;padding:18px;min-width:0\">\n<h3 class=\"etscen-title\" style=\"color:#f4d49b!important;margin:0 0 10px;font-size:20px;line-height:1.3\">05 \u00b7 AES-128 round trip<\/h3>\n<p class=\"etscen-comment\" style=\"color:#e0e7ec!important;margin:0 0 14px;font-size:14px;line-height:1.6\">Load a 16-byte test key, encrypt a single 16-byte block and decrypt the returned ciphertext.<\/p>\n<pre class=\"etscen-steps\" style=\"background-color:#0e141b!important;color:#f1f6fc!important;border:1px solid #374453;border-radius:8px;padding:13px;font:13px\/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;margin:0\"># Write the 128-bit AES key into secret slot 0 (KeyIndex 30)\nt30000102030405060708090A0B0C0D0E0F\n# Encrypt a 16-byte plaintext block\nA0000112233445566778899AABBCCDDEEFF\n# Decrypt the previous 16-byte hexadecimal response\na00{{LAST_HEX}}<\/pre>\n<\/article>\n\n<article class=\"etscen-definition\" data-id=\"hmac\" data-category=\"HMAC-SHA-256\" style=\"background-color:#1e2833!important;color:#f3f6fa!important;border:1px solid #485361;border-radius:12px;padding:18px;min-width:0\">\n<h3 class=\"etscen-title\" style=\"color:#f4d49b!important;margin:0 0 10px;font-size:20px;line-height:1.3\">06 \u00b7 HMAC-SHA-256<\/h3>\n<p class=\"etscen-comment\" style=\"color:#e0e7ec!important;margin:0 0 14px;font-size:14px;line-height:1.6\">Initialize a test secret and calculate message authentication codes for both hexadecimal and text inputs.<\/p>\n<pre class=\"etscen-steps\" style=\"background-color:#0e141b!important;color:#f1f6fc!important;border:1px solid #374453;border-radius:8px;padding:13px;font:13px\/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;margin:0\"># Store a test secret in secret slot 0\nt30000102030405060708090A0B0C0D0E0F\n# HMAC-SHA-256 of Hello encoded as hexadecimal\nh0048656C6C6F\n# HMAC-SHA-256 of an ASCII text message\nm00Hello<\/pre>\n<\/article>\n<\/div>\n  <!-- END SCENARIO LIBRARY -->\n  <p style=\"color:#c5d3df;font-size:13px;line-height:1.6;margin:20px 0 0\">To add a scenario, duplicate an <code style=\"color:#f4d49b\">&lt;article class=\"etscen-definition\"&gt;<\/code> block, assign a new <code style=\"color:#f4d49b\">data-id<\/code>, and edit its title, description and command lines. Prefix comment lines with <code style=\"color:#f4d49b\"># <\/code>. Maximum 12 commands per scenario.<\/p>\n<\/section>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scenario Library 01 \u00b7 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 \u00b7 ECC secp256k1 Create an ECC key in slot 1, read its public key and sign a 32-byte [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-271","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ethertrust.com\/index.php\/wp-json\/wp\/v2\/pages\/271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ethertrust.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ethertrust.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ethertrust.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ethertrust.com\/index.php\/wp-json\/wp\/v2\/comments?post=271"}],"version-history":[{"count":9,"href":"https:\/\/ethertrust.com\/index.php\/wp-json\/wp\/v2\/pages\/271\/revisions"}],"predecessor-version":[{"id":289,"href":"https:\/\/ethertrust.com\/index.php\/wp-json\/wp\/v2\/pages\/271\/revisions\/289"}],"wp:attachment":[{"href":"https:\/\/ethertrust.com\/index.php\/wp-json\/wp\/v2\/media?parent=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}