Skip to content

Feature - Add SMP Debug Mode (Core Vol.3, Part H) #905

Merged
zxzxwu merged 7 commits intogoogle:mainfrom
markusjellitsch:feature/debug-keys
Apr 9, 2026
Merged

Feature - Add SMP Debug Mode (Core Vol.3, Part H) #905
zxzxwu merged 7 commits intogoogle:mainfrom
markusjellitsch:feature/debug-keys

Conversation

@markusjellitsch
Copy link
Copy Markdown
Contributor

The SMP Manager can be used in debug mode. In this mode the security manager uses following Diffie-Hellman private / public key pair (Core Vol. 3 Part H):

Private key: 3f49f6d4 a3c55f38 74c9b3e3 d2103f50 4aff607b eb40b799 5899b8a6 cd3c1abd
Public key (X): 20b003d2 f297be2c 5e2c83a7 e9f9a5b9 eff49111 acf4fddb cc030148 0e359de6
Public key (Y): dc809c49 652aeb6d 63329abf 5a52155c 766345c2 8fed3024 741c8ed0 1589d28b

This PR enables debug mode for SMP by creating the corresponding ECC key value pair allowing sniffers (e.g. Ellisys or Teledyne) to decipher OTA traffic encrypted with LESC. The SMP debug mode can be enabled using the smp_debug_mode flag (default false) in DeviceConfiguration class and is set once the SmpManager is initialized during Device init.

@markusjellitsch
Copy link
Copy Markdown
Contributor Author

Wireshark detects the usage of the SMP debug keys ...

image

@zxzxwu zxzxwu merged commit 3ded901 into google:main Apr 9, 2026
55 checks passed
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