bamlab / bamlab/react-native-app-security

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

Open
#12 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
225
Forks
13
PR merge metrics
No merged PRs in 30d

Description

` "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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.