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

Attestation signature verification procedure doesn't work #192

Closed
VasiliyS opened this issue Sep 21, 2023 · 3 comments
Closed

Attestation signature verification procedure doesn't work #192

VasiliyS opened this issue Sep 21, 2023 · 3 comments
Assignees

Comments

@VasiliyS
Copy link

the instructions on the page about the Attestation
don't lead to a successful signature verification.

openssl sha256 -verify contract-public-key.pub -signature se-signature.bin se-checksums.txt
Verification failure
80A065FC01000000:error:0200008A:rsa routines:RSA_padding_check_PKCS1_type_1:invalid padding:crypto/rsa/rsa_pk1.c:75:
80A065FC01000000:error:02000072:rsa routines:rsa_ossl_public_decrypt:padding check failed:crypto/rsa/rsa_ossl.c:598:
80A065FC01000000:error:1C880004:Provider routines:rsa_verify:RSA lib:providers/implementations/signature/rsa_sig.c:788:

Which most likely means that the public key is incorrect.

openssl version is OpenSSL 3.1.2 1 Aug 2023 (Library: OpenSSL 3.1.2 1 Aug 2023), running on MacOS M1.

se-checksums.txt
se-signature.bin.zip

@gudrun-wolfgram
Copy link
Collaborator

This issue can be addressed by the LinuxONE team.

@pranjank
Copy link

pranjank commented Mar 8, 2024

In this page you can see there is 2 certificates to support n-1 version. I hope you have selected right version of certificate to extract the public key.

@MargaretKanickaisamy
Copy link
Contributor

The attestation certificates that are available in the page are already verified and correct at present. Hence, we can close this issue. If there is any other issue, feel free to raise another issue.
Thanks!

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

No branches or pull requests

4 participants