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 Wasm compilation fixes for trust_support branch #401

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

dkozma
Copy link
Contributor

@dkozma dkozma commented Feb 8, 2024

Changes in this pull request

Resolved a few errors that were happening on compilation to Wasm with regard to the webpki_trust_handler module.

Checklist

  • This PR represents a single feature, fix, or change.
  • All applicable changes have been documented.
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment.

Copy link
Collaborator

@mauricefisher64 mauricefisher64 left a comment

Choose a reason for hiding this comment

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

👍

@dkozma dkozma merged commit ae01dc5 into trust_support Feb 8, 2024
6 of 22 checks passed
@dkozma dkozma deleted the trust_support-wasm-fixes-20240208 branch February 8, 2024 13:07
mauricefisher64 added a commit that referenced this pull request Mar 8, 2024
* Push to keep things moving

* Add ManifestStoreOptions to async bytes functions
ManifestStore::from_bytes_async()
ManifestStore::from_manifest_and_asset_bytes_async
Also some fmt/clippy fixes
Builds but unit tests do not run yet

* WASM build

* WASM fix

* Expose ManifestStoreOptions

* Fix missing anchors

* Fix misspelled var

* remove check that may be wrong

* remove issuer check

* switch to x509_parser because x509-certificate has issues

* Add support DER encoded EC signatures when validating trust lists

* Update Adobe trust root

* Small fixes for Wasm building (#354)

* Remove trust anchors from build, only leave the test certs

* Add ManifestStore::from_file_with_options

* Minor fixes

* Trust fixes

* Wasm compiler fixes

* Restored more tests

* EC sig fix

* Add ARW & NEF support

* Fix for wrong sig algoritm

* Support for allowed list

* Add Wasm compilation fixes for trust_support branch (#401)

* Fix wasm trust handler

* Fix reading lines inside PEM certificate blocks

* Wire in settings support
Remove feature flags covered by settings

* Build fixes
simplified check_trust

* Build fixes

* Test fixes

* Build fix

* another try to fix build issue

* Build fixes
Cleanup

* Fix preflight check

* Remove wrong cert from test anchors bundle

* Remove trust feature flag

* simplify manifest_store changes

* revert unintended change

* Remove ManifestStore changes
Update integration example to use loading settings from JSON

* Change feature flag setting

* Change more feature flags

* enhance trust pass through to support configuration of allowed_list and EKU config
Check signing cert before signing so that it gets checked independent of whether we validate after signing

* A little code cleanup

* Make sure ED25519 tests are disabled for WASM

* Remove Ed25519 from trust list until we can get it working in WASM

* Enable Ed25519 support

* Added debug logging for ed25519

* wasm build fix

* fix broken check

* Fixes for wasm

* Fix build failure

* Fix comment

* Code cleanup

* OCSP fix

---------

Co-authored-by: Gavin Peacock <gpeacock@adobe.com>
Co-authored-by: Dave Kozma <dkozma@adobe.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.

2 participants