Skip to content

Commit

Permalink
feat: Add native rust feature to c2pa crate
Browse files Browse the repository at this point in the history
  • Loading branch information
cdmurph32 committed Feb 24, 2025
1 parent 9090f28 commit c2e3e08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/crypto/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ This crate has two features, neither of which are enabled by default:

| C2PA `SigningAlg` | Default (*) | `feature = "rust_native_crypto"` (*) | WASM |
| --- | --- | --- | --- |
| `es256` | OpenSSL | OpenSSL | |
| `es384` | OpenSSL | OpenSSL | |
| `es256` | OpenSSL | `p256` | `p256` |
| `es384` | OpenSSL | `p384` | `p384` |
| `es512` | OpenSSL | OpenSSL ||
| `ed25519` | OpenSSL | `ed25519-dalek` | `ed25519-dalek` |
| `ps256` | OpenSSL | `rsa` | `rsa` |
Expand Down
1 change: 1 addition & 0 deletions sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ serialize_thumbnails = []
no_interleaved_io = ["file_io"]
fetch_remote_manifests = ["dep:wasi"]
json_schema = ["dep:schemars", "c2pa-crypto/json_schema"]
rust_native_crypto = ["c2pa-crypto/rust_native_crypto"]
pdf = ["dep:lopdf"]
v1_api = []

Expand Down

0 comments on commit c2e3e08

Please sign in to comment.