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

fix(iota): properly set iota keytool command --alias option #4767

Merged
merged 3 commits into from
Jan 14, 2025

Conversation

thibault-martinez
Copy link
Member

@thibault-martinez thibault-martinez commented Jan 14, 2025

Before (note the alias absence):

thibault@Mac ~/i/iota (develop)> ./target/debug/iota keytool import "iotaprivkey1qzwu593jfmlhv0ezssjfxusz66uyepkh3sugttw6d0hxusm2lhvz6hez0nc" ed25519 "m/44'/4218'/0'/0'/0'" --alias tibo0
Keys saved as Bech32.
╭─────────────────┬──────────────────────────────────────────────────────────────────────╮
│ alias           │                                                                      │
│ iotaAddress     │  0x814ff3221087c184f3f6fe918523a5e08fdf1c60d249b7bd6b8c25d226695c5d  │
│ publicBase64Key │  ZsgMWzuewt2lo77QqUhUGPizwM1oAPDNTcuHVBkkSQw=                        │
│ keyScheme       │  ed25519                                                             │
│ flag            │  0                                                                   │
│ peerId          │  66c80c5b3b9ec2dda5a3bed0a9485418f8b3c0cd6800f0cd4dcb87541924490c    │
╰─────────────────┴──────────────────────────────────────────────────────────────────────╯
thibault@Mac ~/i/iota (develop)> ./target/debug/iota keytool import "horse crush buffalo business safe captain help stone notice music minor wage" ed25519 "m/44'/4218'/0'/0'/0'" --alias tibo1
Keys saved as Bech32.
╭─────────────────┬──────────────────────────────────────────────────────────────────────╮
│ alias           │                                                                      │
│ iotaAddress     │  0x26aea848fec38527761f798f3714cd5f9cc6c97324bbfeb2886570871dabf7ea  │
│ publicBase64Key │  RlEChpc2nXjURyVyoAT0ZtSgAmi5tbLnvqHsAHYrTlE=                        │
│ keyScheme       │  ed25519                                                             │
│ flag            │  0                                                                   │
│ peerId          │  4651028697369d78d4472572a004f466d4a00268b9b5b2e7bea1ec00762b4e51    │
╰─────────────────┴──────────────────────────────────────────────────────────────────────╯

After (note the alias presence):

thibault@Mac ~/i/iota (fix-keytool-missing-alias)> ./target/debug/iota keytool import "iotaprivkey1qzwu593jfmlhv0ezssjfxusz66uyepkh3sugttw6d0hxusm2lhvz6hez0nc" ed25519 "m/44'/4218'/0'/0'/0'" --alias tibo0
Keys saved as Bech32.
╭─────────────────┬──────────────────────────────────────────────────────────────────────╮
│ alias           │  tibo0                                                               │
│ iotaAddress     │  0x814ff3221087c184f3f6fe918523a5e08fdf1c60d249b7bd6b8c25d226695c5d  │
│ publicBase64Key │  ZsgMWzuewt2lo77QqUhUGPizwM1oAPDNTcuHVBkkSQw=                        │
│ keyScheme       │  ed25519                                                             │
│ flag            │  0                                                                   │
│ peerId          │  66c80c5b3b9ec2dda5a3bed0a9485418f8b3c0cd6800f0cd4dcb87541924490c    │
╰─────────────────┴──────────────────────────────────────────────────────────────────────╯
thibault@Mac ~/i/iota (fix-keytool-missing-alias)> ./target/debug/iota keytool import "horse crush buffalo business safe captain help stone notice music minor wage" ed25519 "m/44'/4218'/0'/0'/0'" --alias tibo1
Keys saved as Bech32.
╭─────────────────┬──────────────────────────────────────────────────────────────────────╮
│ alias           │  tibo1                                                               │
│ iotaAddress     │  0x26aea848fec38527761f798f3714cd5f9cc6c97324bbfeb2886570871dabf7ea  │
│ publicBase64Key │  RlEChpc2nXjURyVyoAT0ZtSgAmi5tbLnvqHsAHYrTlE=                        │
│ keyScheme       │  ed25519                                                             │
│ flag            │  0                                                                   │
│ peerId          │  4651028697369d78d4472572a004f466d4a00268b9b5b2e7bea1ec00762b4e51    │
╰─────────────────┴──────────────────────────────────────────────────────────────────────╯

MystenLabs/sui#20111

Copy link

vercel bot commented Jan 14, 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 Jan 14, 2025 4:03pm
apps-ui-kit ⬜️ Ignored (Inspect) Visit Preview Jan 14, 2025 4:03pm
rebased-explorer ⬜️ Ignored (Inspect) Visit Preview Jan 14, 2025 4:03pm
wallet-dashboard ⬜️ Ignored (Inspect) Visit Preview Jan 14, 2025 4:03pm

@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 14, 2025
@thibault-martinez thibault-martinez changed the title fix(iota): properly set iota keytool command alias fix(iota): properly set iota keytool command --alias option Jan 14, 2025
@thibault-martinez thibault-martinez marked this pull request as ready for review January 14, 2025 09:49
@thibault-martinez thibault-martinez requested a review from a team as a code owner January 14, 2025 09:49
@thibault-martinez thibault-martinez merged commit 7b1a8f3 into develop Jan 14, 2025
47 checks passed
@thibault-martinez thibault-martinez deleted the fix-keytool-missing-alias branch January 14, 2025 17:17
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.

4 participants