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

[BUG] java.io.IOException: ObjectIdentifier() -- data isn't an object ID (tag = 48) #52

Open
MaksZ25 opened this issue Sep 30, 2023 · 0 comments
Assignees

Comments

@MaksZ25
Copy link

MaksZ25 commented Sep 30, 2023

I got error with trying to patch apk version 302.1.0.36.111 x86 with patch_apk.py script:

App ABIs: ['x86']
Supported ABIs: ['x86']
Generating keystore...
Generating 2 048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 8 000 days
for: CN=com.leftenter.android, OU=ID, O=APK, L=Unknown, ST=Unknown, C=XK
[Storing C:\Users\a\PycharmProjects\Instagram-SSL-Pinning-Bypass/temp/release.keystore]
Created config_file at: C:\Users\a\PycharmProjects\Instagram-SSL-Pinning-Bypass/temp\libgadget.config.so
Created script_file at: C:\Users\a\PycharmProjects\Instagram-SSL-Pinning-Bypass/temp\libsslbypass.js.so

Patching for x86
Extracting: lib/x86/libmemalign16.so
Downloading firda-gadget-16.1.4-x86.so.xz
at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:291)
at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:84)
Caused by: java.io.IOException: ObjectIdentifier() -- data isn't an object ID (tag = 48)
at java.base/sun.security.util.ObjectIdentifier.(Unknown Source)
at java.base/sun.security.util.DerInputStream.getOID(Unknown Source)
at java.base/com.sun.crypto.provider.PBES2Parameters.engineInit(Unknown Source)
at java.base/java.security.AlgorithmParameters.init(Unknown Source)
... 10 more

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