Opt-in trust for user-installed CA certificates (replace always-on src="user")
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- android
- 领域
- mobile-dev, security
调研方向
从 res/xml/network_security_config.xml 和链接的 Android 安全文档开始,确定是否可以在运行时选择信任用户安装的 CAs。比较 Nextcloud Files 应用对 SSO 流量所采用的方法,并调查是否需要自定义或扩展的 TrustManager。完成的标准是记录一种可行的方法及其范围,或确定所请求的行为不可行。
由索引模型根据 Issue 内容生成。
描述
Problem
res/xml/network_security_config.xml trusts user-installed CAs for every host:
<base-config cleartextTrafficPermitted="false">
<trust-anchors>
<certificates src="system"/>
<certificates src="user" tools:ignore="AcceptsUserCertificates" />
</trust-anchors>
</base-config>
That is a MITM risk, especially for a password manager: any CA in the device user store can intercept HTTPS to Nextcloud. It exists so self-hosted servers with a private/internal CA still work.
Idea
Network Security Config cannot be toggled at runtime (it is compiled XML).
So the preferred way to trust user CAs only if the user enables it, needs a runtime solution, not a baked-in XML file solution.
Needs some research whether this is possible to solve at all.
- https://developer.android.com/privacy-and-security/security-ssl
- https://developer.android.com/privacy-and-security/security-config
Since SSO traffic goes through the Nextcloud Files app, may check how the files app handles that.
May we need to build an own TrustManager (or can extend the original one), but that needs definitely a lot of research or another app that already did that work :D
- 主要语言
- C++
- 星标
- 103
- 派生
- 31
- 平均合并
- 10 小时 48 分钟
- 30 天内合并 PR
- 13
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/passman-android 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
nextcloud/passman-android#214 ·
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
nextcloud/passman-android#184 · 2 条评论 ·
维护者通常 1 天内回复
-
Feature request
难度 4/5 3-5 天 新手友好度 35/100
nextcloud/passman-android#172 ·
维护者通常 1 天内回复
-
Feature request
难度 4/5 3-5 天 新手友好度 35/100
nextcloud/passman-android#167 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 30/100
nextcloud/passman-android#150 · 2 条评论 ·
维护者通常 1 天内回复
查看 nextcloud/passman-android 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
feature wsl2
难度 2/5 1-3 小时 新手友好度 80/100
维护者通常 1 天内回复
-
2026.11.0 fails to install on Intel macOS: requirements.txt pins cryptography==50.0.2 for Darwin x86_64可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 1/5 1 小时以内 新手友好度 87/100
esphome/esphome#22892 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 77/100
distante/esphome-components#50 · 1 条评论 ·
维护者通常 1 天内回复
-
agent:Windows enhancement pri:medium release windows
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复