react-native-app-security icon indicating copy to clipboard operation
react-native-app-security copied to clipboard

Error - public key algorithm or length is not supported + SPKI

Open TyphooNN opened this issue 7 months ago • 2 comments

"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

TyphooNN avatar Jul 18 '24 14:07 TyphooNN