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

frida_16.1.3: ASN1 decode failed on b'xxxxxxx' #5

Open
rburcham opened this issue Jul 25, 2023 · 1 comment
Open

frida_16.1.3: ASN1 decode failed on b'xxxxxxx' #5

rburcham opened this issue Jul 25, 2023 · 1 comment

Comments

@rburcham
Copy link

This script worked reliably with frida 12.2 to frida 16.0.8 (February 2023). I've recently updated frida_server and frida_tools to 16.1.3, and now the script cannot decode the large ASN1 blobs.

wcwidth, prompt_toolkit, _frida, frida and frida-tools all took updates...

Debug pointers welcome.

@itstartstosnow
Copy link

I am also using the latest version of Frida. I also had some errors in decoding so I used another library asn1crypto to decode (code in my fork https://github.com/itstartstosnow/frida-sslkeylog). It solved my pyasn1.error.PyAsn1Error: Read 1236 bytes instead of expected 3417 error.

But I still get the error ValueError: Insufficient data - 79 bytes requested but only 11 available. This error also occurs when using pyans1, pyasn1.error.SubstrateUnderrunError: 68-octet short. I'm not sure how to fix it...

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

2 participants