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

feat(nodeconfig)!: Default to Bech32 format for IOTA key pairs #4826

Merged
merged 25 commits into from
Feb 4, 2025

Conversation

Alex6323
Copy link
Contributor

@Alex6323 Alex6323 commented Jan 16, 2025

Description of change

Changes the custom serialization/deserialization methods to default to Bech32. Serializes always to Bech32, but tries to deserialize from Bech32 first and if that fails, attempts to deserialize from Base64.

Links to any relevant issues

fixes #3985

How the change has been tested

I checked through a separate python script that the swapped strings (Base32/Base64) in the .snap file actually represent the same private keys.

Copy link

vercel bot commented Jan 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
apps-backend ⬜️ Ignored (Inspect) Visit Preview Feb 4, 2025 2:44pm
apps-ui-kit ⬜️ Ignored (Inspect) Visit Preview Feb 4, 2025 2:44pm
rebased-explorer ⬜️ Ignored (Inspect) Visit Preview Feb 4, 2025 2:44pm
wallet-dashboard ⬜️ Ignored (Inspect) Visit Preview Feb 4, 2025 2:44pm

@iota-ci iota-ci added dev-tools Issues related to the Developer Tools Team sc-platform Issues related to the Smart Contract Platform group. labels Jan 16, 2025
@Alex6323 Alex6323 requested a review from a team as a code owner January 23, 2025 17:09
Co-authored-by: Thoralf-M <[email protected]>
@Thoralf-M Thoralf-M changed the title refactor(nodeconfig): Default to Bech32 format for IOTA key pairs feat(nodeconfig)!: Default to Bech32 format for IOTA key pairs Jan 30, 2025
@thibault-martinez thibault-martinez merged commit b3052e0 into develop Feb 4, 2025
41 checks passed
@thibault-martinez thibault-martinez deleted the dev-tools/bech32-private-keys branch February 4, 2025 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-tools Issues related to the Developer Tools Team sc-platform Issues related to the Smart Contract Platform group.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[nodeconfig] Switch to bech32 private keys in node configuration
6 participants