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

feat: wasi-crypto as an optional wasi feature #70

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rjzak
Copy link
Member

@rjzak rjzak commented Oct 7, 2022

Wasi-Crypto gated behind the wasi-crypto feature.

Signed-off-by: Richard Zak richard@profian.com

@rjzak rjzak force-pushed the wasi_wasicrypto branch 2 times, most recently from 88c7ce2 to 047f6d8 Compare October 13, 2022 19:58
@rjzak rjzak force-pushed the wasi_wasicrypto branch 2 times, most recently from 3536a04 to 7f2de29 Compare October 26, 2022 21:01
@rjzak
Copy link
Member Author

rjzak commented Oct 26, 2022

Working with Wasi-Crypto via --features wasi-crypto:

  • Hashing SHA-256 & SHA-384
  • Validating signatures against public keys for Elliptic Curves P256 & P384.
  • Reading in RSA keys
  • SGX attestation works

Not working:

  • RSA signature parsing
  • SNP attestation (needs RSA)

Not started:

  • Certificate signing, since that requires reworking how Steward holds keys. Hopefully the above items provide a decent performance boost at least.

Signed-off-by: Richard Zak <richard@profian.com>
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.

1 participant