Skip to content

Need Assistance regarding network_security_config file #103

@microcian

Description

@microcian

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions