AJ ONeal
|
eb1d1a5f0e
|
use Date.now() instead of new Date().getTime()
For more idiomatic JavaScript.
|
2015-10-06 14:46:49 -07:00 |
|
Guy Halford-Thompson
|
2805ca2647
|
Merge pull request #26 from tonylukasavage/patch-2
fix readme.md markdown so it renders properly on npmjs.com
|
2015-08-07 11:49:18 -07:00 |
|
Guy Halford-Thompson
|
3db472249f
|
Merge pull request #27 from homakov/patch-1
Fix bug when v is < 1000000 and substr fails
|
2015-08-07 11:48:56 -07:00 |
|
Egor Homakov
|
1ca7eb1739
|
Fix bug when v is < 1000000 and substr fails
For v less 1m e.g. 12345 previous code would try to get substr(-1,6). This happens once in 2130 attempts.
|
2015-08-05 22:41:47 +03:00 |
|
Tony Lukasavage
|
1b9470c6ea
|
fix readme.md markdown so it renders properly on npmjs.com
|
2015-07-15 09:09:12 -04:00 |
|
Guy Halford-Thompson
|
ce0175437a
|
Merge pull request #25 from tonylukasavage/patch-1
remove unnecessary semicolon
|
2015-05-05 13:01:58 -07:00 |
|
Tony Lukasavage
|
39d027fd0b
|
remove unnecessary semicolon
|
2015-05-05 15:53:56 -04:00 |
|
Guy Halford-Thompson
|
6fb90e522c
|
Merge pull request #24 from sdenel/patch-2
Update index.js
|
2015-04-14 09:38:02 -07:00 |
|
Simon DENEL
|
14a4fdf7fd
|
Update index.js
A little optimization trick: hex.length will not change, so we can avoid to evaluate it each time we loop.
|
2015-04-11 15:42:28 +02:00 |
|
Guy Halford-Thompson
|
10305efe0c
|
Merge pull request #23 from damianb/patch-1
Update Google Authenticator links
|
2015-03-16 22:46:59 -07:00 |
|
Damian Bushong
|
14179caf4d
|
Update Google Authenticator links
Google Authenticator has moved to github; this pr reflects the move and the updated URIs.
|
2015-03-16 18:24:21 -05:00 |
|
Guy Halford-Thompson
|
ba0a67b926
|
Merge pull request #22 from sdenel/patch-1
Update Readme.md
|
2015-03-11 14:54:22 -07:00 |
|
Simon DENEL
|
dff3563b56
|
Update Readme.md
|
2015-03-11 19:51:35 +01:00 |
|
Guy Halford-Thompson
|
fec9bf31d3
|
Merge pull request #20 from one-time-password/master
add thirty-two to dev-dependencies
|
2014-11-06 09:39:58 -08:00 |
|
alfred sang
|
c5b8e541bd
|
add thirty-two to dev-dependencies
|
2014-11-06 19:37:19 +08:00 |
|
Guy Halford-Thompson
|
e34d1b937b
|
Bump release to 2.0.3
|
2014-10-13 17:14:56 -07:00 |
|
Guy Halford-Thompson
|
266e0f3ece
|
Merge pull request #17 from thedufer/master
Make `opt` optional, as the docs describe
|
2014-10-13 17:13:12 -07:00 |
|
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 |
|
Aaron Dufour
|
a653c7e624
|
default opt to {} where appropriate
|
2014-09-12 16:08:20 -04:00 |
|
Guy Halford-Thompson
|
66f1f0fe3f
|
Merge pull request #15 from martinvl/master
Fixed issue with hash algorithm using Browserify
|
2014-09-03 10:06:36 -07:00 |
|
Martin Vonheim Larsen
|
22e48620d1
|
Fixed issue with hash algorithm using Browserify
Fixes #14.
|
2014-08-23 12:32:08 +02:00 |
|
Guy Halford-Thompson
|
1aed728dd4
|
Merge pull request #13 from aw/google-authenticator
Replace the equal signs in base32 string
|
2014-08-12 09:49:09 -07:00 |
|
Alex Williams
|
1662edf203
|
Replace the equal signs in base32 string
|
2014-08-11 10:23:28 +00:00 |
|
Guy Halford-Thompson
|
3c9391bc36
|
Merge pull request #12 from fuzzie360/master
Make verify() follow the specs and actually return null on failure
|
2014-06-12 16:03:26 -07:00 |
|
Fazli Sapuan
|
0154ab839b
|
Make verify() follow the specs and return null
|
2014-06-09 13:58:19 +08:00 |
|
Guy Halford-Thompson
|
d10c328292
|
Merge pull request #9 from freewil/throw-time-overwrite
throw if trying to overwrite time in non-test env
|
2014-04-09 09:08:57 -07:00 |
|
Guy Halford-Thompson
|
37d2ea17f8
|
Pushing version 2.0.2
|
2014-04-08 22:43:03 -07:00 |
|
Guy Halford-Thompson
|
b3431b264d
|
Merge pull request #8 from freewil/modernize
Modernize
2.0.2
|
2014-04-08 22:37:32 -07:00 |
|
freewil
|
f53ba3822c
|
throw if trying to overwrite time in non-test env
|
2014-04-07 04:15:49 -07:00 |
|
freewil
|
3873e43f39
|
replace expresso with mocha
|
2014-04-07 03:22:46 -07:00 |
|
freewil
|
caf0093c2c
|
remove node v0.4.x support
|
2014-04-07 03:22:46 -07:00 |
|
Guy Halford-Thompson
|
34cc6a605a
|
Merge pull request #6 from jpf/master
I fixed up the documentation a little bit.
|
2013-03-27 17:33:21 -07:00 |
|
Joël Franusic
|
e977ceaa68
|
minor documentation changes
|
2013-03-27 17:23:07 -07:00 |
|
Guy Halford-Thompson
|
a13cb6b281
|
Version bump
2.0.1
|
2012-06-13 17:39:01 +00:00 |
|
Guy Halford-Thompson
|
13865d89d5
|
Fixed issue causing negative counter values to be rejected
|
2012-06-13 17:38:47 +00:00 |
|
Guy Halford-Thompson
|
b889c99a1e
|
Updated example to work with new API. Fixes issue #4
|
2012-06-13 17:38:17 +00:00 |
|
Guy Halford-Thompson
|
ff3803e2f4
|
Added new example
|
2012-06-13 17:37:46 +00:00 |
|
Guy Halford-Thompson
|
c648b800a4
|
Version bump
2.0.0
|
2012-06-07 01:43:41 -07:00 |
|
Guy Halford-Thompson
|
a0199e3b7e
|
Merge branch 'master' of github.com:guyht/notp
|
2012-06-04 05:33:20 -07:00 |
|
Guy Halford-Thompson
|
6507dfe8d1
|
Added travis config file
|
2012-06-04 05:31:29 -07:00 |
|
Guy Halford-Thompson
|
194ba6cae5
|
Added travis-ci icon
|
2012-06-04 05:29:43 -07:00 |
|
Guy Halford-Thompson
|
209e7020e8
|
Merge pull request #2 from shtylman/master
complete rework of api and code cleanup
|
2012-06-04 05:19:09 -07:00 |
|
Roman Shtylman
|
6ad05c5a7c
|
README markdown formatting
|
2012-06-03 18:29:06 -04:00 |
|
Roman Shtylman
|
10381a3a88
|
update README formatting for API
|
2012-06-03 18:27:32 -04:00 |
|
Roman Shtylman
|
022ef8d128
|
add migrating from 1.x to 2.x to readme
|
2012-06-03 18:15:56 -04:00 |
|
Roman Shtylman
|
6c4ac1e94d
|
cleanup README
- move license section to separate file
- remove examples, api documentation is enough for now
|
2012-06-03 18:01:30 -04:00 |
|
Roman Shtylman
|
ad29941dab
|
add google auth example/details to readme
Basic example on using `thirty-two` module to do base32 encoding and
creating a barcode URI
|
2012-06-03 15:57:43 -04:00 |
|
Roman Shtylman
|
6324431069
|
update .gitignore
- add node_modules
- remove other cruft
|
2012-06-01 16:00:40 -04: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
|
e633d857fd
|
update readme with new argument names
|
2012-06-01 00:08:40 -04:00 |
|