-
Notifications
You must be signed in to change notification settings - Fork 7
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
synchronous challange-response verification #4
Conversation
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.
Left a few comments for now, but the important bit would be to take out the ambiguity from ChallengeResponseConfig
by making it impossible for it to exist in an "invalid" state.
absolutely agree |
To be clear: the two main suggestions I have taken in are:
|
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.
Some more comments ✍🏻
9f49676
to
be6ebbb
Compare
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.
LGTM! Do you want to expand the CI checks in this PR, or leave that for a future version?
My plan was: once I get an OK on the implementation & API from you, I'd add the necessary test coverage. For now I have only used the default "Rust CI configuration" that GitHub makes available via the UI. What kind of extra CI checks are you thinking of? |
Just some static checking, format checking... For example, you could just copy-paste these checks from our PKCS11 crate - from line 28 onwards. |
Also, worth putting this blob at the beginning of |
c246850
to
464be85
Compare
awesome! Done in 7a6733c |
Signed-off-by: Thomas Fossati <[email protected]>
Signed-off-by: Thomas Fossati <[email protected]>
Signed-off-by: Thomas Fossati <[email protected]>
Signed-off-by: Thomas Fossati <[email protected]>
Signed-off-by: Thomas Fossati <[email protected]>
Signed-off-by: Thomas Fossati <[email protected]>
Signed-off-by: Thomas Fossati <[email protected]>
6a1fc4b
to
a4c10db
Compare
Cool, looks good! 👍🏻 |
thanks for the super help! |
Signed-off-by: Thomas Fossati <[email protected]>
6cf001b
to
0b37bce
Compare
Signed-off-by: Thomas Fossati <[email protected]>
Signed-off-by: Thomas Fossati <[email protected]>
Signed-off-by: Thomas Fossati <[email protected]>
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.
LGTM, just a couple of nits I highlighted below
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.
LGTM, with my limited knowledge of rust!
Signed-off-by: Thomas Fossati <[email protected]>
Fixes #1