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

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

Open
TyphooNN opened this issue Jul 18, 2024 · 2 comments
Open

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

TyphooNN opened this issue Jul 18, 2024 · 2 comments

Comments

@TyphooNN
Copy link

"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
@matthieugicquel
Copy link

Hello,

This may be linked to this issue and fix on TrustKit: datatheorem/TrustKit#323

I'm waiting on a new TrustKit release to bump the TrustKit version this package depends on.

@TyphooNN
Copy link
Author

Thanks did you got an ETA ?

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

2 participants