react-native-app-security
react-native-app-security copied to clipboard
Error - public key algorithm or length is not supported + SPKI
"plugins": [ [ "@bam.tech/react-native-app-security", { "sslPinning": { "xyz.com": [ "fezfzfzfzffz", "fzefzefzfzfz" ] }, "preventRecentScreenshots": { "ios": { "enabled": true }, "android": { "enabled": true } } } ] ],
These 2 publics keys hashes are good but still get that issue :
=== TrustKit: Generating Subject Public Key Info hash... === TrustKit: Error - public key algorithm or length is not supported === TrustKit: Error - could not generate the SPKI hash for xyz.com === TrustKit: Pin validation failed for xyz.com
i used everything such as : https://github.com/datatheorem/TrustKit/blob/master/docs/getting-started.md#always-provide-at-least-one-backup-pin
- their script , all my sha256 + backup are good but idk