Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support for ps_sign_ and ps_verify_message Parsec operations. #83

Merged

Conversation

RobertDrazkowskiGL
Copy link
Contributor

There was a typo in a working (not yet pushed) copy of Parsec/e2e-tests making sign/verify_message tests always succeeding.
After the typo was corrected, it exposed the problem and below changes fix it.

Signed-off-by: Robert Drazkowski <Robert.Drazkowski@globallogic.com>
@hug-dev hug-dev self-requested a review May 13, 2021 10:52
Copy link
Member

@hug-dev hug-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this 👌!

@@ -722,6 +724,95 @@ impl BasicClient {
Ok(())
}

/// **[Cryptographic Operation]** Create an asymmetric signature on a message.
///
/// The key intended for signing **must** have its `sign_hash` flag set
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe sign_message here? Same for the verify_message

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected - thanks for pointing.

/// of `InvalidProvider` type is returned.
///
/// See the operation-specific response codes returned by the service
/// [here](https://parallaxsecond.github.io/parsec-book/parsec_client/operations/psa_sign_hash.html#specific-response-status-codes).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the link should be https://parallaxsecond.github.io/parsec-book/parsec_client/operations/psa_sign_message.html#specific-response-status-codes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected - thanks for pointing.

@hug-dev hug-dev requested a review from ionut-arm May 13, 2021 10:56
Signed-off-by: Robert Drazkowski <Robert.Drazkowski@globallogic.com>
Copy link
Member

@ionut-arm ionut-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@hug-dev hug-dev merged commit 06b921c into parallaxsecond:main May 13, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants