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

Update webkey:gpg for didkit-wasm #390

Merged
merged 1 commit into from
Feb 24, 2022
Merged

Update webkey:gpg for didkit-wasm #390

merged 1 commit into from
Feb 24, 2022

Conversation

clehner
Copy link
Contributor

@clehner clehner commented Feb 16, 2022

Extends #373. Enable use with didkit-wasm in spruceid/didkit#261.

I found it necessary to remove use of sequoia-openpgp as a feature and optional dependency (c73e6af); this follows the changes in aaae84f which removed the option of using rpgp as an alternative (since it was not as effective at parsing). This PR also changes did:webkey to use sequoia-openpgp/crypto-rust unconditionally (db3fd3e), since architecture-conditional dependency features are not working (#373 (comment)). Note that this PR (as well as #373) adds some redundant use of crypto dependencies, since e.g. ed25519-dalek and rsa are brought in by sequoia-openpgp/crypto-rust, while ring is still used in ssi.

@clehner clehner marked this pull request as ready for review February 23, 2022 14:43
@clehner clehner changed the base branch from main to feat/impl-gpg-keytype February 23, 2022 15:49
@clehner clehner changed the base branch from feat/impl-gpg-keytype to main February 23, 2022 15:50
@clehner clehner requested a review from sbihel February 23, 2022 19:45
@sbihel
Copy link
Member

sbihel commented Feb 24, 2022

Note that this PR (as well as #373) adds some redundant use of crypto dependencies, since e.g. ed25519-dalek and rsa are brought in by sequoia-openpgp/crypto-rust, while ring is still used in ssi.

At least it's not the other way around, as ring doesn't completely work on WASM!

Copy link
Member

@sbihel sbihel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for Rust native backends 😄

@clehner
Copy link
Contributor Author

clehner commented Feb 24, 2022

Rebased after #373 squash-merged

@clehner clehner merged commit fb4d8aa into main Feb 24, 2022
@clehner clehner deleted the fix/pgp-rust-wasm branch February 24, 2022 15:06
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