Aaron Dufour
1556427b39
tests for not passing opt
...
we just want those to not throw an error,
which is why there's no assertions
2014-09-12 16:11:30 -04:00
freewil
3873e43f39
replace expresso with mocha
2014-04-07 03:22:46 -07:00
Guy Halford-Thompson
13865d89d5
Fixed issue causing negative counter values to be rejected
2012-06-13 17:38:47 +00:00
Roman Shtylman
cfa2ecddb1
rework api
...
make two subobjects `hotp` and `totp` with gen and verify methods
2012-06-01 00:33:55 -04:00
Roman Shtylman
9344bad009
rename arguments
...
There is no need for single letter arguments, they just make reading the
code more confusing. The spec uses them to avoid typing longer words all
over the place but we don't have as much code to produce.
- P -> token
- W -> window
- K -> key
- C -> counter
- T -> time
2012-06-01 00:04:21 -04:00
Roman Shtylman
cf96266a20
code cleanup
...
- remove callbacks (functions are sync)
- update tests for removed callbacks
- minimize some code duplication
2012-05-31 23:40:34 -04:00
Roman Shtylman
4475c95ecb
remove err
argument from functions
...
It was never used and is not really the node.js way to do things.
2012-05-31 19:03:58 -04:00
Guy Halford-Thompson
dac00027c4
Commit for version 1.1.2
2011-10-02 18:08:30 -07:00