{"id":28569381,"url":"https://github.com/instantwebp2p/nacl-cert","last_synced_at":"2026-04-08T14:31:29.822Z","repository":{"id":23451793,"uuid":"26815568","full_name":"InstantWebP2P/nacl-cert","owner":"InstantWebP2P","description":"AIoT NACL Certification System","archived":false,"fork":false,"pushed_at":"2022-12-31T04:32:15.000Z","size":481,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-06T01:07:47.938Z","etag":null,"topics":["aiot","cryptography","nacl","nacl-cert","security-protocol"],"latest_commit_sha":null,"homepage":"https://instantwebp2p.github.io/nacl-cert/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InstantWebP2P.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-18T15:28:42.000Z","updated_at":"2023-02-15T08:36:37.000Z","dependencies_parsed_at":"2023-01-13T23:19:29.787Z","dependency_job_id":null,"html_url":"https://github.com/InstantWebP2P/nacl-cert","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InstantWebP2P%2Fnacl-cert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InstantWebP2P%2Fnacl-cert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InstantWebP2P%2Fnacl-cert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InstantWebP2P%2Fnacl-cert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InstantWebP2P","download_url":"https://codeload.github.com/InstantWebP2P/nacl-cert/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InstantWebP2P%2Fnacl-cert/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259114721,"owners_count":22807255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aiot","cryptography","nacl","nacl-cert","security-protocol"],"created_at":"2025-06-10T17:14:45.158Z","updated_at":"2026-04-08T14:31:29.787Z","avatar_url":"https://github.com/InstantWebP2P.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"AIoT NaCL Cert System Specification based on TweetNaCL\n-------------------------------------------------\n\nNaCL Certification System\n\n\n### Certification file format as JSON consists of description and signature parts\n\n* Description object defined as below\n\n```js\n  {  \n      // common part or request part  \n        \"version\": string,       // version: '1.0'  \n           \"type\": string,       // type: 'self', 'ca'  \n            \"tte\": Date as ms,   // cert live time to expire from UTC 1970-01-01T00:00:00Z, ms  \n             \"ca\": string        // CA domain name, like appnet.link,  \n                                 // in case self-sign it MUST be filled in advance  \n      \"publickey\": byte array,   // NACL Box public key to sign with CA,  \n                                 // or Sign public key to sign by self  \n          \"names\": string array, // domain name to ask sign, ignore for self-sign cert  \n            \"ips\": string array, // domain ip address to ask sign, ignore for self-sign cert\n           \"macs\": string array, // domain mac address to ask sign, ignore for self-sign cert  \n              \n      // append fields when sign  \n            \"gid\": uuid string,  // cert global id: 16 bytes of uuid string  \n       \"signtime\": Date as ms,   // signed time as ms from UTC 1970-01-01T00:00:00Z  \n  }\n  ```\n\n* Signature object defined as below\n\n```js\n  {  \n      signature: byte array      // NACL signature  \n  }\n  ```\n  \n* Entire cert object defined as below\n```js\n  {  \n      desc: Description object,  \n      sign: Signature object  \n  }\n  ```\n\n### Cert request object defined as Common part of Description\n\n```js\nself-signed:  {  \n     // common part or request part  \n        \"version\": string,       // version: '1.0'  \n           \"type\": 'self',       // type: 'self'  \n            \"tte\": Date as ms,   // cert live time to expire from UTC 1970-01-01T00:00:00Z, ms  \n             \"ca\": string        // CA domain name, like appnet.link  \n      \"publickey\": byte array,   // NACL Sign public key to sign by self  \n  }  \n  \nca-signed:  {  \n     // common part or request part  \n        \"version\": string,       // version: '1.0'  \n           \"type\": 'ca',         // type: 'ca'  \n            \"tte\": Date as ms,   // cert live time to expire from UTC 1970-01-01T00:00:00Z, ms  \n             \"ca\": string        // CA domain name, like appnet.link  \n      \"publickey\": byte array,   // NACL box public key to sign\n        \n          \"names\": string array, // domain name to ask sign, ignore for self-sign cert      \n            \"ips\": string array, // domain ip address to ask sign, ignore for self-sign cert\n           \"macs\": string array, // domain mac address to ask sign, ignore for self-sign cert  \n  }\n  ```\n\n\u003cbr/\u003e\n\n\n### Reference implementations\n\n* [JS/NodeJS](https://github.com/InstantWebP2P/nacl-cert)\n* [Java/Android](https://github.com/InstantWebP2P/node-android/blob/master/app/src/main/java/com/iwebpp/crypto/NaclCert.java)\n\n### License\n(MIT)\n\nCopyright (c) 2014-present Tom Zhou(appnet.link@gmail.com)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstantwebp2p%2Fnacl-cert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finstantwebp2p%2Fnacl-cert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstantwebp2p%2Fnacl-cert/lists"}