0.4.1 • Published 4 years ago

habanero v0.4.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

habanero

build status NPM

An experimental attempt-limiting, remote pepper provisioning protocol with a bundled Javascript implementation.

WARNING: This protocol has not been peer reviewed - use at your own risk.

Protocol

Example

let hb = require('habanero/server')
let e = Buffer.from(process.env.HABANERO_SECRET, 'ascii')

// ...
hb.get(e, commitment, P, queryCb, limitCb, (err, result) => {
	if (err) return res.status(500).end()
	if (result.limited) return res.status(403).end() // optional (information leak)
	if (!result.pepper) return res.status(401).end()

	res.status(200).json(result)
})

LICENSE MIT

0.4.1

4 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.5

6 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

8 years ago