Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[__main__] A JuicePass Proxy task failed: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc9 in position 33: #120

Open
BstNst99 opened this issue Dec 16, 2024 · 2 comments

Comments

@BstNst99
Copy link

BstNst99 commented Dec 16, 2024

decode error because data from xnel server is not utf-8 format.

From JuiceBox: b'0910042001180506482021610822:v09e\xc9os\x00\x00\x01\x1f\x0e\xfceK\xd1\xfbm\xfd\xe4\x03\xc6\xad\xc8:gmB\x86\x9d\x17\x15\x1d\xaf\x8f\x04,\xeb\xe7\xb0\xfb\xbb\x93q)\xcb\x03\x04Xlgt\x8f\x89\xe3\x97yG\x9f\x18\x80z\xff\xe4!\xef\x00\xf8\x8c\x87\xbb\xc6\x84\xfa\xfa\x84\xb2M\x97\xfe4\xf2\xd05\x04J\xa7\xcfx\xd8H\xfb\xd1\xf9K\xccL=\x08$\xae|\xdask \xd2ux[fVaf\xf0\x92E\xcc\xc6\x81\x04\xa0)\x88\x15\xb6\xbe\x80\xb0\x9d;\x182 \x04\x1d\xaf\xe62\xf2=\xa3\x92\x0f\x83\x04\x19u\x88\xaf\xea\x93\x8c\xab\xa4\x8b\x1e5\xbc\x15\xd6\xb5\xfb'

What is codec ? I think now JuiceBox may encrept data ?

@jjhuff
Copy link

jjhuff commented Dec 21, 2024

I have an Gen1 and have been getting this: v08n

From JuiceBox: b'0817081002000455176119246503:v08n\xeb"\x00\x00\x00\x00\xa9\xcc~F\x05\xeb\xd0\xb3\x8f7\xf6\xe0\x03\x1d+\x05h"\xd2\x84e.\xdd>(\x80f\x1e\xf7\xect\xf8D\xa2\xc1l\xa5|\x8d{k2~W9\xdcc!\xe9\x00/\xcc\xf8X\xae\x04\xa7\xa0\xcd,\xbec\x9f\xcb\x85/t\x82\xdah?l\xbb\x8f^\xd7@J\xde\x81\xcb\x9c\xba\xa5]_\xe0w\xbfh|\x95\xb5\xea\xb8v\x96\x826\xcau\x13-\xb6\xe9\x06D\x84 1J\xcb\x8es\x12\x0e\x8f"{\xb8\xb5'

If I block the unit from the internet, it seem get stuck in a reboot loop

@ivanfmartinez
Copy link
Contributor

@BstNst99 the devices normally starts using encrypted mode when they have access to the Directory Server and the encryption keys, the sollution is to block the internet access and use only juicepassproxy.

@jjhuff As far I have seen v08 means encrypted, and in your case the n is the first encrypted byte.

If you point the device to juicepassproxy using the router redirect you can see the debug boot logs on JPP.

The version in my branch can detect these encrypted messages, but for now we dont know how to decode them : #69 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants