Allow to choose if extractable or not
ci/woodpecker/push/test Pipeline was successful

This commit is contained in:
2024-06-11 14:32:23 +02:00
parent 1e5bf39b4f
commit 5cc375bd5a
6 changed files with 26 additions and 8 deletions
+2
View File
@@ -74,7 +74,9 @@ describe('ECDH', () => {
const k2 = await PrivateWrap.gen_keypair()
const kd1 = await ecdh(k1.privateKey, k2.publicKey)
expect(kd1.extractable).toBe(false)
const kd2 = await ecdh(k2.privateKey, k1.publicKey)
expect(kd2.extractable).toBe(false)
expect(kd1).toEqual(kd2)
})