-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Labels
F2-bugSomething isn't workingSomething isn't working
Description
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 workingSomething isn't working