Skip to content

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
@Test
fun `test creating a test mode payment`() = runTest {
val node = getFirstNode()
client.loadNodeSigningKey(node.id, PasswordRecoverySigningKeyLoader(node.id, NODE_PASSWORD))
Copy link
Contributor

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
Contributor

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
@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