fix: workaround missing sha512 support in forge.hmac

This commit is contained in:
Friedel Ziegelmayer
2016-05-20 16:27:11 +02:00
parent 3037541d3c
commit 87a30e2e9b
2 changed files with 3 additions and 3 deletions

View File

@@ -9,8 +9,7 @@ const fixtures = require('./fixtures/go-stretch-key')
describe('keyStretcher', () => {
describe('generate', () => {
const ciphers = ['AES-128', 'AES-256', 'Blowfish']
const hashes = ['SHA1', 'SHA256']
// add 'SHA512' when https://github.com/digitalbazaar/forge/issues/401 is resolved
const hashes = ['SHA1', 'SHA256', 'SHA512']
const res = crypto.generateEphemeralKeyPair('P-256')
const secret = res.genSharedKey(res.key)