Ptyhon DTLS v1.2 与 PSK 握手

问题描述 投票:0回答:1

有人用Python成功地与Philips Hue Bridge完成了DTLS握手吗? 对于那些不知道这些是 DTLS 握手要求的人:

UDP port 2100 is used for DTLS handshaking and streaming. Only DTLS mode version 1.2 with Pre-Shared Key (PSK) Key exchange method with TLS_PSK_WITH_AES_128_GCM_SHA256 set as Cipher Suite is supported

我计划用 Python 制作一个开源框架,这将使使用 Philips Hue 开发一切变得更加容易,但我坚持进行握手。

我尝试使用一些库来解决 DTLS 问题,因为 Python 没有原生解决方案:

  • python-mbedtls
  • python3-dtls
  • pyopenssl
  • pyopenssl-psk
python python-3.x networking network-programming philips-hue
1个回答
0
投票

hiii 让我回答这个问题,它很简单,只需浏览代码并检查最后一个字母,你就会看到一些错误

© www.soinside.com 2019 - 2024. All rights reserved.