5

Visualize identity change history in `ockam identity show --full` command · Iss...

 2 years ago
source link: https://github.com/build-trust/ockam/issues/3258
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Member

mrinalwadhwa commented 3 days ago

edited

Currently

> ockam node create n1
...
> ockam identity show --full --node n1
01cc53b812830d84e7ced12e7c1ef439fb0e4f19c2559af0aef6abb42825567fc1010000084f434b414d5f524b0003012000000000000000200801878c3ea3861a67e416a7b3ce20aefbf65e5941fd4a4d772670dbbaf022460340b63ce930979978542d9352555bc34fd205bc784dd425ffa3f87f7be0dbd28ba7c4adaade6a6e8ed3384bb60d9e910c6e67d0c0ff87fbf2b592d43e5cc6acc705b9154549a381303a93dd12a27e173d7f366f1597ca282dace84737fcfb3fa2820101407c440c0e636bf9cd932615b9e69eb65810882ae335ec1bedf9daf729d2d31341cc287400722b3490ea6acbc673a345ca312e370ba767822e4806ac93ac603c0e

The above hex value is a serialized form of the identity.

An Ockam Identity is a series of change events that capture signed rotation and revocation of keys.

https://github.com/build-trust/ockam/blob/develop/implementations/rust/ockam/ockam_identity/src/change_history.rs#L32

Desired

We want to display some form of visualization of changes to an identity. Could be just a less opaque data structure or could some ascii art. We'd love ideas on how to visualize this data structure.

The code ockam identity show command is here
https://github.com/build-trust/ockam/blob/develop/implementations/rust/ockam/ockam_command/src/identity/show.rs


We love helping new contributors!
If you have questions or need help as you work on your first Ockam contribution, please leave a comment on this discussion.
If you're looking for other issues to contribute to, checkout this discussion and labels - good first issue or help wanted


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK