Skip to content

polkadot-v0.9.42 update bricks local keystore key retrieval #1379

@clangenb

Description

@clangenb

The keys are there, but we fail to retrieve them:

rm -rf my_trusted_keystore/
root@d655c1836484:/opt/shared/integritee-worker/bin# RUST_LOG=info ../bin/integritee-cli trusted --mrenclave HQ7yBQQMnyVKfUgNfkrc5LbNwUgFmJeKUWuZCephXbcN new-account
[2023-06-23T12:16:13Z INFO  integritee_cli::trusted_base_cli] new account 5HnDAGhGbhWkc2AvUgqBLYfPnVyCSvcuMNgDku3VpgQ9aZP8
root@d655c1836484:/opt/shared/integritee-worker/bin# cat my_trusted_keystore/HQ7yBQQMnyVKfUgNfkrc5LbNwUgFmJeKUWuZCephXbcN/6163636ffcd4df89e7eb1f928fe74c53ea8ad69bc3fbdb40ab48c1dad33c396da2953205
"already body maze organ clock code coast curve desert fluid goddess wisdom"root@d655c1836484:/opt/shared/integritee-worker/bin#
root@d655c1836484:/opt/shared/integritee-worker/bin# ../bin/integritee-cli trusted --mrenclave HQ7yBQQMnyVKfUgNfkrc5LbNwUgFmJeKUWuZCephXbcN balance 5HnDAGhGbhWkc2AvUgqBLYfPnVyCSvcuMNgDku3VpgQ9aZP8
thread 'main' panicked at 'key does not exist', cli/src/trusted_command_utils.rs:125:25
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
root@d655c1836484:/opt/shared/integritee-worker/bin# RUST_LOG=info ../bin/integritee-cli trusted --mrenclave HQ7yBQQMnyVKfUgNfkrc5LbNwUgFmJeKUWuZCephXbcN list-accounts
[2023-06-23T12:21:50Z INFO  integritee_cli::trusted_base_cli] sr25519 keys:
5HnDAGhGbhWkc2AvUgqBLYfPnVyCSvcuMNgDku3VpgQ9aZP8
[2023-06-23T12:21:50Z INFO  integritee_cli::trusted_base_cli] ed25519 keys:
5HnDAGhGbhWkc2AvUgqBLYfPnVyCSvcuMNgDku3VpgQ9aZP8

This roundrip should be a unit test

Metadata

Metadata

Assignees

Labels

F2-bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions