{"_id":"@ar-agents/firma-digital","_rev":"10-122ca77c532e2d96ee7c00fb654aa00a","name":"@ar-agents/firma-digital","dist-tags":{"latest":"0.3.3"},"versions":{"0.1.0":{"name":"@ar-agents/firma-digital","version":"0.1.0","keywords":["firma-digital","argentina","onti","ac-raiz","ley-25506","x509","pkcs7","cms","ai-sdk","vercel-ai","agent","agentic"],"author":{"name":"Nazareno Clemente","email":"naza@helloastro.co"},"license":"MIT","_id":"@ar-agents/firma-digital@0.1.0","maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"homepage":"https://github.com/ar-agents/ar-agents/tree/main/packages/firma-digital","bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"dist":{"shasum":"3e12458272fa12c45cfc202c8b2626f8fae90b5a","tarball":"https://registry.npmjs.org/@ar-agents/firma-digital/-/firma-digital-0.1.0.tgz","fileCount":11,"integrity":"sha512-4ap2hBJDO+2TsEo9CWWznoiZtmfZ3snvYXhpeJ0GCuBSpgrcae9GIWinfEo92JBo5fQV9SOus3GQhozlXIf81A==","signatures":[{"sig":"MEUCIQDVqD7ZXvrCbg6ge30WhRhHJ5LRwbivAKAJHgUJ44++DAIgcaUct58MRAEeCoN53U+k9dEjthTHoBjrBnmgbgqegMA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":161550},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/naza00000","type":"github"},"gitHead":"fa5f348f0602a6f1f5b5385a9036ce7f4cd97f07","scripts":{"lint":"echo 'no lint configured yet'","size":"size-limit","test":"vitest run","build":"tsup","clean":"rm -rf dist","validate":"publint && attw --pack .","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"naza-ar","email":"clementenaza@gmail.com"},"deprecated":"Older versions contained personal PII (test fixtures) and have been superseded. Upgrade to @ar-agents/firma-digital@>=0.2.3, rebuilt from scrubbed source. Removal of the old tarballs has been requested from npm support.","repository":{"url":"git+https://github.com/ar-agents/ar-agents.git","type":"git","directory":"packages/firma-digital"},"size-limit":[{"name":"ESM","path":"dist/index.js","limit":"20 KB"},{"name":"CJS","path":"dist/index.cjs","limit":"20 KB"}],"_npmVersion":"10.9.2","description":"Argentine Firma Digital (Ley 25.506 / ONTI) verification primitives as drop-in tools for the Vercel AI SDK. Parse X.509 certs, validate chains anchored at AC-Raíz Argentina, verify CMS/PKCS#7 detached signatures, extract CUIT from signer subject. Read-onl","directories":{},"_nodeVersion":"22.15.0","dependencies":{"node-forge":"^1.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.175","zod":"^4.4.3","tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.9.3","@types/node":"^20.19.39","@types/node-forge":"^1.3.14"},"peerDependencies":{"ai":">=6.0.0","zod":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/firma-digital_0.1.0_1778261950298_0.3954225355343919","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@ar-agents/firma-digital","version":"0.2.0","keywords":["firma-digital","argentina","onti","ac-raiz","ley-25506","x509","pkcs7","cms","ai-sdk","vercel-ai","agent","agentic"],"author":{"name":"Nazareno Clemente","email":"naza@helloastro.co"},"license":"MIT","_id":"@ar-agents/firma-digital@0.2.0","maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"homepage":"https://github.com/ar-agents/ar-agents/tree/main/packages/firma-digital","bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"dist":{"shasum":"0157d113b1cf919eb27079a2367498144d286f62","tarball":"https://registry.npmjs.org/@ar-agents/firma-digital/-/firma-digital-0.2.0.tgz","fileCount":11,"integrity":"sha512-yf5aBO9nktaQ49g2FI2j7cn4hWWMGZhHS4vDVefIFHMf6dodAGATxTmXeq2LM0kZ7ryLbQ36dszAXyb+Uv43KA==","signatures":[{"sig":"MEQCIE6fSxcxMW1V4i7fmX/EDefFEFXWeIOrIGH0KlhOXn9cAiAzfMYThkAI9Smh6tDusES2jM1fTTTeU6bSlDJIr5HXPg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":164461},"main":"./dist/index.cjs","type":"module","_from":"file:ar-agents-firma-digital-0.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/naza00000","type":"github"},"scripts":{"lint":"echo 'no lint configured yet'","size":"size-limit","test":"vitest run","build":"tsup","clean":"rm -rf dist","validate":"publint && attw --pack .","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"naza-ar","email":"clementenaza@gmail.com"},"_resolved":"/tmp/b3bc592cda56f62cea800e90a5baa148/ar-agents-firma-digital-0.2.0.tgz","_integrity":"sha512-yf5aBO9nktaQ49g2FI2j7cn4hWWMGZhHS4vDVefIFHMf6dodAGATxTmXeq2LM0kZ7ryLbQ36dszAXyb+Uv43KA==","deprecated":"Older versions contained personal PII (test fixtures) and have been superseded. Upgrade to @ar-agents/firma-digital@>=0.2.3, rebuilt from scrubbed source. Removal of the old tarballs has been requested from npm support.","repository":{"url":"git+https://github.com/ar-agents/ar-agents.git","type":"git","directory":"packages/firma-digital"},"size-limit":[{"name":"ESM","path":"dist/index.js","limit":"20 KB","ignore":["node-forge"]},{"name":"CJS","path":"dist/index.cjs","limit":"20 KB","ignore":["node-forge"]}],"_npmVersion":"10.8.2","description":"Argentine Firma Digital (Ley 25.506 / ONTI) verification primitives as drop-in tools for the Vercel AI SDK. Parse X.509 certs, validate chains anchored at AC-Raíz Argentina, verify CMS/PKCS#7 detached signatures, extract CUIT from signer subject. Read-onl","directories":{},"_nodeVersion":"20.20.2","dependencies":{"node-forge":"^1.4.0","@ar-agents/core":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.175","zod":"^4.4.3","tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.9.3","@types/node":"^20.19.39","@types/node-forge":"^1.3.14"},"peerDependencies":{"ai":">=6.0.0","zod":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/firma-digital_0.2.0_1779728036566_0.9244646120776991","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@ar-agents/firma-digital","version":"0.2.1","keywords":["firma-digital","argentina","onti","ac-raiz","ley-25506","x509","pkcs7","cms","ai-sdk","vercel-ai","agent","agentic"],"author":{"name":"Nazareno Clemente","email":"naza@helloastro.co"},"license":"MIT","_id":"@ar-agents/firma-digital@0.2.1","maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"homepage":"https://github.com/ar-agents/ar-agents/tree/main/packages/firma-digital","bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"dist":{"shasum":"b41ae6901b1ee39dd906ca7190ed6c11acc7b0b2","tarball":"https://registry.npmjs.org/@ar-agents/firma-digital/-/firma-digital-0.2.1.tgz","fileCount":11,"integrity":"sha512-aBrmGB1cUo9VlASQ62vNOkRSM3L4VmXENalPfTFH7qR68ulBQuHxJ8Alt+npD5ZddqQkRSjAzfxzAvTn5nM6mA==","signatures":[{"sig":"MEUCIQDCZb4Ramw6yYWLXoAV7H5oG6F2UgaPMfAI2VsfUALybAIgTkwovu1/L9tnTIE9qTCgzfvOjrPjkeqok7MYZZDtOvU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":164700},"main":"./dist/index.cjs","type":"module","_from":"file:ar-agents-firma-digital-0.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/naza00000","type":"github"},"scripts":{"lint":"echo 'no lint configured yet'","size":"size-limit","test":"vitest run","build":"tsup","clean":"rm -rf dist","validate":"publint && attw --pack .","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"naza-ar","email":"clementenaza@gmail.com"},"_resolved":"/tmp/84fc201b5e729c02da9cd993dfe234fc/ar-agents-firma-digital-0.2.1.tgz","_integrity":"sha512-aBrmGB1cUo9VlASQ62vNOkRSM3L4VmXENalPfTFH7qR68ulBQuHxJ8Alt+npD5ZddqQkRSjAzfxzAvTn5nM6mA==","deprecated":"Older versions contained personal PII (test fixtures) and have been superseded. Upgrade to @ar-agents/firma-digital@>=0.2.3, rebuilt from scrubbed source. Removal of the old tarballs has been requested from npm support.","repository":{"url":"git+https://github.com/ar-agents/ar-agents.git","type":"git","directory":"packages/firma-digital"},"size-limit":[{"name":"ESM","path":"dist/index.js","limit":"20 KB","ignore":["node-forge"]},{"name":"CJS","path":"dist/index.cjs","limit":"20 KB","ignore":["node-forge"]}],"_npmVersion":"10.8.2","description":"Argentine Firma Digital (Ley 25.506 / ONTI) verification primitives as drop-in tools for the Vercel AI SDK. Parse X.509 certs, validate chains anchored at AC-Raíz Argentina, verify CMS/PKCS#7 detached signatures, extract CUIT from signer subject. Read-onl","directories":{},"_nodeVersion":"20.20.2","dependencies":{"node-forge":"^1.4.0","@ar-agents/core":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.175","zod":"^4.4.3","tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.9.3","@types/node":"^20.19.39","@types/node-forge":"^1.3.14"},"peerDependencies":{"ai":">=6.0.0","zod":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/firma-digital_0.2.1_1781269119719_0.45640444955718706","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@ar-agents/firma-digital","version":"0.2.2","keywords":["firma-digital","argentina","onti","ac-raiz","ley-25506","x509","pkcs7","cms","ai-sdk","vercel-ai","agent","agentic"],"author":{"name":"Nazareno Clemente","email":"naza@helloastro.co"},"license":"MIT","_id":"@ar-agents/firma-digital@0.2.2","maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"homepage":"https://github.com/ar-agents/ar-agents/tree/main/packages/firma-digital","bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"dist":{"shasum":"b62d94dff82a4428f9c795cd216177d9ad892d25","tarball":"https://registry.npmjs.org/@ar-agents/firma-digital/-/firma-digital-0.2.2.tgz","fileCount":11,"integrity":"sha512-16LLKWP6818iyiF5X9MRWV4CIB4qf4iguo/zDwRAtyYbC6x5rc9rTGzWvyi61ejnVimDyaCMYN/cmhMIdjNe6w==","signatures":[{"sig":"MEUCIQDLGdmJsthj9t6I5x2MpLQEsC7GJCjQXQQYkYEvtsK7oAIgXr2tWw0fU7EQhvtYHUgPqT31EhB2lxYxs1pe7BROeZo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":165621},"main":"./dist/index.cjs","type":"module","_from":"file:ar-agents-firma-digital-0.2.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/naza00000","type":"github"},"scripts":{"lint":"echo 'no lint configured yet'","size":"size-limit","test":"vitest run","build":"tsup","clean":"rm -rf dist","validate":"publint && attw --pack .","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"naza-ar","email":"clementenaza@gmail.com"},"_resolved":"/tmp/23b92d1ab8db6c001d879b643853e433/ar-agents-firma-digital-0.2.2.tgz","_integrity":"sha512-16LLKWP6818iyiF5X9MRWV4CIB4qf4iguo/zDwRAtyYbC6x5rc9rTGzWvyi61ejnVimDyaCMYN/cmhMIdjNe6w==","deprecated":"Older versions contained personal PII (test fixtures) and have been superseded. Upgrade to @ar-agents/firma-digital@>=0.2.3, rebuilt from scrubbed source. Removal of the old tarballs has been requested from npm support.","repository":{"url":"git+https://github.com/ar-agents/ar-agents.git","type":"git","directory":"packages/firma-digital"},"size-limit":[{"name":"ESM","path":"dist/index.js","limit":"20 KB","ignore":["node-forge"]},{"name":"CJS","path":"dist/index.cjs","limit":"20 KB","ignore":["node-forge"]}],"_npmVersion":"10.8.2","description":"Argentine Firma Digital (Ley 25.506 / ONTI) verification primitives as drop-in tools for the Vercel AI SDK. Parse X.509 certs, validate chains anchored at AC-Raíz Argentina, verify CMS/PKCS#7 detached signatures, extract CUIT from signer subject. Read-onl","directories":{},"_nodeVersion":"20.20.2","dependencies":{"node-forge":"^1.4.0","@ar-agents/core":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.175","zod":"^4.4.3","tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.9.3","@types/node":"^20.19.39","@types/node-forge":"^1.3.14"},"peerDependencies":{"ai":">=6.0.0","zod":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/firma-digital_0.2.2_1781280166405_0.18872140952011796","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@ar-agents/firma-digital","version":"0.2.3","keywords":["firma-digital","argentina","onti","ac-raiz","ley-25506","x509","pkcs7","cms","ai-sdk","vercel-ai","agent","agentic"],"author":{"name":"Nazareno Clemente","email":"naza@helloastro.co"},"license":"MIT","_id":"@ar-agents/firma-digital@0.2.3","maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"homepage":"https://github.com/ar-agents/ar-agents/tree/main/packages/firma-digital","bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"dist":{"shasum":"2c5b1e3c994cf861f790db1d90e9036b701c2fe5","tarball":"https://registry.npmjs.org/@ar-agents/firma-digital/-/firma-digital-0.2.3.tgz","fileCount":11,"integrity":"sha512-okPBj1eCKrQnqtDkW11OeKvWJQPR440OEegZQDM4KNoMcjzM7ey97Dy40Hd/vuUAY9HkEIERJENc/5IJKQp8Ug==","signatures":[{"sig":"MEQCIF57yYl8u5yEm0JjsnTH5/89QOIuRMIiCL4JwAl1KNMtAiB+mz3kzTLIZ3ixu9dJMLs3iwg28J6dx6/niYIFIeClrw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":165952},"main":"./dist/index.cjs","type":"module","_from":"file:ar-agents-firma-digital-0.2.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/naza00000","type":"github"},"scripts":{"lint":"echo 'no lint configured yet'","size":"size-limit","test":"vitest run","build":"tsup","clean":"rm -rf dist","validate":"publint && attw --pack .","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"naza-ar","email":"clementenaza@gmail.com"},"_resolved":"/tmp/0594a5e3245eda96066b9764d4e7a6f1/ar-agents-firma-digital-0.2.3.tgz","_integrity":"sha512-okPBj1eCKrQnqtDkW11OeKvWJQPR440OEegZQDM4KNoMcjzM7ey97Dy40Hd/vuUAY9HkEIERJENc/5IJKQp8Ug==","repository":{"url":"git+https://github.com/ar-agents/ar-agents.git","type":"git","directory":"packages/firma-digital"},"size-limit":[{"name":"ESM","path":"dist/index.js","limit":"20 KB","ignore":["node-forge"]},{"name":"CJS","path":"dist/index.cjs","limit":"20 KB","ignore":["node-forge"]}],"_npmVersion":"10.8.2","description":"Argentine Firma Digital (Ley 25.506 / ONTI) verification primitives as drop-in tools for the Vercel AI SDK. Parse X.509 certs, validate chains anchored at AC-Raíz Argentina, verify CMS/PKCS#7 detached signatures, extract CUIT from signer subject. Read-onl","directories":{},"_nodeVersion":"20.20.2","dependencies":{"node-forge":"^1.4.0","@ar-agents/core":"^0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.175","zod":"^4.4.3","tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.9.3","@types/node":"^20.19.39","@types/node-forge":"^1.3.14"},"peerDependencies":{"ai":">=6.0.0","zod":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/firma-digital_0.2.3_1782389695497_0.034697379460337796","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@ar-agents/firma-digital","version":"0.3.0","keywords":["firma-digital","argentina","onti","ac-raiz","ley-25506","x509","pkcs7","cms","ai-sdk","vercel-ai","agent","agentic"],"author":{"name":"Nazareno Clemente","email":"naza@helloastro.co"},"license":"MIT","_id":"@ar-agents/firma-digital@0.3.0","maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"homepage":"https://github.com/ar-agents/ar-agents/tree/main/packages/firma-digital","bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"dist":{"shasum":"ea980c1cf904f7297f4a0c4ed8ad6c3aad62da27","tarball":"https://registry.npmjs.org/@ar-agents/firma-digital/-/firma-digital-0.3.0.tgz","fileCount":11,"integrity":"sha512-Z6m24gdbOtc+fChLHUKM/ex8/11gnKS9A3MHV8QWcPak/rRdQiUks+YNEoMeTOqeUYLyVd8FHnISf5BWRrTHzw==","signatures":[{"sig":"MEYCIQCH4rlZQchKP0c2JrBrnkEYmw9AI/uonE3lJrYO35dJ5wIhAPtLmkEgkX+FVMfHNk45uWvjDR0NOf0YN9qkorGOy45j","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":188173},"main":"./dist/index.cjs","type":"module","_from":"file:ar-agents-firma-digital-0.3.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/naza00000","type":"github"},"scripts":{"lint":"echo 'no lint configured yet'","size":"size-limit","test":"vitest run","build":"tsup","clean":"rm -rf dist","validate":"publint && attw --pack .","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"naza-ar","email":"clementenaza@gmail.com"},"_resolved":"/tmp/bd6781157c6de91fa02a05b8ab6fbbd8/ar-agents-firma-digital-0.3.0.tgz","_integrity":"sha512-Z6m24gdbOtc+fChLHUKM/ex8/11gnKS9A3MHV8QWcPak/rRdQiUks+YNEoMeTOqeUYLyVd8FHnISf5BWRrTHzw==","repository":{"url":"git+https://github.com/ar-agents/ar-agents.git","type":"git","directory":"packages/firma-digital"},"size-limit":[{"name":"ESM","path":"dist/index.js","limit":"20 KB","ignore":["node-forge"]},{"name":"CJS","path":"dist/index.cjs","limit":"20 KB","ignore":["node-forge"]}],"_npmVersion":"10.9.8","description":"Argentine Firma Digital (Ley 25.506 / ONTI) verification primitives as drop-in tools for the Vercel AI SDK. Parse X.509 certs, validate chains anchored at AC-Raíz Argentina, verify CMS/PKCS#7 detached signatures, extract CUIT from signer subject. Read-onl","directories":{},"_nodeVersion":"22.23.0","dependencies":{"node-forge":"^1.4.0","@ar-agents/core":"^0.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^7.0.0","zod":"^4.4.3","tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.9.3","@types/node":"^20.19.39","@types/node-forge":"^1.3.14"},"peerDependencies":{"ai":">=6.0.0","zod":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/firma-digital_0.3.0_1782410129515_0.9233585781064075","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@ar-agents/firma-digital","version":"0.3.1","keywords":["firma-digital","argentina","onti","ac-raiz","ley-25506","x509","pkcs7","cms","ai-sdk","vercel-ai","agent","agentic"],"author":{"name":"Nazareno Clemente","email":"naza@helloastro.co"},"license":"MIT","_id":"@ar-agents/firma-digital@0.3.1","maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"homepage":"https://github.com/ar-agents/ar-agents/tree/main/packages/firma-digital","bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"dist":{"shasum":"77b5dca1dad5eb144a882ad6a39a7fe919d303a2","tarball":"https://registry.npmjs.org/@ar-agents/firma-digital/-/firma-digital-0.3.1.tgz","fileCount":11,"integrity":"sha512-cGKANWGeUWkV6BIAj05dkOs/j7xr6HFDmjXM1JwjA4QNcsvkuDOrnyr3UHq1U8sma2HTKE8pPTyABvNF0rN6Bg==","signatures":[{"sig":"MEUCIQCualDnh0VZob0FweULIIxWINt7u19cXLGYwt4/j7jxZwIgf/iPFtsJj3IbGd1DZYwLt1jSkXhxyTs5dK8g99NhteU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":188557},"main":"./dist/index.cjs","type":"module","_from":"file:ar-agents-firma-digital-0.3.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/naza00000","type":"github"},"scripts":{"lint":"echo 'no lint configured yet'","size":"size-limit","test":"vitest run","build":"tsup","clean":"rm -rf dist","validate":"publint && attw --pack .","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"naza-ar","email":"clementenaza@gmail.com"},"_resolved":"/tmp/17d86aafabc0a4cba8dd5a4e038219e4/ar-agents-firma-digital-0.3.1.tgz","_integrity":"sha512-cGKANWGeUWkV6BIAj05dkOs/j7xr6HFDmjXM1JwjA4QNcsvkuDOrnyr3UHq1U8sma2HTKE8pPTyABvNF0rN6Bg==","repository":{"url":"git+https://github.com/ar-agents/ar-agents.git","type":"git","directory":"packages/firma-digital"},"size-limit":[{"name":"ESM","path":"dist/index.js","limit":"20 KB","ignore":["node-forge"]},{"name":"CJS","path":"dist/index.cjs","limit":"20 KB","ignore":["node-forge"]}],"_npmVersion":"10.9.8","description":"Argentine Firma Digital (Ley 25.506 / ONTI) verification primitives as drop-in tools for the Vercel AI SDK. Parse X.509 certs, validate chains anchored at AC-Raíz Argentina, verify CMS/PKCS#7 detached signatures, extract CUIT from signer subject. Read-onl","directories":{},"_nodeVersion":"22.23.0","dependencies":{"node-forge":"^1.4.0","@ar-agents/core":"^0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^7.0.0","zod":"^4.4.3","tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.9.3","@types/node":"^20.19.39","@types/node-forge":"^1.3.14"},"peerDependencies":{"ai":">=6.0.0","zod":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/firma-digital_0.3.1_1782899908726_0.5659767700278964","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@ar-agents/firma-digital","version":"0.3.2","keywords":["firma-digital","argentina","onti","ac-raiz","ley-25506","x509","pkcs7","cms","ai-sdk","vercel-ai","agent","agentic"],"author":{"name":"Nazareno Clemente","email":"naza@naza.ar"},"license":"MIT","_id":"@ar-agents/firma-digital@0.3.2","maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"homepage":"https://github.com/ar-agents/ar-agents/tree/main/packages/firma-digital","bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"dist":{"shasum":"1b2b0952d71396face189cf3615f5509dbe41d7f","tarball":"https://registry.npmjs.org/@ar-agents/firma-digital/-/firma-digital-0.3.2.tgz","fileCount":11,"integrity":"sha512-5hbkXEUqlvChnjmUX/t3d29oeriemCCPYYWAhr1+SrvuP395JANV+jwUnGCGdt2r7XoZMY7l9hwMmbQFT6Jn5g==","signatures":[{"sig":"MEQCIGqkJDktdY5/MLao/dtoo4tO0ZPl4+yft1AXt9PJRdnTAiBNbqQCroaq3ORlmxioip668RWTCgTAsemaZGnKo7pizA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":189428},"main":"./dist/index.cjs","type":"module","_from":"file:ar-agents-firma-digital-0.3.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/naza00000","type":"github"},"scripts":{"lint":"echo 'no lint configured yet'","size":"size-limit","test":"vitest run","build":"tsup","clean":"rm -rf dist","validate":"publint && attw --pack .","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"naza-ar","email":"clementenaza@gmail.com"},"_resolved":"/tmp/672c8f8efac22d2e95aa05f27afea1b5/ar-agents-firma-digital-0.3.2.tgz","_integrity":"sha512-5hbkXEUqlvChnjmUX/t3d29oeriemCCPYYWAhr1+SrvuP395JANV+jwUnGCGdt2r7XoZMY7l9hwMmbQFT6Jn5g==","repository":{"url":"git+https://github.com/ar-agents/ar-agents.git","type":"git","directory":"packages/firma-digital"},"size-limit":[{"name":"ESM","path":"dist/index.js","limit":"20 KB","ignore":["node-forge"]},{"name":"CJS","path":"dist/index.cjs","limit":"20 KB","ignore":["node-forge"]}],"_npmVersion":"10.9.8","description":"Argentine Firma Digital (Ley 25.506 / ONTI) verification primitives as drop-in tools for the Vercel AI SDK. Parse X.509 certs, validate chains anchored at AC-Raíz Argentina, verify CMS/PKCS#7 detached signatures, extract CUIT from signer subject. Read-onl","directories":{},"_nodeVersion":"22.23.1","dependencies":{"node-forge":"~1.4.0","@ar-agents/core":"^0.3.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^7.0.0","zod":"^4.4.3","tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.9.3","@types/node":"^20.19.39","@types/node-forge":"^1.3.14"},"peerDependencies":{"ai":">=6.0.0","zod":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/firma-digital_0.3.2_1783069164928_0.8674317651697652","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@ar-agents/firma-digital","version":"0.3.3","description":"Argentine Firma Digital (Ley 25.506 / ONTI) verification primitives as drop-in tools for the Vercel AI SDK. Parse X.509 certs, validate chains anchored at AC-Raíz Argentina, verify CMS/PKCS#7 detached signatures, extract CUIT from signer subject. Read-onl","keywords":["firma-digital","argentina","onti","ac-raiz","ley-25506","x509","pkcs7","cms","ai-sdk","vercel-ai","agent","agentic"],"license":"MIT","author":{"name":"Nazareno Clemente","email":"naza@naza.ar"},"funding":{"type":"github","url":"https://github.com/sponsors/naza00000"},"homepage":"https://github.com/ar-agents/ar-agents/tree/main/packages/firma-digital","repository":{"type":"git","url":"git+https://github.com/ar-agents/ar-agents.git","directory":"packages/firma-digital"},"bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"size-limit":[{"name":"ESM","path":"dist/index.js","limit":"20 KB","ignore":["node-forge"]},{"name":"CJS","path":"dist/index.cjs","limit":"20 KB","ignore":["node-forge"]}],"peerDependencies":{"ai":">=6.0.0","zod":">=3.0.0"},"dependencies":{"node-forge":"~1.4.0","@ar-agents/core":"^0.4.0"},"devDependencies":{"@types/node":"^20.19.39","@types/node-forge":"^1.3.14","ai":"^7.0.0","tsup":"^8.3.5","typescript":"^5.9.3","vitest":"^2.1.8","zod":"^4.4.3"},"publishConfig":{"access":"public"},"engines":{"node":">=20.0.0"},"scripts":{"build":"tsup","test":"vitest run","test:watch":"vitest","test:coverage":"vitest run --coverage","typecheck":"tsc --noEmit","lint":"echo 'no lint configured yet'","validate":"publint && attw --pack .","size":"size-limit","clean":"rm -rf dist"},"_id":"@ar-agents/firma-digital@0.3.3","_integrity":"sha512-/B8rWyG3YkD4NNIDFV1+E0GXJoNU0cy/FmYBix6DiMODX+K0zmCLdOVsnq9rK2GuyOB2zoXQ90U7BfOGqc7qbw==","_resolved":"/tmp/980387e65b3764aec2f43e67b7e5bc7c/ar-agents-firma-digital-0.3.3.tgz","_from":"file:ar-agents-firma-digital-0.3.3.tgz","_nodeVersion":"22.23.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-/B8rWyG3YkD4NNIDFV1+E0GXJoNU0cy/FmYBix6DiMODX+K0zmCLdOVsnq9rK2GuyOB2zoXQ90U7BfOGqc7qbw==","shasum":"d7f405ab1e6783c87460d846872cdab0a810fb5e","tarball":"https://registry.npmjs.org/@ar-agents/firma-digital/-/firma-digital-0.3.3.tgz","fileCount":11,"unpackedSize":189610,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAc6o+SBfPHMb/GaoPuItePOXDR1axqPaub6R4nsDP1rAiEA2IGZ415QiegF/LdG15V+IGuwMwxc+Obt4bhld0XgLF0="}]},"_npmUser":{"name":"naza-ar","email":"clementenaza@gmail.com"},"directories":{},"maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/firma-digital_0.3.3_1783077262328_0.008724776637468068"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-08T17:39:10.191Z","modified":"2026-07-03T11:14:22.610Z","0.1.0":"2026-05-08T17:39:10.461Z","0.2.0":"2026-05-25T16:53:56.702Z","0.2.1":"2026-06-12T12:58:39.855Z","0.2.2":"2026-06-12T16:02:46.586Z","0.2.3":"2026-06-25T12:14:55.628Z","0.3.0":"2026-06-25T17:55:29.652Z","0.3.1":"2026-07-01T09:58:28.901Z","0.3.2":"2026-07-03T08:59:25.066Z","0.3.3":"2026-07-03T11:14:22.479Z"},"bugs":{"url":"https://github.com/ar-agents/ar-agents/issues"},"author":{"name":"Nazareno Clemente","email":"naza@naza.ar"},"license":"MIT","homepage":"https://github.com/ar-agents/ar-agents/tree/main/packages/firma-digital","keywords":["firma-digital","argentina","onti","ac-raiz","ley-25506","x509","pkcs7","cms","ai-sdk","vercel-ai","agent","agentic"],"repository":{"type":"git","url":"git+https://github.com/ar-agents/ar-agents.git","directory":"packages/firma-digital"},"description":"Argentine Firma Digital (Ley 25.506 / ONTI) verification primitives as drop-in tools for the Vercel AI SDK. Parse X.509 certs, validate chains anchored at AC-Raíz Argentina, verify CMS/PKCS#7 detached signatures, extract CUIT from signer subject. Read-onl","maintainers":[{"name":"naza-ar","email":"clementenaza@gmail.com"}],"readme":"# `@ar-agents/firma-digital`\n\n> Argentine Firma Digital (Ley 25.506 / ONTI) verification primitives as drop-in tools for the Vercel AI SDK 6.\n\n```bash\npnpm add @ar-agents/firma-digital ai zod\n```\n\nPart of the [`Arg`](https://ar-agents.ar) toolkit — open infrastructure for the Argentine AI agent jurisdiction.\n\n## What this gives you\n\n- **Parse X.509 certs** issued under AR Firma Digital and extract subject info, CUIT (when embedded), validity dates, public-key info.\n- **Verify cert chains** anchored at AC-Raíz Argentina / ONTI. Heuristic root detection (matches subject DN patterns) plus explicit trust-anchor pinning by fingerprint.\n- **Verify CMS / PKCS#7 detached signatures** over arbitrary payloads (e.g., `firma.p7s` produced by AR signing tools).\n- **Pure helpers** for AR-ONTI heuristic checks, exported standalone.\n\nThis package is for **VERIFICATION**, not signing. AR Firma Digital signing requires a hardware token (eToken, smartcard) or a managed-CSP service that exposes a remote-signing API — out of scope here.\n\n## Quick start\n\n```ts\nimport { Experimental_Agent as Agent, stepCountIs } from \"ai\";\nimport { firmaDigitalTools } from \"@ar-agents/firma-digital\";\n\nconst agent = new Agent({\n  model: \"anthropic/claude-sonnet-4-6\",\n  tools: firmaDigitalTools(),\n  stopWhen: stepCountIs(6),\n});\n\nconst { text } = await agent.generate({\n  prompt:\n    \"Tengo este cert PEM `-----BEGIN CERTIFICATE-----...`. ¿Es de Firma Digital argentina? ¿Quién es el titular?\",\n});\n```\n\n## Direct API\n\n```ts\nimport { parseCert, verifyChain, verifyDetachedCmsSignature } from \"@ar-agents/firma-digital\";\n\n// Parse a cert.\nconst cert = parseCert(pem);\nconsole.log(cert.commonName, cert.cuit, cert.isOntiIssued);\n\n// Verify a chain (leaf-first PEM bundle).\nconst result = verifyChain(chainPem);\nif (!result.valid) console.error(result.reason);\n\n// Verify a detached CMS signature (e.g., contents of firma.p7s).\nconst verified = verifyDetachedCmsSignature(p7sPem, payloadBytes);\nconsole.log(verified.valid, verified.signers[0]?.cert.cuit);\n```\n\n## Tool surface\n\n| Tool                          | Purpose                                                    |\n| ----------------------------- | ---------------------------------------------------------- |\n| `firma_inspect_cert`          | Parse one PEM cert → structured info.                      |\n| `firma_verify_chain`          | Validate a chain leaf → root anchored at AC-Raíz / ONTI.   |\n| `firma_is_onti_issued`        | Quick yes/no for \"AR Firma Digital\".                       |\n| `firma_verify_cms_signature`  | Verify a detached PKCS#7 over a base64 payload.            |\n\nSee [`AGENTS.md`](./AGENTS.md) for tool selection rules.\n\n## What this is NOT\n\n- **NOT a signing library.** Argentine Firma Digital signing requires hardware tokens or managed-CSP API.\n- **NOT a full PAdES verifier.** PAdES-LTV (timestamp-token validation, OCSP, CRL) is out of scope. For long-term-validity scenarios pair with a dedicated PDF library.\n- **NOT a TSL trust list resolver.** The package ships heuristic AR-ONTI matching plus explicit fingerprint pinning. Production callers should pass current AC-Raíz certs from [argentina.gob.ar/jefatura/innovacion-publica/ic/ac-raiz](https://www.argentina.gob.ar/jefatura/innovacion-publica/ic/ac-raiz).\n\n## License\n\nMIT © Nazareno Clemente\n","readmeFilename":"README.md"}