Skip to content

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 👌!


/// **[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants