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

Consensus enclaves don't run on sha-ni chips right now. #855

Merged
merged 1 commit into from
Jul 13, 2021
Merged

Consensus enclaves don't run on sha-ni chips right now. #855

merged 1 commit into from
Jul 13, 2021

Conversation

jcape
Copy link
Contributor

@jcape jcape commented Jul 13, 2021

Motivation

The master branch is currently producing a SIGILL when trying to verify the quote given by a quoting enclave. None of the CPUs we expect to run an enclave on will support the SHA-NI instructions anyways.

In this PR

  • Disable the asm feature from the sha2 crate (should never be used anyways)

@cbeck88
Copy link
Contributor

cbeck88 commented Jul 13, 2021

shouldn't this be on a release branch and not master? we cannot cut a hotfix release from fog master right now, there are breaking changes

@jcape
Copy link
Contributor Author

jcape commented Jul 13, 2021

The sha2 changes are on master.

@jcape jcape marked this pull request as ready for review July 13, 2021 19:53
@jcape jcape requested review from eranrund, sugargoat and a team July 13, 2021 19:53
@jcape jcape self-assigned this Jul 13, 2021
@jcape jcape merged commit 599ec17 into mobilecoinfoundation:master Jul 13, 2021
@jcape jcape deleted the bugfix/no-sha2-asm branch July 13, 2021 19:57
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.

None yet

3 participants