mirror of
https://github.com/agessaman/MeshCore.git
synced 2026-08-26 19:59:50 +00:00
Gate the KISS modem's identity/crypto hardware commands (GET_IDENTITY, VERIFY_SIGNATURE, SIGN_DATA, ENCRYPT_DATA, DECRYPT_DATA, KEY_EXCHANGE, HASH) and the IdentityStore/filesystem init behind KISS_NO_CRYPTO, for MCUs too resource-constrained to carry KISS crypto commands or a persistent identity/filesystem. Disabled commands fall through to the existing HW_ERR_UNKNOWN_CMD path; radio config, stats, RSSI, TX/RX, and GET_RANDOM are unaffected. Adds a native_kiss_modem_no_crypto test env, wired into CI, covering all seven gated opcodes plus PING/GET_RADIO/GET_RANDOM as still-working controls.