Skip to content

Commit

Permalink
feat: C2PA PDF support
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan770 committed Jul 31, 2024
1 parent e29f00f commit 2773e23
Show file tree
Hide file tree
Showing 5 changed files with 149 additions and 40 deletions.
155 changes: 121 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/teddybear-c2pa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ repository.workspace = true
categories.workspace = true

[dependencies]
c2pa = { git = "https://github.com/vaultie/c2pa-rs", features = ["unstable_api"] }
c2pa = { git = "https://github.com/vaultie/c2pa-rs", features = ["pdf", "unstable_api"] }
ed25519-dalek = { workspace = true }
Binary file added nix/data/blank.pdf
Binary file not shown.
2 changes: 2 additions & 0 deletions nix/node-testing.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ stdenvNoCC.mkDerivation {
hash = "sha256-tpipFiATKzL4Q7dtB+0wLygdDPoAp5bF6X095Xk++GI=";
};

placeholderPdf = ./data/blank.pdf;

certificate = ./data/crt.der;

postPatch = ''
Expand Down
Loading

0 comments on commit 2773e23

Please sign in to comment.