AdguardTeam / AdguardTeam/adguardcert

adguard cert does not work with work profile

オープン
#43 コメント 22 件 リアクション 2 件 担当者 0 名 GitHub で見る
bug
主要言語
Shell
スター
421
フォーク
34
PR マージ指標
30日以内にマージされた PR はありません

説明

### Please answer the following questions for yourself before submitting an issue.

- [X] I am running the latest version
- [X] I checked the documentation and found no answer
- [X] I checked to make sure that this issue has not already been filed

### AdGuard version

4.1

### Environment

```markdown
- OS: Android 12
- Device: Xperia 5 II
- Firmware: Latest
```

### Root access

- [X] Yes, I have it.

### What filters do you have enabled?

_No response_

### What Stealth Mode options do you have enabled?

_No response_

### Issue Details

The adguard cert seems to only move the last cert to system store.

This leaves a problem, if someone enables work profile, there will be 2 certs, either both in` /data/misc/user/0/cacerts-added`, or in `/data/misc/user/0/cacerts-added` and `/data/misc/user/10/cacerts-added` respectively and adguard only seems to move one of them to the system store.

P.S. If both of them are in ` /data/misc/user/0/cacerts-added`, one of them will end with .1 instead of .0

### Expected Behavior

Both regular user (0) and work profile user can have certificates in the system store.

### Actual Behavior

For regular user(0) and work profile user, only one of them can have certificate in system store.

### Screenshots

Screenshot 1:

### Additional Information

_No response_

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。