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

Installing custom certificates has no effect on android #138

Closed
zner0L opened this issue Nov 15, 2024 · 1 comment
Closed

Installing custom certificates has no effect on android #138

zner0L opened this issue Nov 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@zner0L
Copy link
Contributor

zner0L commented Nov 15, 2024

While the installation of the certificate works and the certificate file is present in system/etc/security/cacerts it shows no effect and is not trusted. This means that without the certificate pinning bypass, no traffic can be collected.

@zner0L zner0L added the bug Something isn't working label Nov 15, 2024
@zner0L
Copy link
Contributor Author

zner0L commented Nov 15, 2024

The problem seems to be connected to the file permissions. httptoolkit, where we found the tempfs workaround we are currently using, updates the file permissions and SELinux permissions of the cert folder.
When checking the permissions of our certificate, I noticed that we don’t even set any of the file permissions correctly:

-rw-rw---- 1 u0_a148 media_rw 1172 2023-03-28 15:05 c8750f0d.0

My guess this is a regression from #94, because before we pushed the file as root instead of via su -c, which should have at least set the owner correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant