projects
/
squeep-totp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f981a5a
)
fix default key encoding for constructor arguments to align with default key creation...
author
Justin Wind
<justin.wind+git@gmail.com>
Sun, 10 Mar 2024 18:41:50 +0000
(11:41 -0700)
committer
Justin Wind
<justin.wind+git@gmail.com>
Sun, 10 Mar 2024 18:41:50 +0000
(11:41 -0700)
lib/hotp.js
patch
|
blob
|
history
diff --git
a/lib/hotp.js
b/lib/hotp.js
index 7741a19fc9ae4e3dc5d6511dc7a1905d16b2cb9a..90942cc4b4691af0cd05bd9e3c379b92a650caca 100644
(file)
--- a/
lib/hotp.js
+++ b/
lib/hotp.js
@@
-48,7
+48,7
@@
class HMACBasedOneTimePassword {
return {
codeLength: 6,
counter: 0n,
- keyEncoding: '
ascii
',
+ keyEncoding: '
hex
',
algorithm: 'sha1',
};
}