{"_id":"@dooor-ai/trust","_rev":"15-ad0b0814dfe66286a33425d26f19df00","name":"@dooor-ai/trust","dist-tags":{"latest":"0.1.14"},"versions":{"0.1.0":{"name":"@dooor-ai/trust","version":"0.1.0","keywords":["dooor","tee","attestation","trust"],"author":{"name":"Dooor AI"},"license":"Apache-2.0","_id":"@dooor-ai/trust@0.1.0","maintainers":[{"name":"bruno353","email":"brunolsantos152@gmail.com"}],"dist":{"shasum":"99c6efcc5eda4040888d6f989a3c7343b1f23dc5","tarball":"https://registry.npmjs.org/@dooor-ai/trust/-/trust-0.1.0.tgz","fileCount":45,"integrity":"sha512-W/jnN4VRrqa5Jj3CvczhGGvzXvKzhwIeAmhA6mTrE6o0OhNbaDtNwdMnH3qJCNzifxT7l2ayFfl5Z1BaqCM9xg==","signatures":[{"sig":"MEQCIFXpsKA2auhMjvjqQQbwQIC+oibF64nhan+gvkgpkz1EAiBWjpqCEXJxBHQhbaAWxa2ZayuXotSI0fyR0wa2L5olgw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":287014},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"dfb6874878c0f7d1c29f8fbc61d45610f7a89a28","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"bruno353","email":"brunolsantos152@gmail.com"},"_npmVersion":"10.8.1","description":"TEE Attestation and Confidential Computing utilities for Dooor OS","directories":{},"_nodeVersion":"22.4.0","dependencies":{"jsonwebtoken":"^9.0.2","@google-cloud/kms":"^4.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.21","@types/jsonwebtoken":"^9.0.6"},"peerDependencies":{"express":"^4.18.0","@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0","@nestjs/swagger":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trust_0.1.0_1754423549730_0.5437407166458521","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@dooor-ai/trust","version":"0.1.1","keywords":["dooor","tee","attestation","trust"],"author":{"name":"Dooor AI"},"license":"Apache-2.0","_id":"@dooor-ai/trust@0.1.1","maintainers":[{"name":"bruno353","email":"brunolsantos152@gmail.com"}],"dist":{"shasum":"a055b7e18f1ff3f76fe5bbba394731ff7280ebc2","tarball":"https://registry.npmjs.org/@dooor-ai/trust/-/trust-0.1.1.tgz","fileCount":45,"integrity":"sha512-vn3bNuE1DWGsTtmVSERsEEKwy8iDMZGggGD09pRM9TtTN6MHG+tB6ghlQLtPdr4khpTA9fm0WZqo28y4dBV10g==","signatures":[{"sig":"MEUCIBHRtLmX4zK+HVt0UbkAOFyBTGxzY+aunhGh+jMruQvfAiEAhr0tfq3yXPoD5ClBOKIHqeZ8yrBH1at5UVHx3X0nrj4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":288475},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"dfb6874878c0f7d1c29f8fbc61d45610f7a89a28","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"bruno353","email":"brunolsantos152@gmail.com"},"_npmVersion":"10.8.1","description":"TEE Attestation and Confidential Computing utilities for Dooor OS","directories":{},"_nodeVersion":"22.4.0","dependencies":{"jsonwebtoken":"^9.0.2","@google-cloud/kms":"^4.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.21","@types/jsonwebtoken":"^9.0.6"},"peerDependencies":{"express":"^4.18.0","@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0","@nestjs/swagger":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trust_0.1.1_1754481901207_0.708209843185226","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@dooor-ai/trust","version":"0.1.2","keywords":["dooor","tee","attestation","trust"],"author":{"name":"Dooor AI"},"license":"Apache-2.0","_id":"@dooor-ai/trust@0.1.2","maintainers":[{"name":"bruno353","email":"brunolsantos152@gmail.com"}],"dist":{"shasum":"8127d8d8cd3dd02d8f2470397ae95e08840ecc53","tarball":"https://registry.npmjs.org/@dooor-ai/trust/-/trust-0.1.2.tgz","fileCount":45,"integrity":"sha512-SFRDHmdLf5GP578ZOSVrro9Wqr6yCKmwnP58C1IbU16NvwwKSmhAr48fKFlnY0Oknscgy+DQjvGxizivtteVlw==","signatures":[{"sig":"MEQCIHJdjFYcxMwdnGIvcAqb1VonXlumATPKOTuBUv3dTwh0AiBT1hCrwOCVESst81U0q57Zv0ID1xi8qFPIieHg0w5vsQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":286272},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"dfb6874878c0f7d1c29f8fbc61d45610f7a89a28","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"bruno353","email":"brunolsantos152@gmail.com"},"_npmVersion":"10.8.1","description":"TEE Attestation and Confidential Computing utilities for Dooor OS","directories":{},"_nodeVersion":"22.4.0","dependencies":{"jsonwebtoken":"^9.0.2","@google-cloud/kms":"^4.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.21","@types/jsonwebtoken":"^9.0.6"},"peerDependencies":{"express":"^4.18.0","@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0","@nestjs/swagger":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trust_0.1.2_1754483867742_0.2052301722704557","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@dooor-ai/trust","version":"0.1.3","keywords":["dooor","tee","attestation","trust"],"author":{"name":"Dooor AI"},"license":"Apache-2.0","_id":"@dooor-ai/trust@0.1.3","maintainers":[{"name":"bruno353","email":"brunolsantos152@gmail.com"}],"dist":{"shasum":"bb66a61bf98e1587c3d965bbe3292b6ba7904168","tarball":"https://registry.npmjs.org/@dooor-ai/trust/-/trust-0.1.3.tgz","fileCount":45,"integrity":"sha512-10TpnrUk5ogEHrHcIoDMhzgNBNQ1Df64NN1apWlAo5DE4fnJX3B8ynBYabwsdlNcY9jrafS6iFEGpfSCAl8nPg==","signatures":[{"sig":"MEYCIQDjnhJ23VLuUM8voOU2VutYzO9zfZbaEzNN6th1UpvhIwIhAO2Aa/N7qwXHFET/iFpD/mUiX1Rpp61qY5vjjGUsQxgl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":290000},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"dfb6874878c0f7d1c29f8fbc61d45610f7a89a28","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"bruno353","email":"brunolsantos152@gmail.com"},"_npmVersion":"10.8.1","description":"TEE Attestation and Confidential Computing utilities for Dooor OS","directories":{},"_nodeVersion":"22.4.0","dependencies":{"jsonwebtoken":"^9.0.2","@google-cloud/kms":"^5.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.13","@types/jsonwebtoken":"^9.0.6"},"peerDependencies":{"rxjs":"^7.2.0","express":"^4.17.1","@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trust_0.1.3_1754485978065_0.8020191971218538","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@dooor-ai/trust","version":"0.1.4","keywords":["dooor","tee","attestation","trust"],"author":{"name":"Dooor AI"},"license":"Apache-2.0","_id":"@dooor-ai/trust@0.1.4","maintainers":[{"name":"bruno353","email":"brunolsantos152@gmail.com"}],"dist":{"shasum":"45d4a323475158157ad5f67f915f89f9cd5d957b","tarball":"https://registry.npmjs.org/@dooor-ai/trust/-/trust-0.1.4.tgz","fileCount":45,"integrity":"sha512-ZST6SgplNT5m/z2st0OIDCuF2QY2j9Mwlq0CkS0MAj43db20xPeCP6qUlUvNcLbgLcGqia7e7RTE460YU5adGQ==","signatures":[{"sig":"MEUCIF9GzmzXkphgPR/aIvEvLbcQPUInae6G1XcjvzV1UfosAiEAx7Vh/VnGmLlHJJioUlRfrRmCb4QU+ob5RYtIfIMyWCE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":290108},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"dfb6874878c0f7d1c29f8fbc61d45610f7a89a28","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"bruno353","email":"brunolsantos152@gmail.com"},"_npmVersion":"10.8.1","description":"TEE Attestation and Confidential Computing utilities for Dooor OS","directories":{},"_nodeVersion":"22.4.0","dependencies":{"jsonwebtoken":"^9.0.2","@google-cloud/kms":"^5.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.13","@types/jsonwebtoken":"^9.0.6"},"peerDependencies":{"rxjs":"^7.2.0","express":"^4.17.1","@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trust_0.1.4_1754490139798_0.46845637675058005","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@dooor-ai/trust","version":"0.1.5","keywords":["dooor","tee","attestation","trust"],"author":{"name":"Dooor AI"},"license":"Apache-2.0","_id":"@dooor-ai/trust@0.1.5","maintainers":[{"name":"bruno353","email":"brunolsantos152@gmail.com"}],"dist":{"shasum":"494b9c1127d7e1f3b034e7e550d3000041327caf","tarball":"https://registry.npmjs.org/@dooor-ai/trust/-/trust-0.1.5.tgz","fileCount":45,"integrity":"sha512-TYitKQ+Sldgb0Dlf5sJgwNcvWjM0tMSLmGhYFAseTNINBb0EmhWhApN3PPV2RMYNv5xydkm3P089yJ+AX9losA==","signatures":[{"sig":"MEYCIQCa7VKItXvpMRm5vcbd1PDgLAvtQv86tNfyz6MDY0kyDgIhAMMcNGNI3mNh4HX2cieFMhFCCnpuKqACjQlvf72ejzv2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":290111},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"dfb6874878c0f7d1c29f8fbc61d45610f7a89a28","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"bruno353","email":"brunolsantos152@gmail.com"},"_npmVersion":"10.8.1","description":"TEE Attestation and Confidential Computing utilities for Dooor OS","directories":{},"_nodeVersion":"22.4.0","dependencies":{"jsonwebtoken":"^9.0.2","@google-cloud/kms":"^5.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.13","@types/jsonwebtoken":"^9.0.6"},"peerDependencies":{"rxjs":"^7.2.0","express":"^4.17.1","@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trust_0.1.5_1754490552282_0.1828835830354667","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@dooor-ai/trust","version":"0.1.6","keywords":["dooor","tee","attestation","trust"],"author":{"name":"Dooor AI"},"license":"Apache-2.0","_id":"@dooor-ai/trust@0.1.6","maintainers":[{"name":"bruno353","email":"brunolsantos152@gmail.com"}],"dist":{"shasum":"34b4a9debc665dde1cea6bfaf50b2568c80a9de9","tarball":"https://registry.npmjs.org/@dooor-ai/trust/-/trust-0.1.6.tgz","fileCount":45,"integrity":"sha512-y6YkhVPYwu62gdz1eGJoMZzLLKBm151QB2vV25EVLvmgilIqBUOZrQCJzrM/+QsRgM0etJiua5383E6qiqxUCw==","signatures":[{"sig":"MEUCIQD3ge+gBcO+L54zLo18PjuJTVrcGtHe2SrlD6a+yW57ygIgAKYa7ifU9HwWSX6R2ldmHBn+lPJN1KXMNjh9WnO6POw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":290232},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"dfb6874878c0f7d1c29f8fbc61d45610f7a89a28","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"bruno353","email":"brunolsantos152@gmail.com"},"_npmVersion":"10.8.1","description":"TEE Attestation and Confidential Computing utilities for Dooor OS","directories":{},"_nodeVersion":"22.4.0","dependencies":{"jsonwebtoken":"^9.0.2","@google-cloud/kms":"^5.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.13","@types/jsonwebtoken":"^9.0.6"},"peerDependencies":{"rxjs":"^7.2.0","express":"^4.17.1","@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trust_0.1.6_1754491434029_0.14871781127959016","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@dooor-ai/trust","version":"0.1.7","keywords":["dooor","tee","attestation","trust"],"author":{"name":"Dooor AI"},"license":"Apache-2.0","_id":"@dooor-ai/trust@0.1.7","maintainers":[{"name":"bruno353","email":"brunolsantos152@gmail.com"}],"dist":{"shasum":"bdc751cd97264529e3294c32e760726d8fd3f84c","tarball":"https://registry.npmjs.org/@dooor-ai/trust/-/trust-0.1.7.tgz","fileCount":48,"integrity":"sha512-5EOCsHHT1rZDeqzw2KjrzrTywzhQAoGAlow2jEnK4AMcdV35KKgrPIWw+ok9jww7Asq9osKf5PigTjnY8F3ycA==","signatures":[{"sig":"MEUCIQDsPD1UGfyirOls3x5Ed3LKux1NGgeixdDIz+du8bODkwIgKea2s+75cMZOWXmLIoNTLtc6TTnl8WkSdavDzVUOQO4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":247006},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"dfb6874878c0f7d1c29f8fbc61d45610f7a89a28","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"bruno353","email":"brunolsantos152@gmail.com"},"_npmVersion":"10.8.1","description":"TEE Attestation and Confidential Computing utilities for Dooor OS","directories":{},"_nodeVersion":"22.4.0","dependencies":{"jsonwebtoken":"^9.0.2","@google-cloud/kms":"^5.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.13","@types/jsonwebtoken":"^9.0.6"},"peerDependencies":{"rxjs":"^7.2.0","express":"^4.17.1","@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trust_0.1.7_1754501516747_0.896163656434686","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@dooor-ai/trust","version":"0.1.8","keywords":["dooor","tee","attestation","trust"],"author":{"name":"Dooor AI"},"license":"Apache-2.0","_id":"@dooor-ai/trust@0.1.8","maintainers":[{"name":"bruno353","email":"brunolsantos152@gmail.com"}],"dist":{"shasum":"3a8bd383bb9151e64b04a7b15aac9a63ed91446c","tarball":"https://registry.npmjs.org/@dooor-ai/trust/-/trust-0.1.8.tgz","fileCount":51,"integrity":"sha512-FqvhNHfDIh8ktslATws1xBKz0ybagokqhwsCrVpM36fAkYk9Q39pEbiZDvofOI0LekHHn3AV66zwkDv6IU6Pkg==","signatures":[{"sig":"MEYCIQC0o98UonK/joxg1175N+XNKP7Tu7ayxan6wBsPNYdzZQIhAPzYAjNTgZd1t4U6Wuoc4qKKck8uyMIRiVXX9WIwt3xG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":254236},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"dfb6874878c0f7d1c29f8fbc61d45610f7a89a28","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"bruno353","email":"brunolsantos152@gmail.com"},"_npmVersion":"10.8.1","description":"TEE Attestation and Confidential Computing utilities for Dooor OS","directories":{},"_nodeVersion":"22.4.0","dependencies":{"jsonwebtoken":"^9.0.2","@google-cloud/kms":"^5.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.13","@types/jsonwebtoken":"^9.0.6"},"peerDependencies":{"rxjs":"^7.2.0","express":"^4.17.1","@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trust_0.1.8_1754502293877_0.41646393529840986","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@dooor-ai/trust","version":"0.1.9","keywords":["dooor","tee","attestation","trust"],"author":{"name":"Dooor AI"},"license":"Apache-2.0","_id":"@dooor-ai/trust@0.1.9","maintainers":[{"name":"bruno353","email":"brunolsantos152@gmail.com"}],"dist":{"shasum":"14492d282ea66c3356666dfebdc4854697f14167","tarball":"https://registry.npmjs.org/@dooor-ai/trust/-/trust-0.1.9.tgz","fileCount":51,"integrity":"sha512-46pvCrjnSIsWDrcfVCVRgBZ8MIfiznJeXp5ar+F0kUD3E+TVMvP+jN8I24WQHpjV4mEuMLG+cnR4VzivFVISUQ==","signatures":[{"sig":"MEUCIQDk5OrdKPGtvSZhBnjl/V+2F6Pd4AZUgSm9vKapVem06QIgHQoxXmSNo0qNRYn7i3I7sPEaqNTWQD9Mt8hXVYFIhAY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":275613},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"dfb6874878c0f7d1c29f8fbc61d45610f7a89a28","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"bruno353","email":"brunolsantos152@gmail.com"},"_npmVersion":"10.8.1","description":"TEE Attestation and Confidential Computing utilities for Dooor OS","directories":{},"_nodeVersion":"22.4.0","dependencies":{"jsonwebtoken":"^9.0.2","@google-cloud/kms":"^5.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.13","@types/jsonwebtoken":"^9.0.6"},"peerDependencies":{"rxjs":"^7.2.0","express":"^4.17.1","@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trust_0.1.9_1754690996111_0.21098973141995048","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"@dooor-ai/trust","version":"0.1.10","keywords":["dooor","tee","attestation","trust"],"author":{"name":"Dooor AI"},"license":"Apache-2.0","_id":"@dooor-ai/trust@0.1.10","maintainers":[{"name":"bruno353","email":"brunolsantos152@gmail.com"}],"dist":{"shasum":"439f15e86f779784ae3485d3156922ddf68cebf3","tarball":"https://registry.npmjs.org/@dooor-ai/trust/-/trust-0.1.10.tgz","fileCount":51,"integrity":"sha512-+U1AzWi9NYG/NrolFX4nY2I+elq9gsjg2bEfwh+5R4YXHVjzy28aKT1CHX1UfL+cs0oF+hitN4Odwlo6ojwYTQ==","signatures":[{"sig":"MEUCIQDANECjDwSxrpOkA6dMUr5oB8+ao4o20TqaxiDeei7G6wIgLrztZHJTR3XZ8w8GxSgufiZLE2gHLq8b/jNMvXx5+t0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":275614},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"dfb6874878c0f7d1c29f8fbc61d45610f7a89a28","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"bruno353","email":"brunolsantos152@gmail.com"},"_npmVersion":"10.8.1","description":"TEE Attestation and Confidential Computing utilities for Dooor OS","directories":{},"_nodeVersion":"22.4.0","dependencies":{"jsonwebtoken":"^9.0.2","@google-cloud/kms":"^5.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.13","@types/jsonwebtoken":"^9.0.6"},"peerDependencies":{"rxjs":"^7.2.0","express":"^4.17.1","@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trust_0.1.10_1754693936660_0.9925260758705368","host":"s3://npm-registry-packages-npm-production"}},"0.1.11":{"name":"@dooor-ai/trust","version":"0.1.11","keywords":["dooor","tee","attestation","trust"],"author":{"name":"Dooor AI"},"license":"Apache-2.0","_id":"@dooor-ai/trust@0.1.11","maintainers":[{"name":"bruno353","email":"brunolsantos152@gmail.com"}],"dist":{"shasum":"5258f47b6de2c2e8ffa52b6be00ef1fbb4ce0246","tarball":"https://registry.npmjs.org/@dooor-ai/trust/-/trust-0.1.11.tgz","fileCount":51,"integrity":"sha512-ETWnVFoqRKy9n8KfGkkel39w4q5NPJNM0N6uILg/NfB8dRlMpsLipEQHvRS0djUhh0otbUhL5JdnX0SgI+pCmg==","signatures":[{"sig":"MEYCIQCsgDmeN3u6v4vvNdJv5A9vSg+cEGRdteR1lyKRE+2mUwIhALw66taYC85F1ZeSvD8WMbO0L74ppnVWnsw1ZGLXGxjQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":275614},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"dfb6874878c0f7d1c29f8fbc61d45610f7a89a28","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"bruno353","email":"brunolsantos152@gmail.com"},"_npmVersion":"10.8.1","description":"TEE Attestation and Confidential Computing utilities for Dooor OS","directories":{},"_nodeVersion":"22.4.0","dependencies":{"jsonwebtoken":"^9.0.2","@google-cloud/kms":"^5.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.13","@types/jsonwebtoken":"^9.0.6"},"peerDependencies":{"rxjs":"^7.2.0","express":"^4.17.1","@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trust_0.1.11_1754700325282_0.7387979023732005","host":"s3://npm-registry-packages-npm-production"}},"0.1.12":{"name":"@dooor-ai/trust","version":"0.1.12","keywords":["dooor","tee","attestation","trust"],"author":{"name":"Dooor AI"},"license":"Apache-2.0","_id":"@dooor-ai/trust@0.1.12","maintainers":[{"name":"bruno353","email":"brunolsantos152@gmail.com"}],"dist":{"shasum":"090063f5ed42d945cd91b0ea8e20fb6ba440d393","tarball":"https://registry.npmjs.org/@dooor-ai/trust/-/trust-0.1.12.tgz","fileCount":51,"integrity":"sha512-L041LXPbotpgDtCeM7CJJB3n1Le2usIAaaJFa2cRX/LeU36Ex5PkgpTDCLBg7ulhuZubpwwhe1wV0w07L0647w==","signatures":[{"sig":"MEUCIQCmFKtR5NVba3kcIqB9p2HY/dnqC9wodmi5rMrKeTbz5AIgInpTUoOJuM8FxuG+CdZY+SkhjA8fP5ObkHezgB/AODo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":303585},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"dfb6874878c0f7d1c29f8fbc61d45610f7a89a28","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"bruno353","email":"brunolsantos152@gmail.com"},"_npmVersion":"10.8.1","description":"TEE Attestation and Confidential Computing utilities for Dooor OS","directories":{},"_nodeVersion":"22.4.0","dependencies":{"jsonwebtoken":"^9.0.2","@google-cloud/kms":"^5.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.13","@types/jsonwebtoken":"^9.0.6"},"peerDependencies":{"rxjs":"^7.2.0","express":"^4.17.1","@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trust_0.1.12_1754917329937_0.6450879572996426","host":"s3://npm-registry-packages-npm-production"}},"0.1.13":{"name":"@dooor-ai/trust","version":"0.1.13","keywords":["dooor","tee","attestation","trust"],"author":{"name":"Dooor AI"},"license":"Apache-2.0","_id":"@dooor-ai/trust@0.1.13","maintainers":[{"name":"bruno353","email":"brunolsantos152@gmail.com"}],"dist":{"shasum":"a362c800fd8cdc519f18674e0e4372f2dcdaffac","tarball":"https://registry.npmjs.org/@dooor-ai/trust/-/trust-0.1.13.tgz","fileCount":51,"integrity":"sha512-pT/JoJZwA2MZfQVKVtDVuLHWym1Nr/yBRzW5cEv6xzgBwJwP94fE+FHBvNpkLh9d4Ttd2fnxh7EUtkIqbfQgkQ==","signatures":[{"sig":"MEUCIQCoTQ1eWRok02yqKvA7aPSgUq47N/F5MlOJL0uCojEt/QIgQGq0IZ7y/Ezp8HQf04dlRouuh7fiJ+wO3EVmgCY9hnE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":306322},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"dfb6874878c0f7d1c29f8fbc61d45610f7a89a28","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"bruno353","email":"brunolsantos152@gmail.com"},"_npmVersion":"10.8.1","description":"TEE Attestation and Confidential Computing utilities for Dooor OS","directories":{},"_nodeVersion":"22.4.0","dependencies":{"jsonwebtoken":"^9.0.2","@google-cloud/kms":"^5.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.13","@types/jsonwebtoken":"^9.0.6"},"peerDependencies":{"rxjs":"^7.2.0","express":"^4.17.1","@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trust_0.1.13_1754934032586_0.11356133511152411","host":"s3://npm-registry-packages-npm-production"}},"0.1.14":{"name":"@dooor-ai/trust","version":"0.1.14","private":false,"description":"TEE Attestation and Confidential Computing utilities for Dooor OS","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"build":"tsc"},"keywords":["dooor","tee","attestation","trust"],"author":{"name":"Dooor AI"},"license":"Apache-2.0","publishConfig":{"access":"public"},"dependencies":{"@google-cloud/kms":"^5.1.0","jsonwebtoken":"^9.0.2"},"peerDependencies":{"@nestjs/common":"^10.0.0","@nestjs/core":"^10.0.0","express":"^4.17.1","rxjs":"^7.2.0"},"devDependencies":{"@types/express":"^4.17.13","@types/jsonwebtoken":"^9.0.6"},"_id":"@dooor-ai/trust@0.1.14","gitHead":"dfb6874878c0f7d1c29f8fbc61d45610f7a89a28","_nodeVersion":"22.4.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-4ecpexywJDiBq9Pk5wxivAdFgmK/APtwSLdGDJ/ADgzI/kYfFA303afJdnWfIN4K8hCKp/YzQ/qDVS8Z0/QsOA==","shasum":"e92b487d1b85c76f5656bb79561eb09b83e9ce63","tarball":"https://registry.npmjs.org/@dooor-ai/trust/-/trust-0.1.14.tgz","fileCount":51,"unpackedSize":309152,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF3M/MCmn9uo8YtekPmHf+PpZrSjfeAXGSQImL2nRsyfAiEA9oNlIGuPxnE2jcblAnEOSIVhsv3xBkiNou6b/weD62E="}]},"_npmUser":{"name":"bruno353","email":"brunolsantos152@gmail.com"},"directories":{},"maintainers":[{"name":"bruno353","email":"brunolsantos152@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/trust_0.1.14_1754934314738_0.9420524802812333"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-05T19:52:29.630Z","modified":"2025-08-11T17:45:15.089Z","0.1.0":"2025-08-05T19:52:30.004Z","0.1.1":"2025-08-06T12:05:01.416Z","0.1.2":"2025-08-06T12:37:47.944Z","0.1.3":"2025-08-06T13:12:58.335Z","0.1.4":"2025-08-06T14:22:19.984Z","0.1.5":"2025-08-06T14:29:12.467Z","0.1.6":"2025-08-06T14:43:54.321Z","0.1.7":"2025-08-06T17:31:56.962Z","0.1.8":"2025-08-06T17:44:54.075Z","0.1.9":"2025-08-08T22:09:56.360Z","0.1.10":"2025-08-08T22:58:56.989Z","0.1.11":"2025-08-09T00:45:25.522Z","0.1.12":"2025-08-11T13:02:10.120Z","0.1.13":"2025-08-11T17:40:32.799Z","0.1.14":"2025-08-11T17:45:14.904Z"},"author":{"name":"Dooor AI"},"license":"Apache-2.0","keywords":["dooor","tee","attestation","trust"],"description":"TEE Attestation and Confidential Computing utilities for Dooor OS","maintainers":[{"name":"bruno353","email":"brunolsantos152@gmail.com"}],"readme":"# @dooor-ai/trust\n\n[![NPM version](https://img.shields.io/npm/v/@dooor-ai/trust.svg)](https://www.npmjs.com/package/@dooor-ai/trust)\n[![License](https://img.shields.io/npm/l/@dooor-ai/trust.svg)](https://github.com/Dooor-AI/dooor-js-sdk/blob/main/LICENSE)\n\nPart of the **Dooor OS**, the `@dooor-ai/trust` library provides essential utilities for Trusted Execution Environment (TEE) attestation and confidential computing within Node.js applications. It allows you to easily expose TEE-specific endpoints for health checks and token attestation, ensuring that your workloads are running in a verified, secure environment.\n\nThis package is designed to be lightweight and easy to integrate, with a focus on providing a seamless developer experience for both NestJS and other Node.js frameworks.\n\n## Features\n\n-   **TEE Attestation Endpoints**: Quickly expose `/health` and `/token` endpoints for TEE verification.\n-   **Framework Agnostic Core**: Core logic is framework-independent, allowing for use in any Node.js project.\n-   **Simple NestJS Integration**: A one-line `attachToNest` function to integrate with any NestJS application.\n-   **Loopback Security**: Enforces that attestation requests come from the local machine by default, a common security practice for TEEs.\n-   **Zero Dependencies**: The core logic has zero external dependencies, keeping your application lean.\n\n## Installation\n\n```bash\nnpm install @dooor-ai/trust\n```\n\n## Quick Start: NestJS Integration\n\nThe easiest way to use `@dooor-ai/trust` in a NestJS project is with the `attachToNest` helper function. It automatically detects your HTTP adapter (Express or Fastify) and registers the necessary routes.\n\n**1. Update your `main.ts`**\n\nIn your main application file (`src/main.ts`), import and call `attachToNest` right after you create your Nest app instance.\n\n```typescript\n// src/main.ts\nimport { NestFactory } from '@nestjs/core';\nimport { AppModule } from './app.module';\nimport { attachToNest } from '@dooor-ai/trust'; // 1. Import the helper\n\nasync function bootstrap() {\n  const app = await NestFactory.create(AppModule);\n\n  // 2. Attach the TEE routes before listening\n  attachToNest(app, {\n    prefix: '/__attestation',      // Optional: The base path for TEE routes\n    audience: 'my-workload-id',    // Required: A unique identifier for your workload\n    requireLoopback: true,         // Optional (default: true): Enforce requests come from 127.0.0.1\n  });\n\n  await app.listen(process.env.PORT || 8080);\n}\nbootstrap();\n```\n\n**2. That's it!**\n\nYour application will now expose the following endpoints:\n\n-   `GET /__attestation/tee/health`: A simple health check endpoint.\n-   `POST /__attestation/tee/token`: The main attestation endpoint.\n\n### How it Works\n\nThe `attachToNest` function adds a few raw routes to the underlying HTTP adapter (Express or Fastify) *before* the application starts listening for requests. This is a lightweight way to add functionality without creating a full NestJS module.\n\nBecause these routes are not full NestJS controllers, they **do not** participate in the standard NestJS lifecycle (e.g., they will not trigger global guards, pipes, or interceptors). This is intentional, as these endpoints are typically meant for internal, infrastructure-level communication.\n\n## Configuration\n\nThe `attachToNest` function accepts the following options:\n\n| Option            | Type      | Default             | Description                                                                                             |\n| ----------------- | --------- | ------------------- | ------------------------------------------------------------------------------------------------------- |\n| `audience`        | `string`  | **Required**        | A unique identifier for your application workload. This is used as the `aud` claim in the attestation JWT. |\n| `prefix`          | `string`  | `\"/__attestation\"`  | The base path under which the TEE routes (`/tee/health`, `/tee/token`) will be registered.              |\n| `requireLoopback` | `boolean` | `true`              | If `true`, rejects any request that does not originate from a loopback IP address (`127.0.0.1` or `::1`). |\n| `tokenType`       | `'PKI' , 'OIDC'` | `'PKI'`             | The type of token to request from the TEE environment.                                                  |\n\n## License\n\nThis project is licensed under the Apache-2.0 License. ","readmeFilename":"README.md"}