Colin Kuebler
b34909021b
Detect unsupported devices via discovery packet
2020-01-24 18:47:54 -05:00
Colin Kuebler
77f3d257f7
Track already discovered devices to cut down on log noise
2020-01-24 18:47:31 -05:00
Colin Kuebler
417a0fc8b9
Catch misc exceptions in psk-frontend gracefully
2020-01-24 18:44:57 -05:00
Colin Kuebler
ce709f56ba
Fix encoding issues
2020-01-24 18:44:16 -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
9fc1eae071
Check that AP is supported by grepping under "Supported interface modes" only, fixes #476
2020-01-06 11:45:37 -05:00
Colin Kuebler
795e002ecb
Add hidden skip option when checking occupied ports
2020-01-06 11:43:36 -05:00
Colin Kuebler
87c8c2f7ba
Merge branch 'development' into py3
2020-01-02 16:31:18 -05:00
Colin Kuebler
f8662cd171
Merge branch 'cryptodome' into py3
2020-01-02 16:30:30 -05:00
Colin Kuebler
a9abd469ea
Update references to Crypto with Cryptodome in discovery and smartconfig components
2020-01-02 16:29:28 -05:00
Colin Kuebler
1a699601f5
Fix str <> bytes changes
2020-01-01 18:45:36 -05:00
Colin Kuebler
932d896447
Add python3 version check
2020-01-01 15:35:08 -05:00
Colin Kuebler
8010489268
Merge branch 'development' into py3
2020-01-01 15:18:11 -05:00
Colin Kuebler
9e16171dc5
Add version information to wifi log for debugging
2020-01-01 15:16:35 -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
Marcel Martin
b30aece034
Print a warning if running over SSH
...
Close #426
2019-12-27 22:02:36 +01: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
b5cfc5e6e1
Only show first 9 options, those that are accessible with a single keypress
...
This way a user does not accidentally install option 1 when intending >= 10
2019-11-22 12:54:14 -05:00
Colin Kuebler
060240794e
Change return to exit since this is no longer a function
2019-11-22 12:42:04 -05:00
Colin Kuebler
15b043a325
Merge pull request #401 from kueblc/fix-hostapd-panic
...
Added check for blacklist file known to cause kernel panic in hostapd
2019-11-19 12:33:20 -05:00
Colin Kuebler
d4171a16a9
Add link back to original discussion on hostapd kernel panic
2019-11-19 12:32:16 -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
889c16c5e0
Merge pull request #396 from kueblc/flash-menu
...
Replace manual `curl` calls with a menu driven UI
2019-11-19 12:27:26 -05:00
Colin Kuebler
3de90a8664
Merge pull request #405 from R0Wi/master
...
Add backward compatibility for hostapd v2.5 and older (fix #398 )
2019-11-19 01:43:51 -05:00
R0Wi
b5837490ed
Improvements discussed in #404
2019-11-19 07:06:52 +01:00
Colin Kuebler
3cef06065f
Merge remote-tracking branch 'upstream/master' into development
2019-11-18 21:57:18 -05:00
R0Wi
9cfa0f467e
Add backward compatibility for hostapd v2.5 and older
2019-11-18 21:42:33 +01:00
Colin Kuebler
ecaada06da
Implement recommendations from shellcheck thanks to @pfeerick
2019-11-18 13:07:18 -05:00
Christian Clauss
8d679574b3
Use ==/!= to compare str, bytes, and int literals
...
Identity is not the same thing as equality in Python so use ==/!= to compare str, bytes, and int literals. In Python >= 3.8, these instances will raise SyntaxWarnings so it is best to fix them now. https://docs.python.org/3.8/whatsnew/3.8.html#porting-to-python-3-8
2019-11-18 14:41:07 +01:00
Colin Kuebler
b74a708dad
Added check for blacklist file known to cause kernel panic in hostapd, fixes #373
2019-11-17 13:07: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
Colin Kuebler
f2499d24f4
Encode all str keys passed to Crypto #332
2019-11-15 10:13:13 -05:00
Colin Kuebler
130a974629
Merge pull request #393 from kueblc/tuya-discovery
...
Tuya discovery
2019-11-14 18:36:56 -05:00
Colin Kuebler
06ee18cf48
Added firmware specific instructions to firmware picker prompt
2019-11-14 18:17:20 -05:00
Colin Kuebler
4eec3fa605
Allow user to attempt recovery if device could not be reached
2019-11-14 18:10:41 -05:00
Colin Kuebler
600a0ca745
Added notice about disconnecting device after undo
2019-11-14 18:01:27 -05:00
Colin Kuebler
cb09ecb596
Implemented menu driven firmware selector
2019-11-14 18:00:55 -05:00
Colin Kuebler
22f2c18bd7
Fix decrypt function
2019-11-13 17:19:49 -05:00
Colin Kuebler
e920e20d99
Implemented script to listen for and decrypt UDP broadcasts from Tuya devices
2019-11-13 17:18:41 -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
4aa350c149
Modify extended schema to cover more cases, fix #354 #363 #369 #372
2019-11-07 10:37:51 -05:00
Colin Kuebler
c13abf44ce
Merge pull request #351 from Churro/ip
...
Replace ifconfig and explicitly add route to 10.42.42.0/24
2019-11-02 18:07:44 -04:00