| Crates.io | c2pa-azure |
| lib.rs | c2pa-azure |
| version | 0.73.2 |
| created_at | 2025-10-15 19:12:59.752354+00 |
| updated_at | 2026-01-05 19:02:03.426668+00 |
| description | Rust helpers for issuing C2PA signatures via Azure Trusted Signing. |
| homepage | https://github.com/duggaraju/c2pa-azure |
| repository | https://github.com/duggaraju/c2pa-azure |
| max_upload_size | |
| id | 1884826 |
| size | 140,523 |
c2pa-azure is a Rust library that leverages the c2pa-rs library and Azure Code Signing service to add content credentials to media files. This library provides a robust solution for ensuring the authenticity and integrity of digital media by embedding cryptographic signatures and metadata.
c2pa-rs to embed content credentials into media files, ensuring their authenticity.Add the following to your Cargo.toml:
cargo build
The default manifest settings are stored in manifest.json. It can be edited to add or remove assertsion or ingredients as necessary.
az login
cargo run --bin cli -- -i input.png -o output.png -e https://eus.codesigning.azure.net -a signing_account -c certificate_profile [-m manifest.json]
Deploy the library as an Azure Container App to automate the signing process for media files uploaded to your Azure storage. It needs the following steps.
cd deployment
az group create group-name -location 'WestUS'
az deployment group create --resource-group group-name --template-file common.bicep --parameters common.bicepparam
./build.sh -n registry-name
az deployment group create --resource-group group-name --template-file container-app.bicep --parameters container-app.bicepparam
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
This project is licensed under the MIT License.