generated from topjohnwu/zygisk-module-sample
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
29 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,35 @@ | ||
# Copy Certificates | ||
|
||
Based on [Move Certificates](https://github.com/Magisk-Modules-Repo/movecert). Copies certificates | ||
from the user certificate store to the system store, while also forcing Chrome on the Zygisk | ||
denylist. This way Chrome still sees the custom certificates in the user store, while other apps see | ||
them in the system store. Useful since Chrome started requiring CT logs for all certs in the system | ||
store. | ||
Based on [Move Certificates](https://github.com/Magisk-Modules-Repo/movecert). | ||
|
||
Chrome recently started requiring CT logs for CA certs found in the system store. | ||
This module copies AdGuard's CA certificate from the user store to the system store. | ||
It also contains a Zygisk module that "hides" any modifications done by Magisk from | ||
Chrome's processes. This way Chrome only finds AdGuard's certificate in the user store | ||
and doesn't complain about the missing CT log, while other apps continue to use the | ||
same certificate from the system store. | ||
|
||
# Usage | ||
1. Enable HTTPS filtering and save/install AdGuard's certificate to the user store. | ||
2. Enable Magisk->Settings->Zygisk. | ||
3. Download the zip file from releases. | ||
4. Go to Magisk->Modules->Install from storage and select the downloaded zip file. | ||
5. Reboot. | ||
|
||
# Building | ||
|
||
Update git modules: | ||
``` | ||
```shell | ||
git submodule init && git submodule update | ||
``` | ||
|
||
You'll need Android SDK with NDK v23.1.7779620. Run: | ||
You'll need an Android SDK with NDK version 23.1.7779620. Run: | ||
|
||
```shell | ||
ANDROID_SDK=<path-to-android-sdk> ./dist.sh | ||
``` | ||
|
||
If you prefer to manage your Zygisk denylist yourself, simply remove the Zygisk part of the module: | ||
```shell | ||
zip CopyCert-v1.0.zip -d "zygisk/*" | ||
zip adguardcert-v1.0.zip -d "zygisk/*" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
id=copycert | ||
name=Copy Certificates | ||
id=adguardcert | ||
name=AdGuard Certificate | ||
version=v1.0 | ||
versionCode=1 | ||
author=AdGuard | ||
description=Copies certificates from the user certificate store to the system store and forces Chrome on the Zygisk denylist. | ||
description=Copies AdGuard's CA certificate from the user certificate store to the system store and forces Zygisk unmount procedures for Chrome. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters