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

Remove krypt lib dependency #142

Merged
merged 2 commits into from
Jan 29, 2024
Merged

Remove krypt lib dependency #142

merged 2 commits into from
Jan 29, 2024

Conversation

shreyav
Copy link
Contributor

@shreyav shreyav commented Jan 29, 2024

closes LIG-4283

Replaces krypt SecureRandom with java.security.SecureRandom for android/jvm

@shreyav shreyav requested a review from jklein24 January 29, 2024 05:44
@@ -246,6 +246,7 @@ class ClientIntegrationTests {
@Test
fun `test creating a test mode payment`() = runTest {
val node = getFirstNode()
client.loadNodeSigningKey(node.id, PasswordRecoverySigningKeyLoader(node.id, NODE_PASSWORD))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Good catch, thanks :-D

@@ -0,0 +1,3 @@
package com.lightspark.sdk.core.crypto
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's use an @file:JvmName annotation to make sure this doesn't have "Kt" at the end of it when called from Java.

@shreyav shreyav merged commit 3316066 into develop Jan 29, 2024
4 checks passed
@shreyav shreyav deleted the feat/swap-out-krypt branch January 29, 2024 18:05
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.

2 participants