-
Notifications
You must be signed in to change notification settings - Fork 18
Add ListKeys operation #83
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
Conversation
Signed-off-by: Joe Ellis <[email protected]>
Signed-off-by: Joe Ellis <[email protected]>
1f7e841
to
7b40757
Compare
src/operations/list_keys.rs
Outdated
#[derive(Debug, Clone, PartialEq)] | ||
pub struct KeyInfo { | ||
/// The ID of the associated provider. | ||
pub provider_id: u32, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be ProviderID
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, my bad!
11323fb
to
092595e
Compare
Signed-off-by: Joe Ellis <[email protected]>
Signed-off-by: Joe Ellis <[email protected]>
092595e
to
c0d5229
Compare
#[derive(Debug, Clone, PartialEq)] | ||
pub struct KeyInfo { | ||
/// The ID of the associated provider. | ||
pub provider_id: ProviderID, | ||
/// The name of the key. | ||
pub name: String, | ||
/// The key attributes. | ||
pub attributes: Attributes, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does Attributes
have Display
implemented? If so, it might be worth implementing it for this one as well, might make the job in parsec-tool
easier 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, great spot -- but unfortunately it does not have Display
implemented. We can add this in another PR. 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thanks for the tests.
No description provided.