fix #8, nix extra logs
This commit is contained in:
parent
d4328083f3
commit
7bfc0f6368
1
node.js
1
node.js
|
@ -46,7 +46,6 @@ function create(deps) {
|
||||||
}
|
}
|
||||||
|
|
||||||
var input = RSA._thumbprintInput(publicKeyJwk.n, publicKeyJwk.e);
|
var input = RSA._thumbprintInput(publicKeyJwk.n, publicKeyJwk.e);
|
||||||
console.log('thumbprint input', input.toString('ascii'));
|
|
||||||
var base64Digest = crypto.createHash('sha256').update(input).digest('base64');
|
var base64Digest = crypto.createHash('sha256').update(input).digest('base64');
|
||||||
|
|
||||||
return RSA.utils.toWebsafeBase64(base64Digest);
|
return RSA.utils.toWebsafeBase64(base64Digest);
|
||||||
|
|
Loading…
Reference in New Issue