{"id":329,"date":"2026-11-19T09:53:19","date_gmt":"2026-11-19T09:53:19","guid":{"rendered":"https:\/\/ethertrust.com\/?page_id=329"},"modified":"2026-11-19T09:53:19","modified_gmt":"2026-11-19T09:53:19","slug":"mfa","status":"publish","type":"page","link":"https:\/\/ethertrust.com\/index.php\/mfa\/","title":{"rendered":"MFA"},"content":{"rendered":"\n<section id=\"etum-console-1\" class=\"etum-console\" data-etum-console aria-label=\"EtherTrust USB MFA TLS-IM Console\">\n  <header class=\"etum-head\">\n    <span class=\"etum-kicker\">ETHERTRUST \/ TLS IDENTITY MODULE<\/span>\n    <h2>USB MFA TLS-IM Console<\/h2>\n    <p>Arduino Leonardo \/ ATmega32U4 &amp; Java Card. Local USB (Windows Web Serial \/ Android WebUSB): <strong>19200 baud \u00b7 8 data bits \u00b7 no parity \u00b7 1 stop bit \u00b7 CRLF<\/strong>.<\/p>\n    <p class=\"etum-note\">This independent console tests your <code>user<\/code>, <code>binder<\/code>, <code>derive<\/code> and <code>bmac<\/code> USB commands, plus APDU key\/certificate and challenge verification on <strong>secp256k1 (not P-256)<\/strong>. <strong>It does not yet open a TLS connection to a pNHSM.<\/strong> PIN, challenges and responses stay in this browser page and are not sent to WordPress.<\/p>\n  <\/header>\n\n  <div class=\"etum-grid\">\n    <section class=\"etum-panel\" aria-labelledby=\"etum-console-1-connect\">\n      <h3 id=\"etum-console-1-connect\">1. USB connection<\/h3>\n      <label for=\"etum-console-1-transport\">USB transport<\/label>\n      <select id=\"etum-console-1-transport\" data-etum-transport>\n        <option value=\"auto\">Auto (recommended)<\/option>\n        <option value=\"serial\">Web Serial (Windows \/ supported Android)<\/option>\n        <option value=\"webusb\">WebUSB CDC-ACM (Android USB OTG)<\/option>\n      <\/select>\n      <div class=\"etum-status etum-muted\" data-etum-capabilities aria-live=\"polite\">Checking USB capabilities\u2026<\/div>\n      <div class=\"etum-buttonbar\">\n        <button type=\"button\" class=\"etum-button\" data-etum-connect>Connect USB Token<\/button>\n        <button type=\"button\" class=\"etum-button etum-secondary\" data-etum-disconnect disabled>Disconnect<\/button>\n      <\/div>\n      <div class=\"etum-status\" data-etum-connection role=\"status\">Not connected<\/div>\n      <p class=\"etum-helper\">Windows: use Chrome\/Edge and Web Serial. Android: use Chrome and a USB OTG cable, then select the Arduino Leonardo via WebUSB. Accept both the Chrome and Android USB permission dialogs. If Auto cannot find the token, try WebUSB CDC-ACM. No EtherTrust app is installed.<\/p>\n    <\/section>\n\n    <section class=\"etum-panel\" aria-labelledby=\"etum-console-1-user\">\n      <h3 id=\"etum-console-1-user\">2. User PIN<\/h3>\n      <label for=\"etum-console-1-pin\">User PIN (4 decimal digits)<\/label>\n      <div class=\"etum-fieldrow\">\n        <input id=\"etum-console-1-pin\" data-etum-pin type=\"password\" inputmode=\"numeric\" pattern=\"[0-9]{4}\" minlength=\"4\" maxlength=\"4\" autocomplete=\"off\" spellcheck=\"false\" placeholder=\"\u2022\u2022\u2022\u2022\" aria-label=\"Four digit user PIN\" \/>\n        <button type=\"button\" class=\"etum-button\" data-etum-user disabled>Verify PIN<\/button>\n      <\/div>\n      <div class=\"etum-status etum-muted\" data-etum-user-status aria-live=\"polite\">User not verified<\/div>\n      <p class=\"etum-helper\">USB command: <code>user ****\\r\\n<\/code>. Successful response: <code>OK\\r\\n<\/code>. The PIN is cleared from its field after the request.<\/p>\n    <\/section>\n\n    <section class=\"etum-panel\" aria-labelledby=\"etum-console-1-binder\">\n      <h3 id=\"etum-console-1-binder\">3. Binder<\/h3>\n      <label for=\"etum-console-1-binder-in\">32-byte input (64 HEX digits)<\/label>\n      <input id=\"etum-console-1-binder-in\" data-etum-binder-input class=\"etum-mono\" type=\"text\" autocomplete=\"off\" spellcheck=\"false\" maxlength=\"64\" placeholder=\"64 hexadecimal digits\" \/>\n      <div class=\"etum-buttonbar\">\n        <button type=\"button\" class=\"etum-button\" data-etum-binder disabled>Compute Binder<\/button>\n        <button type=\"button\" class=\"etum-button etum-secondary\" data-etum-binder-random>Random 32 bytes<\/button>\n      <\/div>\n      <label for=\"etum-console-1-binder-out\">Binder response (HEX)<\/label>\n      <textarea id=\"etum-console-1-binder-out\" data-etum-binder-output class=\"etum-mono\" rows=\"2\" readonly spellcheck=\"false\"><\/textarea>\n      <p class=\"etum-helper\" data-etum-binder-time>Elapsed: \u2014<\/p>\n    <\/section>\n\n    <section class=\"etum-panel\" aria-labelledby=\"etum-console-1-derive\">\n      <h3 id=\"etum-console-1-derive\">4. Derive \u2014 hardware ACK<\/h3>\n      <label for=\"etum-console-1-derive-in\">32-byte input (64 HEX digits)<\/label>\n      <input id=\"etum-console-1-derive-in\" data-etum-derive-input class=\"etum-mono\" type=\"text\" autocomplete=\"off\" spellcheck=\"false\" maxlength=\"64\" placeholder=\"64 hexadecimal digits\" \/>\n      <div class=\"etum-buttonbar\">\n        <button type=\"button\" class=\"etum-button\" data-etum-derive disabled>Compute Derive<\/button>\n        <button type=\"button\" class=\"etum-button etum-secondary\" data-etum-derive-random>Random 32 bytes<\/button>\n      <\/div>\n      <p class=\"etum-ack\" data-etum-ack hidden>Press the physical <strong>ACK<\/strong> button on your TLS-IM token now.<\/p>\n      <label for=\"etum-console-1-derive-out\">Handshake secret (HEX \u2014 sensitive)<\/label>\n      <textarea id=\"etum-console-1-derive-out\" data-etum-derive-output class=\"etum-mono\" rows=\"2\" readonly spellcheck=\"false\"><\/textarea>\n      <p class=\"etum-helper\" data-etum-derive-time>Elapsed: \u2014<\/p>\n    <\/section>\n\n    <section class=\"etum-panel etum-wide\" aria-labelledby=\"etum-console-1-bmac\">\n      <h3 id=\"etum-console-1-bmac\">5. Optional bMAC software attestation<\/h3>\n      <div class=\"etum-gridfields\">\n        <div>\n          <label for=\"etum-console-1-seed\">Seed (8 HEX digits; range 00000001\u20137FFFFFFF)<\/label>\n          <input id=\"etum-console-1-seed\" data-etum-bmac-seed class=\"etum-mono\" value=\"00000001\" maxlength=\"8\" type=\"text\" spellcheck=\"false\" autocomplete=\"off\" \/>\n        <\/div>\n        <div>\n          <label for=\"etum-console-1-expected\">Expected digest, if enrolled (optional, 64 HEX)<\/label>\n          <input id=\"etum-console-1-expected\" data-etum-bmac-expected class=\"etum-mono\" maxlength=\"64\" type=\"text\" spellcheck=\"false\" autocomplete=\"off\" placeholder=\"Reference digest \u2014 optional\" \/>\n        <\/div>\n      <\/div>\n      <div class=\"etum-buttonbar\">\n        <button type=\"button\" class=\"etum-button\" data-etum-bmac disabled>Compute bMAC (\u224830 s)<\/button>\n        <button type=\"button\" class=\"etum-button etum-secondary\" data-etum-bmac-random>Random 31-bit seed<\/button>\n      <\/div>\n      <div class=\"etum-status etum-muted\" data-etum-bmac-status aria-live=\"polite\">Not run<\/div>\n      <label for=\"etum-console-1-bmac-out\">bMAC response (64 HEX)<\/label>\n      <textarea id=\"etum-console-1-bmac-out\" data-etum-bmac-output class=\"etum-mono\" rows=\"2\" readonly spellcheck=\"false\"><\/textarea>\n      <div class=\"etum-metrics\">\n        <div><span>Time reported by token<\/span><strong data-etum-bmac-token-time>\u2014<\/strong><\/div>\n        <div><span>Browser elapsed time<\/span><strong data-etum-bmac-wall-time>\u2014<\/strong><\/div>\n      <\/div>\n      <p class=\"etum-helper\">Typical computation: ~30 seconds. The token's decimal timing unit depends on its firmware. A digest alone is not proof of integrity: compare it with a trusted enrolled reference for the same seed and relevant timing profile.<\/p>\n    <\/section>\n\n    <section class=\"etum-panel etum-wide\" aria-labelledby=\"etum-console-1-ecdsa\">\n      <h3 id=\"etum-console-1-ecdsa\">6. TLS-IM identity \u2014 ECDSA secp256k1<\/h3>\n      <p class=\"etum-helper\">All APDU requests and responses are ASCII HEX terminated by CRLF. SW=9000 indicates APDU success. Both signature checks use <strong>secp256k1<\/strong> (not secp256r1\/P-256). The certificate hashes only X || Y (64 bytes, one SHA-256); the challenge hashes its 32-byte input once.<\/p>\n      <div class=\"etum-buttonbar\">\n        <button type=\"button\" class=\"etum-button\" data-etum-read-pub disabled>Read public key (008406FE43)<\/button>\n        <button type=\"button\" class=\"etum-button\" data-etum-read-cert disabled>Read certificate (008E000040)<\/button>\n      <\/div>\n      <label for=\"etum-console-1-pub\">TLS-IM public key (65 bytes, uncompressed 04||X||Y)<\/label>\n      <textarea id=\"etum-console-1-pub\" data-etum-pub class=\"etum-mono\" rows=\"3\" readonly spellcheck=\"false\"><\/textarea>\n      <div class=\"etum-status etum-muted\" data-etum-pub-status aria-live=\"polite\">Not read<\/div>\n      <label for=\"etum-console-1-cert\">Certificate (64 bytes: R32 || S32)<\/label>\n      <textarea id=\"etum-console-1-cert\" data-etum-cert class=\"etum-mono\" rows=\"3\" readonly spellcheck=\"false\"><\/textarea>\n      <div class=\"etum-status etum-muted\" data-etum-cert-status aria-live=\"polite\">Not read<\/div>\n      <label for=\"etum-console-1-ca\">Trusted CA public key (65 bytes, uncompressed secp256k1, 130 HEX digits)<\/label>\n      <textarea id=\"etum-console-1-ca\" data-etum-ca class=\"etum-mono\" rows=\"3\" maxlength=\"130\" spellcheck=\"false\" autocomplete=\"off\">046099836D971593AAA2C1C32B6DB9EF9521041795E21CF1E7511DF3BD358F97DF358B33A875E359CBE236163D6DBAEDFEC6C9393522C7EBC25A7CC85E1F0A7D67<\/textarea>\n      <div class=\"etum-buttonbar\">\n        <button type=\"button\" class=\"etum-button\" data-etum-verify-cert disabled>Verify certificate against CA<\/button>\n      <\/div>\n      <div class=\"etum-status etum-muted\" data-etum-cert-check aria-live=\"polite\">Certificate not verified<\/div>\n      <p class=\"etum-helper\">The CA key above is your example, not a trust guarantee. Independently confirm it is the CA you intend to trust. The certificate verifies ECDSA-secp256k1 over SHA256(X || Y), the 64-byte TLS-IM coordinates without the 04 prefix (single SHA-256).<\/p>\n      <label for=\"etum-console-1-challenge\">Challenge (32 bytes, 64 HEX digits)<\/label>\n      <input id=\"etum-console-1-challenge\" data-etum-challenge class=\"etum-mono\" type=\"text\" maxlength=\"64\" autocomplete=\"off\" spellcheck=\"false\" placeholder=\"64 hexadecimal digits\" \/>\n      <div class=\"etum-buttonbar\">\n        <button type=\"button\" class=\"etum-button etum-secondary\" data-etum-challenge-random>Random 32-byte challenge<\/button>\n        <button type=\"button\" class=\"etum-button\" data-etum-sign disabled>Sign challenge &amp; verify (008021FE20)<\/button>\n      <\/div>\n      <label for=\"etum-console-1-signature\">ECDSA signature (ASN.1 DER, HEX)<\/label>\n      <textarea id=\"etum-console-1-signature\" data-etum-signature class=\"etum-mono\" rows=\"3\" readonly spellcheck=\"false\"><\/textarea>\n      <div class=\"etum-status etum-muted\" data-etum-sign-status aria-live=\"polite\">Challenge not signed<\/div>\n      <p class=\"etum-helper\">The challenge signature checks possession of the private key corresponding to the public key read from this token. Verification is local in the browser; the CA key, challenge, signatures and PIN are not posted to WordPress.<\/p>\n    <\/section>\n\n    <section class=\"etum-panel etum-wide\" aria-labelledby=\"etum-console-1-log\">\n      <h3 id=\"etum-console-1-log\">USB transaction console<\/h3>\n      <div class=\"etum-buttonbar\">\n        <button type=\"button\" class=\"etum-button etum-secondary\" data-etum-clear-output>Clear Results<\/button>\n        <button type=\"button\" class=\"etum-button etum-secondary\" data-etum-clear-all>Clear All Fields<\/button>\n        <button type=\"button\" class=\"etum-button etum-secondary\" data-etum-clear-log>Clear Log<\/button>\n      <\/div>\n      <div class=\"etum-status etum-muted\" data-etum-op-status role=\"status\" aria-live=\"polite\">Ready<\/div>\n      <pre class=\"etum-log\" data-etum-log aria-label=\"USB transaction log\"><\/pre>\n      <p class=\"etum-helper\">The console intentionally logs command names and durations, not PINs, cryptographic inputs or secret outputs. To revoke USB access, use your browser's site permission controls.<\/p>\n    <\/section>\n  <\/div>\n<\/section>\n\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-329","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ethertrust.com\/index.php\/wp-json\/wp\/v2\/pages\/329","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=329"}],"version-history":[{"count":1,"href":"https:\/\/ethertrust.com\/index.php\/wp-json\/wp\/v2\/pages\/329\/revisions"}],"predecessor-version":[{"id":330,"href":"https:\/\/ethertrust.com\/index.php\/wp-json\/wp\/v2\/pages\/329\/revisions\/330"}],"wp:attachment":[{"href":"https:\/\/ethertrust.com\/index.php\/wp-json\/wp\/v2\/media?parent=329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}