iotls is a dangerously simple tls client implementation using node.js.
You may have two reasons to try this project:
- you want to have some knowledge on tls internals.
- you have a secure element, such as microchip atecc508a, on your linux hardware and just need a simple tlc client in node.js for mqtt.
This project is under development.
Goals: implement a minimal TLS 1.2 client solely for aws iot in node.js
- only one cipher suite implemented (aes-128-cbc-sha)
- only one certificate signature verification implemented (sha256-rsa)
- based on a state machine pattern
- compatible with node tls.socket interface (used with mqtt.js with minimal modification)
- support hardware private key (atecc508a/608a)
During handshake stage:
- server key exchange message is ignored.
- server must require the client certificate.