You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: decrypt AllAnime tobeparsed with either key (#335)
* fix: decrypt AllAnime tobeparsed with either key
AllAnime encrypts the tobeparsed response with either the aaReq key (mask xor partB) or the static legacy key sha256("Xot36i3lK3:v1"), depending on the current rotation. decode_tobeparsed only tried the aaReq key, so it raised "MAC check failed" and crashed the whole program whenever the response used the legacy key.
Now it tries both keys and use whichever authenticates, and fall back to returning no streams (dropping the cached crypto) instead of crashing if neither works.
* version: bump
---------
Co-authored-by: sdaqo <sdaqo.dev@protonmail.com>
0 commit comments