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

When an Secp256k1PrivateKey is genrated its bytes are not set. Therefore it cannot be written to a .pem file #11

Open
meywood opened this issue Mar 15, 2024 · 0 comments

Comments

@meywood
Copy link

meywood commented Mar 15, 2024

The following expception is thronw:
Step failed

java.lang.NullPointerException: 'string' cannot be null
	at org.bouncycastle.asn1.ASN1OctetString.<init>(ASN1OctetString.java:227)
	at org.bouncycastle.asn1.DEROctetString.<init>(DEROctetString.java:19)
	at com.syntifi.crypto.key.Secp256k1PrivateKey.writePrivateKey(Secp256k1PrivateKey.java:65)
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

1 participant