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

Camv 527 port key manager to sprucekit sdk kotlin #13

Merged
merged 4 commits into from
Jun 7, 2024

Conversation

jszersze
Copy link
Contributor

@jszersze jszersze commented Jun 6, 2024

Implements the KeyManager for generating secret keys in the Keystore using Strongbox or TEE as a backup.

* @property input byte array to be processed.
* @return byte array with 32 bytes.
*/
fun clampOrFill(input: ByteArray): ByteArray {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not fond of the "ByteArray! is deprecated" warnings I see, can we change to whatever the new non-deprecated type is?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Talked about this as a team and this should be ok.

@jszersze jszersze merged commit 4c4e6c9 into main Jun 7, 2024
2 checks passed
@jszersze jszersze deleted the camv-527-port-key-manager-to-sprucekit-sdk-kotlin branch June 7, 2024 22:57
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.

3 participants