Skip to content
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

Add more precision to error messages #108

Merged
merged 1 commit into from
May 13, 2021
Merged

Conversation

hug-dev
Copy link
Member

@hug-dev hug-dev commented May 13, 2021

Specifically for the ones related with non recognised values or fields.
Also adds some testing around that.

In context of parallaxsecond/parsec#388

Specifically for the ones related with non recognised values or fields.
Also adds some testing around that.

Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
@hug-dev hug-dev requested a review from ionut-arm May 13, 2021 13:04
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.

👍🏻

Comment on lines +614 to +623
key_algorithm: Some(algorithm_proto::Algorithm {
variant: Some(algorithm_proto::algorithm::Variant::AsymmetricSignature(algorithm_proto::algorithm::AsymmetricSignature {
variant: Some(algorithm_proto::algorithm::asymmetric_signature::Variant::RsaPkcs1v15Sign(algorithm_proto::algorithm::asymmetric_signature::RsaPkcs1v15Sign {
hash_alg: Some(algorithm_proto::algorithm::asymmetric_signature::SignHash {
variant: Some(algorithm_proto::algorithm::asymmetric_signature::sign_hash::Variant::Specific(
78,
)),
}),
})),
}))
Copy link
Member

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 c63acb9 into parallaxsecond:main May 13, 2021
@hug-dev hug-dev deleted the stability branch May 13, 2021 13:09
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.

2 participants