sta-c0000 / tpconf_bin_xml

Command line utility to convert TP-Link router backup config files
160 stars 40 forks source link

Encrypt conf for W9980B #8

Closed puresoul closed 4 years ago

puresoul commented 4 years ago

Hi,

decrypt works fine, but if I encrypt config and try upload it on my router it returns

Error code: 4501

You put a wrong file.

I try it with/without -l and same problem, have your script already support for that?

sta-c0000 commented 4 years ago

Hi, sorry for the delay. @d3dave recently added support for decompressing W9980 conf. Indeed, right now the code only encrypts & compresses for W9970. I don't have access to a W9980 to test, but it should be fairly straightforward to add; I'll look at adding a command line option for the W9980 (hashing, compressing and encrypting) some time later. Thanks.

puresoul commented 4 years ago

I'm willing to help you with that, but because i got no insight how that process may looks like I can for now just only test it on my device...

sta-c0000 commented 4 years ago

I applied a fix, but I'm just guessing... no need for a command line option after all, it should just work. Let me know if it works. Thanks for the issue and for testing the fix.

puresoul commented 4 years ago

ok, nice work. Works great