Adopt PSK JSSE factories #1698
satur9nine
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Over the years there have been a number of questions on stackoverflow about how to setup a PSK TLS connection in Java. Examples:
https://stackoverflow.com/questions/47569014/how-to-use-tls-psk-along-with-mqtt-in-java-8
https://stackoverflow.com/questions/41946458/connecting-to-an-mqtt-broker-using-tls-with-a-pre-shared-key
https://stackoverflow.com/questions/30510271/how-to-use-tls-psk-in-java-on-both-server-side-and-client-side
Most of the questions clearly haven't gotten a good answer. I created an open source project to solve this problem using Bouncy Castle. It is relatively small amount of code that perhaps Bouncy Castle project would like to adopt into Bouncy Castle so it is officially supported and maintained for the long term: https://github.com/clover/pskfactories
Beta Was this translation helpful? Give feedback.
All reactions