Skip to content

docs: add THD89 SE command reference#416

Open
Shoyo1024 wants to merge 1 commit intoOneKeyHQ:mainfrom
Shoyo1024:doc-pr
Open

docs: add THD89 SE command reference#416
Shoyo1024 wants to merge 1 commit intoOneKeyHQ:mainfrom
Shoyo1024:doc-pr

Conversation

@Shoyo1024
Copy link

Summary

  • Add the OneKey THD89 Secure Element runtime command interface documentation
  • Covers full APDU command set, MCU–SE key agreement protocol, and independent evaluation guide
  • Placed in docs/OneKey_THD89_SE_Command.md

Contents

  • Communication interface: I2C, 1024-byte max TX/RX
  • MCU–SE key agreement protocol: ECDH (secp256k1) + AES-128 secure messaging with sequence diagram
  • Full APDU command set: system, device info, FIDO/U2F, mnemonics & data management, PIN/security, session/seed, key derivation, signing (ECDSA/Ed25519/BIP340 Schnorr), ECDH, AES, SLIP21, CoinJoin, fingerprint
  • Status codes (SW1SW2) reference
  • Data encoding conventions: BIP32 path, curve identifiers, signature format
  • Omitted factory-only commands with rationale
  • Independent evaluation guide: 8 test scenarios for reviewers to verify SE behavior without source code access

Made with Cursor

Add the OneKey THD89 Secure Element runtime command interface
documentation covering APDU commands, key agreement protocol,
PIN/security operations, signing, and independent evaluation guide.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Shoyo1024 Shoyo1024 requested a review from a team as a code owner February 25, 2026 09:47
@revan-zhang
Copy link
Contributor

revan-zhang commented Feb 25, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants