-
Notifications
You must be signed in to change notification settings - Fork 42
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
getting cryptography.exceptions.InvalidTag #22
Comments
Can you please update to the latest version, navigate to Auth/secrets.json, open the file and remove this part at the end: |
updated now before removing:
After removing same thing. |
Okay, I know what the problem is, but not sure how it can be fixed. Your "owner key" has version 2, which is something that never occurred to me - therefore, I cannot test this for myself. Can you test the following: Go to the Auth folder, and delete the
to
and try to run
to
in the same file. Thanks! |
Edit: Now I know when this happens. If you forgot the PIN of your previous Android device, you can decide to reset end-to-end encrypted keys, which will increment the owner key version. Did you by any chance do that in the past? And can you check if you see locations for this tracker in Google's Find My Device app? |
i don't understand a word of what you said :D i do not use google services almost at all the phone there for my test is a dedicated phone with an old google account with a fresh install of lineageos never did anything else than test your app with it and setup a tracker to test. Test1 nothing modified:
After deleting the secret and changing the value from -1 to 2:
after changing the True to False:
|
Okay. Can you go to the Find My Device app on your Xiaomi Mi 10T Lite, and see locations of the Chipolo ONE Point? |
Yes. |
Just to clarify a point can the software track both the phone and the tracker or only the tracker ? |
It can do both. I'm not sure what went wrong with your account, but it seems like that the keys necessary to decrypt locations are only on your phone, and not uploaded to the cloud. You can try to change the Lock Screen PIN (yes, really), or just log out and log in again on your phone. |
Done both and same result. Matrix/Discord call to see if i am the idiot doing something wrong or there is maybe something intresting going on ? |
I would suggest adding selftest vectors with assertion into main.py for every crypto step, and a final e2e, this could rule out the environment. |
trying 2 devices and getting these errors.
The text was updated successfully, but these errors were encountered: