Skip to content

Commit

Permalink
Pinning: Split network security config for gplay and fdroid
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Renaud committed Feb 16, 2022
1 parent 258deba commit d26e79b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions vector/src/fdroid/withpinning/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<!-- Do not allow clearText traffic -->
<base-config cleartextTrafficPermitted="false">
<trust-anchors>
<!-- Do not allow system and user certificates -->

<!-- Allow only Tchap intermediate certificate authority -->
<certificates src="@raw/certignaservicesrootca" />
</trust-anchors>
</base-config>
</network-security-config>

0 comments on commit d26e79b

Please sign in to comment.