OpenSSL supports TLS-PSK which some people (myself obviously) find to be substantially easier to use than setting up certs. However, there's no way to use PSK via the current SSL api in python. It would be very nice to be able to use PSK from python. For OpenSSL, even the C API is particularly easy. Attached is the implementation used in Mosquitto, a MQTT message broker that supports both cert based and PSK based TLS.
Python 2.7 is open only for bugfixes. No new features. Do you dare to write a patch for Python 3.4? :-). If you do, remember to sign a Contributor Agreement. Give it a try! :)
Is it different from TLS SRP, which already has a feature request in ? As Jesus said, feel free to propose a patch, even a proof of concept so that we start discussing the API.
This is not TLS-SRP, but TLS-PSK as described by RFC 4279[1] There is a very small amount of overlap - the "unknown_psk_identity" error defined by PSK is also used in SRP. [1] http://tools.ietf.org/html/rfc4279
This feature request has been idle for almost four years. Although TLS-PSK is nice to have, it is not a priority for protocols such as HTTPS. I neither have time nor motivation to create a patch myself. Therefore I'm closing this issue of lack of activity. Please feel free to re-open it with a patch against 3.7.
History
Date
User
Action
Args
2022-04-11 14:57:51
admin
set
github: 63284
2017-09-06 14:53:17
christian.heimes
set
status: open -> closedresolution: out of datestage: needs patch -> resolved