{"_id":"@binlebin/c2pa-ssl","_rev":"14-de42a6f2dada3395492b239901de072f","name":"@binlebin/c2pa-ssl","dist-tags":{"latest":"1.1.4"},"versions":{"1.0.0":{"name":"@binlebin/c2pa-ssl","version":"1.0.0","keywords":["c2pa","openssl","signing","digital-provenance","content-authentication","firebase-functions","certificate-chain"],"author":{"name":"Your Name","email":"your.email@example.com"},"license":"ISC","_id":"@binlebin/c2pa-ssl@1.0.0","maintainers":[{"name":"binlebin","email":"binlebin@gmail.com"}],"homepage":"https://github.com/binlebin/c2pa-ssl#readme","bugs":{"url":"https://github.com/binlebin/c2pa-ssl/issues"},"dist":{"shasum":"03420a8434202797377fcda6ef3bac59b917473c","tarball":"https://registry.npmjs.org/@binlebin/c2pa-ssl/-/c2pa-ssl-1.0.0.tgz","fileCount":8,"integrity":"sha512-9rS7kKOnhz1X+hSHpT0oGGigHO74sAdRUeBEmZx4C06BOfGGoSGl6x+ZjpIWYMaSeoV+QpFAeFt7+MGzIS6hfw==","signatures":[{"sig":"MEYCIQDgtrQHeUHSrSyPXSJotd+tduLCVZsc+h92nnB+nsfaPwIhAKlEBNB2tt7cCd5N/i+VCPzJZGHKrKGX34Z2Z0e7I8mP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26429660},"main":"index.js","engines":{"node":">=18.0.0"},"gitHead":"0fc5c0887e9242774dbbcdc083cfa63862f1ab40","scripts":{"dev":"node index.js","test":"node test.js","start":"node index.js"},"_npmUser":{"name":"binlebin","email":"binlebin@gmail.com"},"repository":{"url":"git+https://github.com/binlebin/c2pa-ssl.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js wrapper for C2PA service with OpenSSL backend for proper certificate chain handling","directories":{},"_nodeVersion":"20.19.2","dependencies":{"axios":"^1.7.2","multer":"^1.4.5-lts.1","express":"^4.19.2","fs-extra":"^11.2.0","form-data":"^4.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/c2pa-ssl_1.0.0_1748676236211_0.3908418446762707","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@binlebin/c2pa-ssl","version":"1.0.1","keywords":["c2pa","openssl","signing","digital-provenance","content-authentication","firebase-functions","certificate-chain"],"author":{"name":"Your Name","email":"your.email@example.com"},"license":"ISC","_id":"@binlebin/c2pa-ssl@1.0.1","maintainers":[{"name":"binlebin","email":"binlebin@gmail.com"}],"homepage":"https://github.com/binlebin/c2pa-ssl#readme","bugs":{"url":"https://github.com/binlebin/c2pa-ssl/issues"},"dist":{"shasum":"3818fa4f8fbc2f9139f4effea231465bea390369","tarball":"https://registry.npmjs.org/@binlebin/c2pa-ssl/-/c2pa-ssl-1.0.1.tgz","fileCount":8,"integrity":"sha512-KopWmuOgFhJcNRBAB7+6ofQJNFo8pO5YadshOturCI978aRr46KLpNSJHMt7Sz+gkCBOJixT5qT2JsBxrWZwUA==","signatures":[{"sig":"MEUCIQDOHcluYha2GK/6AAtVzis2DeTQt2nj0kvYDV+F5UFCeQIgA5apl1FNdR7hZQepfqK8lXuq2GviKKnbP4Om6QeEM2k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26430982},"main":"index.js","engines":{"node":">=18.0.0"},"gitHead":"7a93761b323471bca1080fc1736604f9ec7c602e","scripts":{"dev":"node index.js","test":"node test.js","start":"node index.js"},"_npmUser":{"name":"binlebin","email":"binlebin@gmail.com"},"repository":{"url":"git+https://github.com/binlebin/c2pa-ssl.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js wrapper for C2PA service with OpenSSL backend for proper certificate chain handling","directories":{},"_nodeVersion":"20.19.2","dependencies":{"axios":"^1.7.2","multer":"^1.4.5-lts.1","express":"^4.19.2","fs-extra":"^11.2.0","form-data":"^4.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/c2pa-ssl_1.0.1_1748676636428_0.02919180809605737","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@binlebin/c2pa-ssl","version":"1.0.2","keywords":["c2pa","openssl","signing","digital-provenance","content-authentication","firebase-functions","certificate-chain","typescript"],"author":{"name":"Your Name","email":"your.email@example.com"},"license":"ISC","_id":"@binlebin/c2pa-ssl@1.0.2","maintainers":[{"name":"binlebin","email":"binlebin@gmail.com"}],"homepage":"https://github.com/binlebin/c2pa-ssl#readme","bugs":{"url":"https://github.com/binlebin/c2pa-ssl/issues"},"dist":{"shasum":"a9a5c5d24dc5c85642431afce8e72c127282a956","tarball":"https://registry.npmjs.org/@binlebin/c2pa-ssl/-/c2pa-ssl-1.0.2.tgz","fileCount":9,"integrity":"sha512-0cByWwFw+j1fw5W1Eh1EE+vaRQ1OoxHQdIyfX23aeHDVaVTQ963EBEs66PtZok7iizzddLG8LPrt2TT7HauzwQ==","signatures":[{"sig":"MEUCIG8dPzf40+OA0RoK+a2777PiVcGamQrhgSt/Bd1JHEAiAiEAlhLC4QcZKz2LMALIl5MvUjoznoJuAB8qEoobaCCjOdg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26432083},"main":"index.js","types":"index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"7a93761b323471bca1080fc1736604f9ec7c602e","scripts":{"dev":"node index.js","test":"node test.js","start":"node index.js"},"_npmUser":{"name":"binlebin","email":"binlebin@gmail.com"},"repository":{"url":"git+https://github.com/binlebin/c2pa-ssl.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js wrapper for C2PA service with OpenSSL backend for proper certificate chain handling","directories":{},"_nodeVersion":"20.19.2","dependencies":{"axios":"^1.7.2","multer":"^1.4.5-lts.1","express":"^4.19.2","fs-extra":"^11.2.0","form-data":"^4.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/c2pa-ssl_1.0.2_1748677985305_0.42994287424797095","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@binlebin/c2pa-ssl","version":"1.0.3","keywords":["c2pa","openssl","signing","digital-provenance","content-authentication","firebase-functions","certificate-chain","typescript"],"author":{"name":"Your Name","email":"your.email@example.com"},"license":"ISC","_id":"@binlebin/c2pa-ssl@1.0.3","maintainers":[{"name":"binlebin","email":"binlebin@gmail.com"}],"homepage":"https://github.com/binlebin/c2pa-ssl#readme","bugs":{"url":"https://github.com/binlebin/c2pa-ssl/issues"},"dist":{"shasum":"bbc8ba617de71d7d861428732ed646049e31f0ae","tarball":"https://registry.npmjs.org/@binlebin/c2pa-ssl/-/c2pa-ssl-1.0.3.tgz","fileCount":9,"integrity":"sha512-zHvjlp5t+/5AwLJP7YNCbiUAF5f5b2VyJjZeLVLjrDf9iP+CbVMqq/f7gD3FVLU1jaPZE3farlr2nAid/6BFCg==","signatures":[{"sig":"MEUCIQCvxkT2M27TvrsOe/PnggNbabg0Sk9i7nJzExk6qSVPeAIgU40mEaMPHy4h5f68EBvLoSB+w5viUBB2QItYy6YsoJs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26432107},"main":"index.js","type":"module","types":"index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"aca1098b398e9baff5b249e475c1823332d0b9e6","scripts":{"dev":"node index.js","test":"node test.js","start":"node index.js"},"_npmUser":{"name":"binlebin","email":"binlebin@gmail.com"},"repository":{"url":"git+https://github.com/binlebin/c2pa-ssl.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js wrapper for C2PA service with OpenSSL backend for proper certificate chain handling","directories":{},"_nodeVersion":"20.19.2","dependencies":{"axios":"^1.7.2","multer":"^1.4.5-lts.1","express":"^4.19.2","fs-extra":"^11.2.0","form-data":"^4.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/c2pa-ssl_1.0.3_1748678218187_0.579984183379296","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@binlebin/c2pa-ssl","version":"1.0.4","keywords":["c2pa","openssl","signing","digital-provenance","content-authentication","firebase-functions","certificate-chain","typescript"],"author":{"name":"Your Name","email":"your.email@example.com"},"license":"ISC","_id":"@binlebin/c2pa-ssl@1.0.4","maintainers":[{"name":"binlebin","email":"binlebin@gmail.com"}],"homepage":"https://github.com/binlebin/c2pa-ssl#readme","bugs":{"url":"https://github.com/binlebin/c2pa-ssl/issues"},"dist":{"shasum":"a6ceb76c3335a8cbe297c351b86175a3a1293d49","tarball":"https://registry.npmjs.org/@binlebin/c2pa-ssl/-/c2pa-ssl-1.0.4.tgz","fileCount":9,"integrity":"sha512-FEO6GsTX+FFK11Tj23R2viKyjnZtZgKHpPXzYGI5vLgO1bqaX2j2XMvC9oiOBoff4hUmx7/CHsO4PorEML3m3A==","signatures":[{"sig":"MEQCIH86eIxUu20oNdyre4ajWqVmDwVoeGelSNXN4rHRwah8AiANwYZeX8boHQVE9KYczag7v6U+M62Qo4ksbdSiIQXuTg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26432146},"main":"index.js","types":"index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"060bb36a4adec1e0574f2a244b1b5c51b0736e7a","scripts":{"dev":"node index.js","test":"node test.js","start":"node index.js"},"_npmUser":{"name":"binlebin","email":"binlebin@gmail.com"},"repository":{"url":"git+https://github.com/binlebin/c2pa-ssl.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js wrapper for C2PA service with OpenSSL backend for proper certificate chain handling","directories":{},"_nodeVersion":"20.19.2","dependencies":{"axios":"^1.7.2","multer":"^1.4.5-lts.1","express":"^4.19.2","fs-extra":"^11.2.0","form-data":"^4.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/c2pa-ssl_1.0.4_1748678734961_0.15610341813350415","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@binlebin/c2pa-ssl","version":"1.0.5","keywords":["c2pa","openssl","signing","digital-provenance","content-authentication","firebase-functions","certificate-chain","typescript"],"author":{"name":"Your Name","email":"your.email@example.com"},"license":"ISC","_id":"@binlebin/c2pa-ssl@1.0.5","maintainers":[{"name":"binlebin","email":"binlebin@gmail.com"}],"homepage":"https://github.com/binlebin/c2pa-ssl#readme","bugs":{"url":"https://github.com/binlebin/c2pa-ssl/issues"},"dist":{"shasum":"b80f8069add10c972f034682b13ae961bf03abf8","tarball":"https://registry.npmjs.org/@binlebin/c2pa-ssl/-/c2pa-ssl-1.0.5.tgz","fileCount":9,"integrity":"sha512-zx2Egbwduz83Ro5llnCa1yVrEYgwyqvYu4Bv0qjny0URsBLNd354BteB8gWB83swynKgu2rvEmRkrVaZU9Dgqg==","signatures":[{"sig":"MEYCIQCmgtl+rfDWevH0xBQrtNeKD2QiTiwMar164Z2mjAbxGQIhAPq2eLanwxTlMeTnOH9FE9upbQhg4i9V2vWfln4/SH3w","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26432275},"main":"index.js","types":"index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"84ae82c870e3aebc38a485027357dfcfbbbdde12","scripts":{"dev":"node index.js","test":"node test.js","start":"node index.js"},"_npmUser":{"name":"binlebin","email":"binlebin@gmail.com"},"repository":{"url":"git+https://github.com/binlebin/c2pa-ssl.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js wrapper for C2PA service with OpenSSL backend for proper certificate chain handling","directories":{},"_nodeVersion":"20.19.2","dependencies":{"axios":"^1.7.2","multer":"^1.4.5-lts.1","express":"^4.19.2","fs-extra":"^11.2.0","form-data":"^4.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/c2pa-ssl_1.0.5_1748678930559_0.5844531148560381","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@binlebin/c2pa-ssl","version":"1.0.6","keywords":["c2pa","openssl","signing","digital-provenance","content-authentication","firebase-functions","certificate-chain","typescript"],"author":{"name":"Your Name","email":"your.email@example.com"},"license":"ISC","_id":"@binlebin/c2pa-ssl@1.0.6","maintainers":[{"name":"binlebin","email":"binlebin@gmail.com"}],"homepage":"https://github.com/binlebin/c2pa-ssl#readme","bugs":{"url":"https://github.com/binlebin/c2pa-ssl/issues"},"dist":{"shasum":"825e42d25bf3e96616cf018ebb7fc54750a1b6c6","tarball":"https://registry.npmjs.org/@binlebin/c2pa-ssl/-/c2pa-ssl-1.0.6.tgz","fileCount":9,"integrity":"sha512-arxe2Up/p2tIok6yaZQ+NbnqUkVrxsfaGkfuRFV/bsKKfI0qKbVuST3g0e5zs/Pr2ATi3SqyQx9Irf4Zn/w1Lw==","signatures":[{"sig":"MEUCIQDzy2lsFErOq3BkFNeTlXZ3TJNfxfmHF/NCJya6bvkRMAIgMeRuf/RmtL7n4GAKp1hBHw77AbKvV1QsG3le45RxL7Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26432083},"main":"index.js","types":"index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"3031a9dfb07be95df8ebda155350661f482e13c1","scripts":{"dev":"node index.js","test":"node test.js","start":"node index.js"},"_npmUser":{"name":"binlebin","email":"binlebin@gmail.com"},"repository":{"url":"git+https://github.com/binlebin/c2pa-ssl.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js wrapper for C2PA service with OpenSSL backend for proper certificate chain handling","directories":{},"_nodeVersion":"20.19.2","dependencies":{"axios":"^1.7.2","multer":"^1.4.5-lts.1","express":"^4.19.2","fs-extra":"^11.2.0","form-data":"^4.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/c2pa-ssl_1.0.6_1748679059273_0.4504745467354705","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@binlebin/c2pa-ssl","version":"1.0.8","keywords":["c2pa","content-authentication","digital-signatures","provenance","cli","rust","openssl","firebase-functions"],"author":{"name":"binlebin"},"license":"MIT","_id":"@binlebin/c2pa-ssl@1.0.8","maintainers":[{"name":"binlebin","email":"binlebin@gmail.com"}],"homepage":"https://github.com/binlebin/c2pa-ssl#readme","bugs":{"url":"https://github.com/binlebin/c2pa-ssl/issues"},"os":["darwin","linux"],"cpu":["x64"],"dist":{"shasum":"57818c302bdb2cfacb58f2e82199cdf323a1ddd1","tarball":"https://registry.npmjs.org/@binlebin/c2pa-ssl/-/c2pa-ssl-1.0.8.tgz","fileCount":8,"integrity":"sha512-BrdWuND6swORUPsSsI1IXlHCj1MAK0f4zhlSPeTTv6/+xgJLJHb6F47UYPtPCPDPP6jq4i2vLr3rwk/+3624uQ==","signatures":[{"sig":"MEQCIDgnRlcsv0Iwor9NIMUkSxLrry6XaTsnJZrSKD732ODzAiB+jxlKOW7NfWur59tzK6dmWka8LgM3/FPZyCDoVQE9Iw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24626291},"main":"index.js","types":"index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"0b134d81c64a9085966d0b0b6bad4a935ce43cf6","scripts":{"test":"node test-cli.js","start":"node index.js"},"_npmUser":{"name":"binlebin","email":"binlebin@gmail.com"},"repository":{"url":"git+https://github.com/binlebin/c2pa-ssl.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js wrapper for C2PA content authentication using Rust CLI backend","directories":{},"_nodeVersion":"20.19.2","dependencies":{"fs-extra":"^11.1.1"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/c2pa-ssl_1.0.8_1748702538979_0.8435134044607129","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@binlebin/c2pa-ssl","version":"1.0.9","keywords":["c2pa","content-authentication","digital-signatures","provenance","cli","rust","openssl","firebase-functions"],"author":{"name":"binlebin"},"license":"MIT","_id":"@binlebin/c2pa-ssl@1.0.9","maintainers":[{"name":"binlebin","email":"binlebin@gmail.com"}],"homepage":"https://github.com/binlebin/c2pa-ssl#readme","bugs":{"url":"https://github.com/binlebin/c2pa-ssl/issues"},"os":["darwin","linux"],"cpu":["x64","arm64"],"dist":{"shasum":"b9fea09e21ecd8068aef18696b19575d8832f180","tarball":"https://registry.npmjs.org/@binlebin/c2pa-ssl/-/c2pa-ssl-1.0.9.tgz","fileCount":8,"integrity":"sha512-Mds6u7+MovRIoBuO9/KlSs3mjeswFZKGbeCwC1BkJq6k7weG7vDeV/tbN08SfEdlBqu20CSL0Kcl6GDXrBu9ZQ==","signatures":[{"sig":"MEYCIQCwzeqiFzW9BqDugprCvllkS6kd9TCwUJPab9NEuSvDagIhAPmI7+p3ayGx0PHkGhAKuSmfDR0rgR4n3UZM2c2JGsXc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24626308},"main":"index.js","types":"index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"1213c433629cdbba54e405b4ed89eb9bd6b12190","scripts":{"test":"node test-cli.js","start":"node index.js"},"_npmUser":{"name":"binlebin","email":"binlebin@gmail.com"},"repository":{"url":"git+https://github.com/binlebin/c2pa-ssl.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js wrapper for C2PA content authentication using Rust CLI backend","directories":{},"_nodeVersion":"20.19.2","dependencies":{"fs-extra":"^11.1.1"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/c2pa-ssl_1.0.9_1748702610578_0.8788852548872692","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@binlebin/c2pa-ssl","version":"1.1.0","keywords":["c2pa","content-authentication","digital-signatures","provenance","cli","rust","openssl","firebase-functions"],"author":{"name":"binlebin"},"license":"MIT","_id":"@binlebin/c2pa-ssl@1.1.0","maintainers":[{"name":"binlebin","email":"binlebin@gmail.com"}],"homepage":"https://github.com/binlebin/c2pa-ssl#readme","bugs":{"url":"https://github.com/binlebin/c2pa-ssl/issues"},"os":["darwin","linux"],"cpu":["x64","arm64"],"dist":{"shasum":"e718539f739f6a00e1934a5ea225929c2932848c","tarball":"https://registry.npmjs.org/@binlebin/c2pa-ssl/-/c2pa-ssl-1.1.0.tgz","fileCount":8,"integrity":"sha512-h9A1Mih6EkaJ6pMx9pm9MCEpWyxlY48+sKc0DnMfvLREVFN4SQYqaM5ZmXjgjYasiZ/g2jZ2cY+eXpOYI+2Q7Q==","signatures":[{"sig":"MEUCIDn+HZQW79Dm2O/0VbdtPtcrWzaaBBKL/l2+4UmmaOEPAiEAlEeC3JF2wBtdTuvdEyIFYKzLfZGMFzH88wR2a7FZDps=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24626765},"main":"index.js","types":"index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"1213c433629cdbba54e405b4ed89eb9bd6b12190","scripts":{"test":"node test-cli.js","start":"node index.js"},"_npmUser":{"name":"binlebin","email":"binlebin@gmail.com"},"repository":{"url":"git+https://github.com/binlebin/c2pa-ssl.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js wrapper for C2PA content authentication using Rust CLI backend","directories":{},"_nodeVersion":"20.19.2","dependencies":{"fs-extra":"^11.1.1"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/c2pa-ssl_1.1.0_1748705987119_0.8138014317190736","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@binlebin/c2pa-ssl","version":"1.1.1","keywords":["c2pa","content-authentication","digital-signatures","provenance","cli","rust","openssl","firebase-functions"],"author":{"name":"binlebin"},"license":"MIT","_id":"@binlebin/c2pa-ssl@1.1.1","maintainers":[{"name":"binlebin","email":"binlebin@gmail.com"}],"homepage":"https://github.com/binlebin/c2pa-ssl#readme","bugs":{"url":"https://github.com/binlebin/c2pa-ssl/issues"},"os":["darwin","linux"],"cpu":["x64","arm64"],"dist":{"shasum":"1a1348ee2dd16827e0f0e23193dca746b51ad108","tarball":"https://registry.npmjs.org/@binlebin/c2pa-ssl/-/c2pa-ssl-1.1.1.tgz","fileCount":8,"integrity":"sha512-7qjQNOmT3z8n9pSuw0bfUQ0+FMaEnQeWnwoP+mps6AxUTzrsf8x4vUL42mmQbqfgBvRECUQ1VDsJnK4n28N8Wg==","signatures":[{"sig":"MEUCIQDvZAdR7qazPERE4vl3zGpE8+i0X60cRi2tCcnOfVj3ZQIgPwk9wdxG+5m3LPo+56apZDrFd5B/qBpCDOK/WXdW1Zo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24626959},"main":"index.js","types":"index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"d3867fb0aed11acfa182f631a77b123afba25bfa","scripts":{"test":"node test-cli.js","start":"node index.js"},"_npmUser":{"name":"binlebin","email":"binlebin@gmail.com"},"repository":{"url":"git+https://github.com/binlebin/c2pa-ssl.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js wrapper for C2PA content authentication using Rust CLI backend","directories":{},"_nodeVersion":"20.19.2","dependencies":{"fs-extra":"^11.1.1"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/c2pa-ssl_1.1.1_1748710005422_0.19316602008631656","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@binlebin/c2pa-ssl","version":"1.1.2","keywords":["c2pa","content-authentication","digital-signatures","provenance","cli","rust","openssl","firebase-functions"],"author":{"name":"binlebin"},"license":"MIT","_id":"@binlebin/c2pa-ssl@1.1.2","maintainers":[{"name":"binlebin","email":"binlebin@gmail.com"}],"homepage":"https://github.com/binlebin/c2pa-ssl#readme","bugs":{"url":"https://github.com/binlebin/c2pa-ssl/issues"},"os":["darwin","linux"],"cpu":["x64","arm64"],"dist":{"shasum":"3f009028523cf95fb9264ec8850dc41ca07fae17","tarball":"https://registry.npmjs.org/@binlebin/c2pa-ssl/-/c2pa-ssl-1.1.2.tgz","fileCount":8,"integrity":"sha512-M2AkEkX8cY1+lq+2qQArtXXmXH9cvsraMTV5HMm8eN0vTjU7k9AqA5vZmfSLqw9aYKYl426Q3bWnvOwq3eeyWA==","signatures":[{"sig":"MEYCIQCNRmOrxYloaGvIgXeYMPYb2JiK49817BdsSFiApqyG7wIhANJ3Hq/XpxCMLNtC2zQvEov4fdTdjPmjT8isJExYvqFV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24626963},"main":"index.js","types":"index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"2e319daf78994e66b2b78ea86af78db87f6db350","scripts":{"test":"node test-cli.js","start":"node index.js"},"_npmUser":{"name":"binlebin","email":"binlebin@gmail.com"},"repository":{"url":"git+https://github.com/binlebin/c2pa-ssl.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js wrapper for C2PA content authentication using Rust CLI backend","directories":{},"_nodeVersion":"20.19.2","dependencies":{"fs-extra":"^11.1.1"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/c2pa-ssl_1.1.2_1749143892371_0.039739916523581664","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@binlebin/c2pa-ssl","version":"1.1.3","keywords":["c2pa","content-authentication","digital-signatures","provenance","cli","rust","openssl","firebase-functions"],"author":{"name":"binlebin"},"license":"MIT","_id":"@binlebin/c2pa-ssl@1.1.3","maintainers":[{"name":"binlebin","email":"binlebin@gmail.com"}],"homepage":"https://github.com/binlebin/c2pa-ssl#readme","bugs":{"url":"https://github.com/binlebin/c2pa-ssl/issues"},"os":["darwin","linux"],"cpu":["x64","arm64"],"dist":{"shasum":"0dc60c2112b2e0af9b81c79e909e49c25eabc143","tarball":"https://registry.npmjs.org/@binlebin/c2pa-ssl/-/c2pa-ssl-1.1.3.tgz","fileCount":8,"integrity":"sha512-ip2ta37WgGLf3iygxkFehvtmLUTWqVCuewjBhJOF+9NbkZz3E+C/u+0Fot4YHPZ9rQMZuq+cnAy/lrn3N0uQ0w==","signatures":[{"sig":"MEYCIQCr6ves6ZF2bXdhz9oL7GijDgPupNbEkxzGmqMvssW6VAIhANIMYEScZvTILShaA8e4fcSXB+hFmuM38f6PikcTmH7i","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24626963},"main":"index.js","types":"index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"dcd5d2d2343b60d8c9ca9a43f5b18f98131a0763","scripts":{"test":"node test-cli.js","start":"node index.js"},"_npmUser":{"name":"binlebin","email":"binlebin@gmail.com"},"repository":{"url":"git+https://github.com/binlebin/c2pa-ssl.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js wrapper for C2PA content authentication using Rust CLI backend","directories":{},"_nodeVersion":"20.19.2","dependencies":{"fs-extra":"^11.1.1"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/c2pa-ssl_1.1.3_1749317877464_0.33973866393790586","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@binlebin/c2pa-ssl","version":"1.1.4","description":"Node.js wrapper for C2PA content authentication using Rust CLI backend","main":"index.js","types":"index.d.ts","scripts":{"test":"node test-cli.js","start":"node index.js"},"keywords":["c2pa","content-authentication","digital-signatures","provenance","cli","rust","openssl","firebase-functions"],"author":{"name":"binlebin"},"license":"MIT","dependencies":{"fs-extra":"^11.1.1"},"devDependencies":{},"engines":{"node":">=18.0.0"},"repository":{"type":"git","url":"git+https://github.com/binlebin/c2pa-ssl.git"},"bugs":{"url":"https://github.com/binlebin/c2pa-ssl/issues"},"homepage":"https://github.com/binlebin/c2pa-ssl#readme","os":["darwin","linux"],"cpu":["x64","arm64"],"_id":"@binlebin/c2pa-ssl@1.1.4","gitHead":"a40119bd254033ca7d0df61969954a1c3045a743","_nodeVersion":"20.19.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-KpFEHxBhG0+H+jW+Rd+gQTmFo3X/16qlKL/44pZFS7mtd1EyqLhuE+whH51C9Uepu/WV+kjFkYV22egVZgPgFA==","shasum":"1c469930f787447cf803a2f252a3332e2aa09b98","tarball":"https://registry.npmjs.org/@binlebin/c2pa-ssl/-/c2pa-ssl-1.1.4.tgz","fileCount":8,"unpackedSize":24626124,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQChbf1ukislMjGRniU/3mgTWVifg6QXG+Y1NHX8ie5nUgIhAKx+yjpBc3e3eVplc63eOjoB02RzkNVMWuE2uSKkv+ug"}]},"_npmUser":{"name":"binlebin","email":"binlebin@gmail.com"},"directories":{},"maintainers":[{"name":"binlebin","email":"binlebin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/c2pa-ssl_1.1.4_1749541370474_0.12261932137615661"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-31T07:23:56.136Z","modified":"2025-06-10T07:42:50.954Z","1.0.0":"2025-05-31T07:23:56.505Z","1.0.1":"2025-05-31T07:30:36.952Z","1.0.2":"2025-05-31T07:53:05.624Z","1.0.3":"2025-05-31T07:56:58.488Z","1.0.4":"2025-05-31T08:05:35.273Z","1.0.5":"2025-05-31T08:08:50.886Z","1.0.6":"2025-05-31T08:10:59.576Z","1.0.8":"2025-05-31T14:42:19.303Z","1.0.9":"2025-05-31T14:43:30.908Z","1.1.0":"2025-05-31T15:39:47.437Z","1.1.1":"2025-05-31T16:46:45.731Z","1.1.2":"2025-06-05T17:18:12.711Z","1.1.3":"2025-06-07T17:37:57.838Z","1.1.4":"2025-06-10T07:42:50.777Z"},"bugs":{"url":"https://github.com/binlebin/c2pa-ssl/issues"},"author":{"name":"binlebin"},"license":"MIT","homepage":"https://github.com/binlebin/c2pa-ssl#readme","keywords":["c2pa","content-authentication","digital-signatures","provenance","cli","rust","openssl","firebase-functions"],"repository":{"type":"git","url":"git+https://github.com/binlebin/c2pa-ssl.git"},"description":"Node.js wrapper for C2PA content authentication using Rust CLI backend","maintainers":[{"name":"binlebin","email":"binlebin@gmail.com"}],"readme":"# C2PA SSL - Content Authentication Service\n\nA Node.js wrapper for C2PA (Coalition for Content Provenance and Authenticity)\ncontent signing using a Rust CLI backend.\n\n## Architecture\n\nThis package uses a **CLI-based architecture** for optimal performance:\n\n- **Rust CLI Binary**: Fast, native C2PA signing tool\n- **Node.js Wrapper**: Simple interface for certificate management and CLI\n  execution\n- **Direct File Processing**: No HTTP overhead, direct file-to-file signing\n\n## Platform Support\n\n**Currently Supported:**\n\n- ✅ macOS (darwin) - Native binary included\n- ✅ Linux (x86_64) - Cross-compiled binary via Docker\n\n**Not Yet Supported:**\n\n- ❌ Windows (requires cross-compilation setup)\n\n> **Note**: Linux support was added via Docker cross-compilation. The Linux\n> binary is compatible with Firebase Functions and other Linux environments.\n\n## Installation\n\n```bash\nnpm install @binlebin/c2pa-ssl\n```\n\n## Environment Variables\n\n```bash\n# Required: Your private key content\nexport C2PA_PRIVATE_KEY=\"-----BEGIN PRIVATE KEY-----\n...your private key content...\n-----END PRIVATE KEY-----\"\n```\n\n## Usage\n\n### Basic Usage\n\n```javascript\nconst C2PAService = require(\"@binlebin/c2pa-ssl\");\n\nasync function signContent() {\n  const service = new C2PAService();\n\n  try {\n    // Initialize service (sets up certificates)\n    await service.start();\n\n    // Sign a file\n    const result = await service.signFile(\n      \"input.jpg\",\n      \"signed_output.jpg\",\n      {\n        title: \"My Signed Image\",\n        description: \"Image signed with C2PA\",\n        author: \"Your Name\",\n      },\n    );\n\n    console.log(\"Signing result:\", result);\n  } finally {\n    // Clean up\n    await service.stop();\n  }\n}\n```\n\n### Firebase Functions Integration\n\n```javascript\nimport C2PAService = require(\"@binlebin/c2pa-ssl\"); // eslint-disable-line\n\nexport const downloadMedia = onCall(async (request) => {\n  const c2paService = new C2PAService();\n  \n  try {\n    await c2paService.start();\n    \n    // Download and sign media\n    const tempInput = `/tmp/input_${Date.now()}`;\n    const tempOutput = `/tmp/signed_${Date.now()}`;\n    \n    // ... download logic ...\n    \n    await c2paService.signFile(tempInput, tempOutput, {\n      title: mediaTitle,\n      description: mediaDescription,\n      author: 'visflow.ai'\n    });\n    \n    // ... upload signed file ...\n    \n    return { success: true, c2paSigned: true };\n  } finally {\n    await c2paService.stop();\n  }\n});\n```\n\n## API Reference\n\n### Class: C2PAService\n\n#### Methods\n\n##### `constructor()`\n\nCreates a new C2PA service instance.\n\n##### `async start()`\n\nInitializes the service by setting up certificates. Must be called before\nsigning files.\n\n**Throws:**\n\n- Error if `C2PA_PRIVATE_KEY` environment variable is not set\n- Error if platform is not supported\n- Error if CLI binary is not found\n\n##### `async stop()`\n\nCleans up temporary files and certificates.\n\n##### `async signFile(inputPath, outputPath, metadata)`\n\nSigns a file with C2PA authentication.\n\n**Parameters:**\n\n- `inputPath` (string): Path to input file\n- `outputPath` (string): Path where signed file will be saved\n- `metadata` (object): Optional metadata\n  - `title` (string): Content title (default: \"Signed Content\")\n  - `description` (string): Content description (default: \"Content signed with\n    C2PA\")\n  - `author` (string): Content author (default: \"C2PA-CLI\")\n\n**Returns:** Promise resolving to:\n\n```javascript\n{\n  success: boolean,\n  message: string,\n  stdout: string,\n  stderr: string\n}\n```\n\n## Supported File Formats\n\n### Images\n\n- JPEG/JPG\n- PNG\n- WebP\n- TIFF\n- BMP\n\n### Videos\n\n- MP4\n- MOV (QuickTime)\n- AVI\n- WebM\n\n### Audio\n\n- MP3\n- WAV\n- M4A\n\n## Performance\n\nThe CLI approach provides excellent performance:\n\n### Image Signing\n\n- **Small images** (11KB): ~151% size increase\n- **Processing time**: < 1 second\n\n### Video Signing\n\n- **Medium videos** (1.2MB): ~1.4% size increase\n- **Processing time**: < 2 seconds\n\n## Testing\n\n```bash\n# Set up environment\nexport C2PA_PRIVATE_KEY=\"$(cat path/to/your/private.key)\"\n\n# Run tests\nnpm test\n```\n\n## Development\n\n### Building the Rust CLI\n\n**For macOS (native):**\n\n```bash\ncd rust-c2pa-service\ncargo build --release\ncp target/release/c2pa-cli ../c2pa-ssl/bin/\n```\n\n**For Linux (via Docker cross-compilation):**\n\n```bash\ncd rust-c2pa-service\ndocker build -f Dockerfile.linux -t c2pa-cli-linux .\ndocker create --name temp-container c2pa-cli-linux\ndocker cp temp-container:/output/c2pa-cli-linux .\ndocker rm temp-container\ncp c2pa-cli-linux ../c2pa-ssl/bin/\n```\n\n### Adding Platform Support\n\nTo add support for other platforms:\n\n1. **Windows**: Set up cross-compilation toolchain or Docker\n2. **Update** `getBinaryPath()` method in `index.js`\n3. **Add binary** to `package.json` files array\n\n## Error Handling\n\nCommon errors and solutions:\n\n### Platform Not Supported\n\n```\nPlatform 'linux' is not currently supported\n```\n\n**Solution**: Use macOS or set up cross-compilation\n\n### Missing Private Key\n\n```\nC2PA_PRIVATE_KEY environment variable is required\n```\n\n**Solution**: Set the environment variable with your private key content\n\n### Binary Not Found\n\n```\nCLI binary not found at /path/to/binary\n```\n\n**Solution**: Ensure the binary exists and has execute permissions\n\n## License\n\nMIT License - see LICENSE file for details.\n","readmeFilename":"README.md"}