njh / ruby-mqtt

Pure Ruby gem that implements the MQTT protocol, a lightweight protocol for publish/subscribe messaging.
http://www.rubydoc.info/gems/mqtt
MIT License
538 stars 135 forks source link

supporting private keys other than RSA #147

Closed no6v closed 3 months ago

no6v commented 1 year ago

Currently, MQTT::Client#key= or MQTT::Client#key_file= treat a key or a file as an RSA key. I would like to use an EC key as well.