davetcc / tcMenuLib

TcMenu modular IoT menu library supporting rotary encoder, joysticks, many displays, and remote control over Ethernet and Serial
Apache License 2.0
109 stars 11 forks source link

Ability to encrypt data between any socket device and API connection regardless of connection direction #217

Open davetcc opened 1 month ago

davetcc commented 1 month ago

Is your feature request related to a problem? Please describe. The biggest missing feature in TcMenu remote is the ability to encrypt connections, even on the local area network it is now quite common to protect data. This issue is to implement basic encryption that matches the Java API (and soon other APIs), that is AES 256 CBC mode. This provides great enough security even for internet use.

Confirm that the bug is in the embedded library This is a library jira tracking a main feature.

Describe the solution you'd like Ability to encrypt remote socket data using AES where it is available.

davetcc commented 1 month ago

The implementation itself should be behind an interface, so that users of the library can provide other implementations. This is a key goal both API and device, so that if a user wanted stronger or different encryption, they could implement it themselves easily.