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

Consider new base-module & matched cert encoding #9

Open
28Black opened this issue Apr 2, 2022 · 0 comments
Open

Consider new base-module & matched cert encoding #9

28Black opened this issue Apr 2, 2022 · 0 comments

Comments

@28Black
Copy link

28Black commented Apr 2, 2022

Your module appears to have been created from a deprecated module. Consider forking its module's fork [here] (https://github.com/Androidacy/movecerts) to make sure it remains compatible with newer versions of Magisk and Android.
In addition, you just move the cert and rename it with the cert hash. It might be a good idea to convert your DER encoded cert to PEM encoding like all other certs stored in the system store are.

Eg via openssl - I used to do the following to do this and rename the certificate correctly.
$ openssl x509 -inform DER -outform PEM -in adguard.crt -out adguard.crt
$ openssl x509 -noout -text -fingerprint -in adguard.crt >> adguard.crt
$ mv -v adguard.crt "$(openssl x509 -subject_hash_old -noout -in adguard.crt)".0

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

1 participant