Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 6d0c3dd2 authored by Harry Youd's avatar Harry Youd Committed by GitHub
Browse files

Allow use of user-installed CAs (#44)

Fixes #43

As per https://developer.android.com/training/articles/security-config
Previous behaviour: only validated certificates in the system certificate authority store
New behaviour: validates against both system CAs and user-installed CAs
parent 4f1b49e9
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<network-security-config xmlns:tools="http://schemas.android.com/tools">
    <base-config cleartextTrafficPermitted="true" tools:ignore="InsecureBaseConfiguration" />
    <base-config cleartextTrafficPermitted="true" tools:ignore="InsecureBaseConfiguration">
        <trust-anchors>
            <certificates src="system"/>
            <certificates src="user" tools:ignore="AcceptsUserCertificates" />
        </trust-anchors>
    </base-config>
</network-security-config>
 No newline at end of file