Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mikekelly
Copy link

@mikekelly mikekelly commented Jan 31, 2024

This is not a complete PR, but I wanted to share it in order to show what is necessary to make the library support Android Keystore.

2 changes are necessary:

  1. Remove (or avoid when dealing with Android Keystore key) castByPrivateKey because the PrivateKey object returned by Android Keystore cannot be cast to ECPrivateKey.
  2. A change to determineAlgorithmName so that if it is on the Android platform it returns algorithms such as "SHA256withECDSA", since neither option is supported when using Android Keystore.

wdyt?

@mikekelly mikekelly changed the title WIP: Support for Android Keystore key signing WIP: Support for Android Keystore signing Jan 31, 2024
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

Successfully merging this pull request may close these issues.

1 participant