c2pa-js
c2pa-js copied to clipboard
JavaScript SDK for displaying and validating C2PA data
Hello! I am trying to sign image with CAI information with ed25519 cryptographic algorithm. I used [private key](https://github.com/contentauth/c2pa-rs/blob/main/sdk/tests/fixtures/certs/ed25519.pem) and [certificate](https://github.com/contentauth/c2pa-rs/blob/main/sdk/tests/fixtures/certs/ed25519.pub) from [c2pa-rs library](https://github.com/contentauth/c2pa-rs) main branch at [b167baeb3faa78f3a5b9f0e7cf6e197b81ac095b](https://github.com/contentauth/c2pa-rs/commit/b167baeb3faa78f3a5b9f0e7cf6e197b81ac095b) commit. I have...
It looks like the SDK can't run on Safari 14 due to its use of `BigUint64Array`. https://github.com/rustwasm/wasm-bindgen/pull/2727 looks like it tries to add support for this, however it seems like...
I am interested in building things from scratch to get better understanding how things work together. For example, with the `examples/react-ts-vite` example, I hope to point to my local `c2ps`...
When we release a new version, we'll need to update the following to use the new version: - Example code package lock files - JsDelivr URLs in the es-module example
In our L2 provenance display, manifest sections will still render even if the underlying manifest does not contain relevant data: We should hide sections that don't have any data to...
Rush is [pretty strict](https://rushjs.io/pages/maintainer/add_to_repo/#step-6-verify-that-the-new-project-builds) about log output during builds - anything logged to stderr will cause a build to fail. Some of our build steps generate log output that is...
The Rush prettier pre-commit hook breaks when used with the VSCode GUI. Error output suggests that this is because VSCode is using its own version of node which does not...
We initially made the release using [threads.js](https://github.com/andywer/threads.js), however we wound up in a scenario where the workers could initially lock and cause the first processImage call to never complete, possibly...
At the moment, production builds of many of our packages include inline sourcemaps. We should make sure that we have sensible sourcemap configurations for our prod/dev build modes.
Currently, each package defines its own config file for web-test-runner and many of them are duplicates. Additionally, each testing dependency must be installed per-project. Ideally, we should share the "base"...