Alexandros Giouzenis
8f29f72b55
Fix TypeError
2022-01-13 08:53:06 +02:00
Colin Kuebler
417a0fc8b9
Catch misc exceptions in psk-frontend gracefully
2020-01-24 18:44:57 -05:00
Colin Kuebler
b9d4cdc6a8
Revert #496 fixes #500
2020-01-13 13:53:51 -05:00
jjtParadox
de35e12fa7
Fix byte encoded string bug in psk-frontend
2020-01-10 15:25:08 -06:00
Colin Kuebler
1a699601f5
Fix str <> bytes changes
2020-01-01 18:45:36 -05:00
Colin Kuebler
b716dd152c
Check SSLError to see if it's important or not
2020-01-01 15:15:35 -05:00
Colin Kuebler
c5f79c2524
Merge branch 'development' into py3
2020-01-01 12:58:04 -05:00
Colin Kuebler
5298a9c1c8
Revert identity prefix correction
2020-01-01 12:57:01 -05:00
Colin Kuebler
8ba6e5ebd0
Merge branch 'cryptodome' into py3
2019-12-31 20:26:25 -05:00
Colin Kuebler
26da111171
Update psk-frontend to use python3
2019-12-31 19:02:03 -05:00
Colin Kuebler
769acc617f
Replaced pycrypto with pycryptodomex
2019-12-31 18:55:10 -05:00
Colin Kuebler
70448fec6c
Fix accidental file mode change
2019-11-24 15:34:32 -05:00
Colin Kuebler
46cb505bfc
Change spaces used for indentation into tabs
2019-11-23 17:45:50 -05:00
Colin Kuebler
ee88ae0fa3
Merge pull request #400 from kueblc/fix-identity-prefix
...
Always use the known PSK identity prefix to calculate the PSK
2019-11-19 12:30:19 -05:00
Colin Kuebler
09f20a3230
Print prefix if it does not match for debugging purposes
2019-11-19 12:28:55 -05:00
Colin Kuebler
c96ad7229f
Always use the known PSK identity prefix to calculate the PSK
2019-11-17 12:55:53 -05:00
Felix
183f5c10f4
Change shebang of psk-frontend.py to python2
...
psk-frontend.py should be executed with python2 until sslpsk is working with python3. Some distributions start defaulting to python3 which currently breaks this script.
2019-11-09 20:22:36 +01:00
Colin Kuebler
707636357c
Connect psk frontend to gateway instead of 0.0.0.0 to mitigate potential address conflict
2019-10-05 17:45:30 -04:00
Colin Kuebler
2c023f5b18
Print ID as hex, before calculating PSK
2019-09-26 20:09:58 -04:00
Colin Kuebler
f2d20de93e
Python2 friendly print
2019-09-26 16:37:43 -04:00
Colin Kuebler
6983f67f92
Pretty print IP and port
2019-09-26 14:44:08 -04:00
Colin Kuebler
4195c53daf
Experimental workaround, some users are reporting better luck with python vs python3 for psk-frontend
2019-09-26 13:55:01 -04:00
Colin Kuebler
97ecf0e305
Log SSL exceptions for debugging
2019-09-24 21:07:40 -04:00
Colin Kuebler
ac19da4d83
Revert python to python3 as per discussion in #273
2019-09-23 16:36:20 -04:00
Colin Kuebler
60c7ccbba7
Print out PSK identity for debugging purposes
2019-09-22 18:13:14 -04:00
Colin Kuebler
8291ced3da
Tidy PSK generation, only define PSK hint in one location
2019-09-21 16:04:10 -04:00
Madmartigan
7d588cda4e
Circumvent new tuya sdk protection
2019-09-18 21:38:11 +02:00