{"id":16811913,"url":"https://github.com/dcousens/habanero","last_synced_at":"2026-05-17T21:02:36.551Z","repository":{"id":57260085,"uuid":"107204727","full_name":"dcousens/habanero","owner":"dcousens","description":"An attempt-limiting, remote pepper provisioning protocol with a bundled Javascript implementation.","archived":false,"fork":false,"pushed_at":"2023-10-21T09:07:44.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-26T17:23:07.495Z","etag":null,"topics":["crypto","cryptograph","derivation","hmac","javascript","kdf","key","node","pepper","salt"],"latest_commit_sha":null,"homepage":"","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/dcousens.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,"governance":null}},"created_at":"2017-10-17T01:55:56.000Z","updated_at":"2023-09-06T10:12:51.000Z","dependencies_parsed_at":"2022-08-25T01:31:43.081Z","dependency_job_id":"872d3540-ead7-450f-9eca-4cd66de2db8b","html_url":"https://github.com/dcousens/habanero","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcousens%2Fhabanero","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcousens%2Fhabanero/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcousens%2Fhabanero/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcousens%2Fhabanero/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcousens","download_url":"https://codeload.github.com/dcousens/habanero/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244022724,"owners_count":20385134,"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":["crypto","cryptograph","derivation","hmac","javascript","kdf","key","node","pepper","salt"],"created_at":"2024-10-13T10:20:03.165Z","updated_at":"2026-05-17T21:02:31.511Z","avatar_url":"https://github.com/dcousens.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# habanero\n[![build status](https://secure.travis-ci.org/dcousens/habanero.png)](http://travis-ci.org/dcousens/habanero)\n[![NPM](https://img.shields.io/npm/v/habanero.svg)](https://www.npmjs.org/package/habanero)\n\nAn experimental attempt-limiting, remote pepper provisioning protocol with a bundled Javascript implementation.\n\n### WARNING: This protocol has not been peer reviewed - use at your own risk.\n\n\n## [Protocol](PROTOCOL.md)\n\n## Example\n``` javascript\n```\n\n``` javascript\nlet hb = require('habanero/server')\nlet e = Buffer.from(process.env.HABANERO_SECRET, 'ascii')\n\n// ...\nhb.get(e, commitment, P, queryCb, limitCb, (err, result) =\u003e {\n\tif (err) return res.status(500).end()\n\tif (result.limited) return res.status(403).end() // optional (information leak)\n\tif (!result.pepper) return res.status(401).end()\n\n\tres.status(200).json(result)\n})\n```\n\n## LICENSE [MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcousens%2Fhabanero","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcousens%2Fhabanero","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcousens%2Fhabanero/lists"}