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
new PrivateKey()
returns a key with shorter length than expected
#1696
Labels
Projects
Comments
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
✋ |
|
Related workaround: https://github.com/planetarium/9c-launcher/pull/1555/files |
zeta6
pushed a commit
to zeta6/libplanet
that referenced
this issue
Jun 18, 2022
Modify GenerateKeyParam to return a new value when .D.ToByteArrayUnsigned().Length != 32 Repeat until == 32
limebell
added a commit
that referenced
this issue
Jul 5, 2022
* fix: issue #1696 Modify GenerateKeyParam to return a new value when .D.ToByteArrayUnsigned().Length != 32 Repeat until == 32 * Add change log * Update PrivateKeyTest.cs remove unused test Co-authored-by: Ohjin <lazist134407@gmail.com> Co-authored-by: Swen Mun <swen@planetariumhq.com> Co-authored-by: Chanhyuck Ko <limeelbee@gmail.com>
It seemed that resolved by #2091 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes re-encoding it fails because the
new PrivateKey()
constructor returns a private key that is less than 32 bytes in length.Related to #1571
The text was updated successfully, but these errors were encountered: