Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need Assistance regarding network_security_config file #103

Open
microcian opened this issue Feb 22, 2023 · 0 comments
Open

Need Assistance regarding network_security_config file #103

microcian opened this issue Feb 22, 2023 · 0 comments

Comments

@microcian
Copy link

Anyone please guide me about the following lines

<domain includeSubdomains="true">www.datatheorem.com</domain>
<!-- Valid pins -->
<pin-set expiration="2018-01-01">
<pin digest="SHA-256">AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</pin>
<pin digest="SHA-256">YLh1dUR9y6Kja30RrAn7JKnbQG/uEtLMkBgFF2Fuihg=</pin>
</pin-set>
 <trustkit-config enforcePinning="false" disableDefaultReportUri="true">
 <report-uri>https://overmind.datatheorem.com/trustkit/report</report-uri>
</trustkit-config>

I never saw SHA-256 in such format (e.g. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=) as normally SHA-256 formed as A2:F4:G6:U7:A2:F4:G6:U7:A2:F4:G6:U7:A2:F4:G6:U7:A2:F4:G6:U7:A2:F4:G6:U7:A2:F4:G6:U7:A2:F4:G6:U7:A2:F4:G6:U7

How can I generate it ? and why here are two SHA's
by using this lib I just need to replace the SHA ID and domain only or do I need to do anything else in android code level?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant