We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can you provide in samples the given working json for a redaction?
Currently I'm not sure, if the sample is wrong or the tool does not work.
e.g. sample
{ "alg": "es256", "private_key": "private.key", "sign_cert": "certs.pem", "ta_url": "http://timestamp.digicert.com", "claim_generator": "Demo-Signer", "claim_generator_info": [ { "name": "Demo-Signer", "version": "1.0", "icon": { "format": "image/png", "identifier": "icon.png" } } ], "thumbnail": { "format": "image/png", "identifier": "icon.png" }, "redactions": ["self#jumbf=/c2pa/5889294:urn:uuid:63326d61-0011-0010-8000-00aa00389b71/c2pa.assertions/stds.exif"], "assertions": [ { "label": "c2pa.actions", "data": { "actions": [ { "action": "c2pa.redacted" } ] } } ] }
from a source with
{ "active_manifest": "urn:uuid:076b2acb-1a7a-431e-9df0-a48fa75d7b11", "manifests": { "urn:uuid:076b2acb-1a7a-431e-9df0-a48fa75d7b11": { "claim_generator": "Adobe_Premiere_Pro_(Beta)/25.1.0 adobe_c2pa/0.12.4 c2pa-rs/0.32.7", "claim_generator_info": [ { "name": "Adobe Premiere Pro (Beta)", "version": "25.1.0" } ], "title": "Generated Video", "format": "video/mp4", "instance_id": "xmp.iid:b5006e43-c8e8-4344-9713-8ef2a91e86b9", "ingredients": [ { "title": "Firefly someone speaking at a tech conference 73993.jpg", "format": "image/jpeg", "instance_id": "xmp:iid:d0d7c4bc-2e5e-4524-8727-156099b47409", "thumbnail": { "format": "image/jpeg", "identifier": "self#jumbf=/c2pa/urn:uuid:4fe3776a-6ac3-4ab9-a38c-66f05c3b540b/c2pa.assertions/c2pa.thumbnail.claim.jpeg" }, "relationship": "componentOf", "active_manifest": "urn:uuid:4fe3776a-6ac3-4ab9-a38c-66f05c3b540b" }, { "title": "L1000043.jpeg", "format": "image/jpeg", "instance_id": "xmp:iid:c7065025-d425-4f6a-86ac-5f3903ea2883", "thumbnail": { "format": "image/jpeg", "identifier": "self#jumbf=/c2pa/5889294:urn:uuid:63326d61-0011-0010-8000-00aa00389b71/c2pa.assertions/c2pa.thumbnail.claim.jpeg" }, "relationship": "componentOf", "active_manifest": "5889294:urn:uuid:63326d61-0011-0010-8000-00aa00389b71" } ], "assertions": [ { "label": "c2pa.hash.bmff.v2", "data": { "exclusions": [ { "xpath": "/uuid", "length": null, "data": [ { "offset": 8, "value": [ 216, 254, 195, 214, 27, 14, 72, 60, 146, 151, 88, 40, 135, 126, 196, 129 ] } ], "subset": null, "version": null, "flags": null, "exact": null }, { "xpath": "/ftyp", "length": null, "data": null, "subset": null, "version": null, "flags": null, "exact": null }, { "xpath": "/meta/iloc", "length": null, "data": null, "subset": null, "version": null, "flags": null, "exact": null }, { "xpath": "/mfra/tfra", "length": null, "data": null, "subset": null, "version": null, "flags": null, "exact": null }, { "xpath": "/moov/trak/mdia/minf/stbl/stco", "length": null, "data": null, "subset": [ { "offset": 16, "length": 0 } ], "version": null, "flags": null, "exact": null }, { "xpath": "/moov/trak/mdia/minf/stbl/co64", "length": null, "data": null, "subset": [ { "offset": 16, "length": 0 } ], "version": null, "flags": null, "exact": null }, { "xpath": "/moof/traf/tfhd", "length": null, "data": null, "subset": [ { "offset": 16, "length": 8 } ], "version": null, "flags": [ 1, 0, 0 ], "exact": null }, { "xpath": "/moof/traf/trun", "length": null, "data": null, "subset": [ { "offset": 16, "length": 4 } ], "version": null, "flags": [ 1, 0, 0 ], "exact": null } ], "alg": "sha256", "hash": "t39t8tp89ca24Km2NnkL71KDqRPwnSomxLTP4NNz1m4=", "name": "jumbf manifest" } } ], "signature_info": { "alg": "Ps256", "issuer": "Adobe Inc.", "cert_serial_number": "170070846584959589660171603557559082654", "time": "2024-09-11T12:25:40+00:00" }, "label": "urn:uuid:076b2acb-1a7a-431e-9df0-a48fa75d7b11" }, "5889294:urn:uuid:63326d61-0011-0010-8000-00aa00389b71": { "claim_generator": "M11-P/2.0.2 (Serial: 5889294) lc_c2pa/v1.6.1", "title": "L1000043.JPG", "format": "image/jpeg", "instance_id": "xmp:iid:bde03591-313b-4d0a-ba1f-4af60d354ac4", "thumbnail": { "format": "image/jpeg", "identifier": "self#jumbf=/c2pa/5889294:urn:uuid:63326d61-0011-0010-8000-00aa00389b71/c2pa.assertions/c2pa.thumbnail.claim.jpeg" }, "ingredients": [], "assertions": [ { "label": "stds.schema-org.CreativeWork", "data": { "@context": "http://schema.org/", "@type": "CreativeWork", "author": [ { "@type": "Person", "name": "BLUEROOM" } ], "copyrightNotice": "BLUEROOM" }, "kind": "Json" }, { "label": "stds.exif", "data": { "@context": { "exif": "http://ns.adobe.com/exif/1.0/" }, "exif:ApertureValue": "8", "exif:BodySerialNumber": "5889294", "exif:Copyright": "BLUEROOM", "exif:DateTimeDigitized": "2024:04:24 12:46:03", "exif:DateTimeOriginal": "2024:04:24 12:46:03", "exif:DigitalZoomRatio": "0", "exif:ExposureBiasValue": "1", "exif:ExposureProgram": "1", "exif:ExposureTime": "0.0333333", "exif:Flash": "0", "exif:FocalLength": "21", "exif:ISOSpeedRatings": "400", "exif:ImageDescription": "", "exif:ImageHeight": "6320", "exif:ImageWidth": "9504", "exif:LensMake": "Leica Camera AG", "exif:LensModel": "Elmarit-M 1:2.8/21", "exif:LightSource": "0", "exif:Make": "Leica Camera AG", "exif:MaxApertureValue": "2.8", "exif:MeteringMode": "3", "exif:Model": "LEICA M11-P", "exif:Orientation": "1", "exif:ResolutionUnit": "2", "exif:ShutterSpeedValue": "0.03125", "exif:Software": "2.0.2", "exif:XResolution": "300", "exif:YResolution": "300" }, "kind": "Json" } ], "signature_info": { "alg": "Es256", "issuer": "Leica Camera AG", "cert_serial_number": "103879431121522472000082955226338766236" }, "label": "5889294:urn:uuid:63326d61-0011-0010-8000-00aa00389b71" }, "urn:uuid:4fe3776a-6ac3-4ab9-a38c-66f05c3b540b": { "claim_generator": "Adobe_Firefly adobe_c2pa/0.12.3 c2pa-rs/0.32.7", "title": "Generated image", "format": "image/jpeg", "instance_id": "xmp:iid:462f8678-f120-4950-bfbb-9be31b6bb222", "thumbnail": { "format": "image/jpeg", "identifier": "self#jumbf=/c2pa/urn:uuid:4fe3776a-6ac3-4ab9-a38c-66f05c3b540b/c2pa.assertions/c2pa.thumbnail.claim.jpeg" }, "ingredients": [ { "title": "Structure Reference Image", "format": "image/jpeg", "instance_id": "xmp:iid:5fb7f164-d857-4ffe-a3b7-76e2bcd58eff", "relationship": "inputTo" } ], "assertions": [ { "label": "c2pa.actions", "data": { "actions": [ { "action": "c2pa.created", "softwareAgent": "Adobe Firefly", "parameters": { "com.adobe.firefly.version": "3.0.14-release-firefly_3.0.14_main.1091.1.3823", "com.adobe.firefly.operation": "text-based-controls" }, "digitalSourceType": "http://cv.iptc.org/newscodes/digitalsourcetype/trainedAlgorithmicMedia" } ] } } ], "signature_info": { "alg": "Ps256", "issuer": "Adobe Inc.", "cert_serial_number": "24897911096329145909963757630267805798", "time": "2024-09-11T11:34:24+00:00" }, "label": "urn:uuid:4fe3776a-6ac3-4ab9-a38c-66f05c3b540b" } } }
Thanks Martin
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Can you provide in samples the given working json for a redaction?
Currently I'm not sure, if the sample is wrong or the tool does not work.
e.g. sample
from a source with
Thanks Martin
The text was updated successfully, but these errors were encountered: