@transmute/secp256k1-key-pair
Advanced tools
Comparing version 0.7.0-unstable.37 to 0.7.0-unstable.38
@@ -5,3 +5,3 @@ { | ||
"module": "dist/secp256k1-key-pair.esm.js", | ||
"version": "0.7.0-unstable.37", | ||
"version": "0.7.0-unstable.38", | ||
"license": "Apache-2.0", | ||
@@ -62,6 +62,6 @@ "homepage": "https://github.com/transmute-industries/verifiable-data/tree/main/packages/secp256k1-key-pair", | ||
"@bitauth/libauth": "^1.18.1", | ||
"@transmute/ld-key-pair": "^0.7.0-unstable.37", | ||
"@transmute/ld-key-pair": "^0.7.0-unstable.38", | ||
"secp256k1": "^4.0.2" | ||
}, | ||
"gitHead": "bb8d1429873141e3799317a667c32f47c93bb559" | ||
"gitHead": "59f7774f04ac85f6144de1083b542d0bd1fa7f07" | ||
} |
import fs from 'fs'; | ||
import path from 'path'; | ||
import { sign, verify } from '../../__fixtures__/jose-help'; | ||
const { generateKeyPair } = require('jose/util/generate_key_pair'); | ||
const { fromKeyLike } = require('jose/jwk/from_key_like'); | ||
import { sign, verify } from '../../__fixtures__/jose-help'; | ||
const privateKeyJwk = require('./__fixtures__/jose.privateKeyJwk.json'); | ||
@@ -8,0 +8,0 @@ |
@@ -5,7 +5,7 @@ import fs from 'fs'; | ||
import { base64url } from '../../encoding'; | ||
const header = { alg: 'ES256K' }; | ||
const privateKeyJwk = require('./__fixtures__/transmute.privateKeyJwk.json'); | ||
import { base64url } from '../../encoding'; | ||
describe('transmute ES256K', () => { | ||
@@ -12,0 +12,0 @@ it.skip('can generate key pair', async () => { |
import crypto from '../../crypto'; | ||
import { instantiateSecp256k1 } from '@bitauth/libauth'; | ||
const publicKeyJwk = require('./__fixtures__/ms.publicKeyJwk.json'); | ||
import { getPublicKeyFromPublicKeyJwk } from '../../getPublicKeyFromPublicKeyJwk'; | ||
const publicKeyJwk = require('./__fixtures__/ms.publicKeyJwk.json'); | ||
@@ -7,0 +7,0 @@ describe('raw ES256K verify from scratch', () => { |