projects
/
squeep-totp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bump package version to 1.1.4
[squeep-totp]
/
lib
/
hotp.js
diff --git
a/lib/hotp.js
b/lib/hotp.js
index 5e20ec6b8ea9bdf29cd66bf5e7f0163dd6f9f547..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',
};
}
@@
-277,6
+277,7
@@
class HMACBasedOneTimePassword {
static get _qrURIDefaultOptions() {
return {
+ issuer: '',
scheme: 'otpauth',
type: this._type,
};