@mysten/signers 0.1.12 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @mysten/signers
2
2
 
3
+ ## 0.1.14
4
+
5
+ ### Patch Changes
6
+
7
+ - 5217cab: Fix signature not having lowS enforced
8
+ - a08ead6: Add webcrypto to the files allowlist
9
+ - b34f523: Fix re-constructing signers from exported bytes, and introduce import / export methods
10
+
11
+ ## 0.1.13
12
+
13
+ ### Patch Changes
14
+
15
+ - 1e87d03: Add new WebCrypto signer
16
+
3
17
  ## 0.1.12
4
18
 
5
19
  ### Patch Changes
@@ -0,0 +1,20 @@
1
+ import type { SignatureScheme } from '@mysten/sui/cryptography';
2
+ import { Signer } from '@mysten/sui/cryptography';
3
+ import { Secp256r1PublicKey } from '@mysten/sui/keypairs/secp256r1';
4
+ export interface ExportedWebCryptoKeypair {
5
+ privateKey: CryptoKey;
6
+ publicKey: Uint8Array;
7
+ }
8
+ export declare class WebCryptoSigner extends Signer {
9
+ #private;
10
+ privateKey: CryptoKey;
11
+ static generate({ extractable }?: {
12
+ extractable?: boolean;
13
+ }): Promise<WebCryptoSigner>;
14
+ static import(data: ExportedWebCryptoKeypair): WebCryptoSigner;
15
+ getKeyScheme(): SignatureScheme;
16
+ constructor(privateKey: CryptoKey, publicKey: Uint8Array);
17
+ export(): ExportedWebCryptoKeypair;
18
+ getPublicKey(): Secp256r1PublicKey;
19
+ sign(bytes: Uint8Array): Promise<Uint8Array>;
20
+ }
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __typeError = (msg) => {
7
+ throw TypeError(msg);
8
+ };
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, { get: all[name], enumerable: true });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from))
16
+ if (!__hasOwnProp.call(to, key) && key !== except)
17
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
+ }
19
+ return to;
20
+ };
21
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
22
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
23
+ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
24
+ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
25
+ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
26
+ var webcrypto_exports = {};
27
+ __export(webcrypto_exports, {
28
+ WebCryptoSigner: () => WebCryptoSigner
29
+ });
30
+ module.exports = __toCommonJS(webcrypto_exports);
31
+ var import_cryptography = require("@mysten/sui/cryptography");
32
+ var import_secp256r1 = require("@mysten/sui/keypairs/secp256r1");
33
+ var import_p256 = require("@noble/curves/p256");
34
+ var _publicKey;
35
+ function getCompressedPublicKey(publicKey) {
36
+ const rawBytes = new Uint8Array(publicKey);
37
+ const x = rawBytes.slice(1, 33);
38
+ const y = rawBytes.slice(33, 65);
39
+ const prefix = (y[31] & 1) === 0 ? 2 : 3;
40
+ const compressed = new Uint8Array(import_secp256r1.Secp256r1PublicKey.SIZE);
41
+ compressed[0] = prefix;
42
+ compressed.set(x, 1);
43
+ return compressed;
44
+ }
45
+ const _WebCryptoSigner = class _WebCryptoSigner extends import_cryptography.Signer {
46
+ constructor(privateKey, publicKey) {
47
+ super();
48
+ __privateAdd(this, _publicKey);
49
+ this.privateKey = privateKey;
50
+ __privateSet(this, _publicKey, new import_secp256r1.Secp256r1PublicKey(publicKey));
51
+ }
52
+ static async generate({ extractable = false } = {}) {
53
+ const keypair = await globalThis.crypto.subtle.generateKey(
54
+ {
55
+ name: "ECDSA",
56
+ namedCurve: "P-256"
57
+ },
58
+ extractable,
59
+ ["sign", "verify"]
60
+ );
61
+ const publicKey = await globalThis.crypto.subtle.exportKey("raw", keypair.publicKey);
62
+ return new _WebCryptoSigner(
63
+ keypair.privateKey,
64
+ getCompressedPublicKey(new Uint8Array(publicKey))
65
+ );
66
+ }
67
+ static import(data) {
68
+ return new _WebCryptoSigner(data.privateKey, data.publicKey);
69
+ }
70
+ getKeyScheme() {
71
+ return "Secp256r1";
72
+ }
73
+ // Exports the keypair to store in IndexedDB.
74
+ export() {
75
+ return {
76
+ privateKey: this.privateKey,
77
+ publicKey: __privateGet(this, _publicKey).toRawBytes()
78
+ };
79
+ }
80
+ getPublicKey() {
81
+ return __privateGet(this, _publicKey);
82
+ }
83
+ async sign(bytes) {
84
+ const rawSignature = await globalThis.crypto.subtle.sign(
85
+ {
86
+ name: "ECDSA",
87
+ hash: "SHA-256"
88
+ },
89
+ this.privateKey,
90
+ bytes
91
+ );
92
+ const signature = import_p256.secp256r1.Signature.fromCompact(new Uint8Array(rawSignature));
93
+ return signature.normalizeS().toCompactRawBytes();
94
+ }
95
+ };
96
+ _publicKey = new WeakMap();
97
+ let WebCryptoSigner = _WebCryptoSigner;
98
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/webcrypto/index.ts"],
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport type { SignatureScheme } from '@mysten/sui/cryptography';\nimport { Signer } from '@mysten/sui/cryptography';\nimport { Secp256r1PublicKey } from '@mysten/sui/keypairs/secp256r1';\nimport { secp256r1 } from '@noble/curves/p256';\n\n// Convert from uncompressed (65 bytes) to compressed (33 bytes) format\nfunction getCompressedPublicKey(publicKey: Uint8Array) {\n\tconst rawBytes = new Uint8Array(publicKey);\n\tconst x = rawBytes.slice(1, 33);\n\tconst y = rawBytes.slice(33, 65);\n\n\tconst prefix = (y[31] & 1) === 0 ? 0x02 : 0x03;\n\n\tconst compressed = new Uint8Array(Secp256r1PublicKey.SIZE);\n\tcompressed[0] = prefix;\n\tcompressed.set(x, 1);\n\n\treturn compressed;\n}\n\nexport interface ExportedWebCryptoKeypair {\n\tprivateKey: CryptoKey;\n\tpublicKey: Uint8Array;\n}\n\nexport class WebCryptoSigner extends Signer {\n\tprivateKey: CryptoKey;\n\n\t#publicKey: Secp256r1PublicKey;\n\n\tstatic async generate({ extractable = false }: { extractable?: boolean } = {}) {\n\t\tconst keypair = await globalThis.crypto.subtle.generateKey(\n\t\t\t{\n\t\t\t\tname: 'ECDSA',\n\t\t\t\tnamedCurve: 'P-256',\n\t\t\t},\n\t\t\textractable,\n\t\t\t['sign', 'verify'],\n\t\t);\n\n\t\tconst publicKey = await globalThis.crypto.subtle.exportKey('raw', keypair.publicKey);\n\n\t\treturn new WebCryptoSigner(\n\t\t\tkeypair.privateKey,\n\t\t\tgetCompressedPublicKey(new Uint8Array(publicKey)),\n\t\t);\n\t}\n\n\tstatic import(data: ExportedWebCryptoKeypair) {\n\t\treturn new WebCryptoSigner(data.privateKey, data.publicKey);\n\t}\n\n\tgetKeyScheme(): SignatureScheme {\n\t\treturn 'Secp256r1';\n\t}\n\n\tconstructor(privateKey: CryptoKey, publicKey: Uint8Array) {\n\t\tsuper();\n\t\tthis.privateKey = privateKey;\n\t\tthis.#publicKey = new Secp256r1PublicKey(publicKey);\n\t}\n\n\t// Exports the keypair to store in IndexedDB.\n\texport(): ExportedWebCryptoKeypair {\n\t\t// TODO: Should we add something like `toJSON` on this so that if you attempt to serialize it throws?\n\t\treturn {\n\t\t\tprivateKey: this.privateKey,\n\t\t\tpublicKey: this.#publicKey.toRawBytes(),\n\t\t};\n\t}\n\n\tgetPublicKey() {\n\t\treturn this.#publicKey;\n\t}\n\n\tasync sign(bytes: Uint8Array): Promise<Uint8Array> {\n\t\tconst rawSignature = await globalThis.crypto.subtle.sign(\n\t\t\t{\n\t\t\t\tname: 'ECDSA',\n\t\t\t\thash: 'SHA-256',\n\t\t\t},\n\t\t\tthis.privateKey,\n\t\t\tbytes,\n\t\t);\n\n\t\tconst signature = secp256r1.Signature.fromCompact(new Uint8Array(rawSignature));\n\n\t\treturn signature.normalizeS().toCompactRawBytes();\n\t}\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,0BAAuB;AACvB,uBAAmC;AACnC,kBAA0B;AAN1B;AASA,SAAS,uBAAuB,WAAuB;AACtD,QAAM,WAAW,IAAI,WAAW,SAAS;AACzC,QAAM,IAAI,SAAS,MAAM,GAAG,EAAE;AAC9B,QAAM,IAAI,SAAS,MAAM,IAAI,EAAE;AAE/B,QAAM,UAAU,EAAE,EAAE,IAAI,OAAO,IAAI,IAAO;AAE1C,QAAM,aAAa,IAAI,WAAW,oCAAmB,IAAI;AACzD,aAAW,CAAC,IAAI;AAChB,aAAW,IAAI,GAAG,CAAC;AAEnB,SAAO;AACR;AAOO,MAAM,mBAAN,MAAM,yBAAwB,2BAAO;AAAA,EA+B3C,YAAY,YAAuB,WAAuB;AACzD,UAAM;AA7BP;AA8BC,SAAK,aAAa;AAClB,uBAAK,YAAa,IAAI,oCAAmB,SAAS;AAAA,EACnD;AAAA,EA9BA,aAAa,SAAS,EAAE,cAAc,MAAM,IAA+B,CAAC,GAAG;AAC9E,UAAM,UAAU,MAAM,WAAW,OAAO,OAAO;AAAA,MAC9C;AAAA,QACC,MAAM;AAAA,QACN,YAAY;AAAA,MACb;AAAA,MACA;AAAA,MACA,CAAC,QAAQ,QAAQ;AAAA,IAClB;AAEA,UAAM,YAAY,MAAM,WAAW,OAAO,OAAO,UAAU,OAAO,QAAQ,SAAS;AAEnF,WAAO,IAAI;AAAA,MACV,QAAQ;AAAA,MACR,uBAAuB,IAAI,WAAW,SAAS,CAAC;AAAA,IACjD;AAAA,EACD;AAAA,EAEA,OAAO,OAAO,MAAgC;AAC7C,WAAO,IAAI,iBAAgB,KAAK,YAAY,KAAK,SAAS;AAAA,EAC3D;AAAA,EAEA,eAAgC;AAC/B,WAAO;AAAA,EACR;AAAA;AAAA,EASA,SAAmC;AAElC,WAAO;AAAA,MACN,YAAY,KAAK;AAAA,MACjB,WAAW,mBAAK,YAAW,WAAW;AAAA,IACvC;AAAA,EACD;AAAA,EAEA,eAAe;AACd,WAAO,mBAAK;AAAA,EACb;AAAA,EAEA,MAAM,KAAK,OAAwC;AAClD,UAAM,eAAe,MAAM,WAAW,OAAO,OAAO;AAAA,MACnD;AAAA,QACC,MAAM;AAAA,QACN,MAAM;AAAA,MACP;AAAA,MACA,KAAK;AAAA,MACL;AAAA,IACD;AAEA,UAAM,YAAY,sBAAU,UAAU,YAAY,IAAI,WAAW,YAAY,CAAC;AAE9E,WAAO,UAAU,WAAW,EAAE,kBAAkB;AAAA,EACjD;AACD;AA7DC;AAHM,IAAM,kBAAN;",
6
+ "names": []
7
+ }
@@ -0,0 +1,20 @@
1
+ import type { SignatureScheme } from '@mysten/sui/cryptography';
2
+ import { Signer } from '@mysten/sui/cryptography';
3
+ import { Secp256r1PublicKey } from '@mysten/sui/keypairs/secp256r1';
4
+ export interface ExportedWebCryptoKeypair {
5
+ privateKey: CryptoKey;
6
+ publicKey: Uint8Array;
7
+ }
8
+ export declare class WebCryptoSigner extends Signer {
9
+ #private;
10
+ privateKey: CryptoKey;
11
+ static generate({ extractable }?: {
12
+ extractable?: boolean;
13
+ }): Promise<WebCryptoSigner>;
14
+ static import(data: ExportedWebCryptoKeypair): WebCryptoSigner;
15
+ getKeyScheme(): SignatureScheme;
16
+ constructor(privateKey: CryptoKey, publicKey: Uint8Array);
17
+ export(): ExportedWebCryptoKeypair;
18
+ getPublicKey(): Secp256r1PublicKey;
19
+ sign(bytes: Uint8Array): Promise<Uint8Array>;
20
+ }
@@ -0,0 +1,78 @@
1
+ var __typeError = (msg) => {
2
+ throw TypeError(msg);
3
+ };
4
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
5
+ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
6
+ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
7
+ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
8
+ var _publicKey;
9
+ import { Signer } from "@mysten/sui/cryptography";
10
+ import { Secp256r1PublicKey } from "@mysten/sui/keypairs/secp256r1";
11
+ import { secp256r1 } from "@noble/curves/p256";
12
+ function getCompressedPublicKey(publicKey) {
13
+ const rawBytes = new Uint8Array(publicKey);
14
+ const x = rawBytes.slice(1, 33);
15
+ const y = rawBytes.slice(33, 65);
16
+ const prefix = (y[31] & 1) === 0 ? 2 : 3;
17
+ const compressed = new Uint8Array(Secp256r1PublicKey.SIZE);
18
+ compressed[0] = prefix;
19
+ compressed.set(x, 1);
20
+ return compressed;
21
+ }
22
+ const _WebCryptoSigner = class _WebCryptoSigner extends Signer {
23
+ constructor(privateKey, publicKey) {
24
+ super();
25
+ __privateAdd(this, _publicKey);
26
+ this.privateKey = privateKey;
27
+ __privateSet(this, _publicKey, new Secp256r1PublicKey(publicKey));
28
+ }
29
+ static async generate({ extractable = false } = {}) {
30
+ const keypair = await globalThis.crypto.subtle.generateKey(
31
+ {
32
+ name: "ECDSA",
33
+ namedCurve: "P-256"
34
+ },
35
+ extractable,
36
+ ["sign", "verify"]
37
+ );
38
+ const publicKey = await globalThis.crypto.subtle.exportKey("raw", keypair.publicKey);
39
+ return new _WebCryptoSigner(
40
+ keypair.privateKey,
41
+ getCompressedPublicKey(new Uint8Array(publicKey))
42
+ );
43
+ }
44
+ static import(data) {
45
+ return new _WebCryptoSigner(data.privateKey, data.publicKey);
46
+ }
47
+ getKeyScheme() {
48
+ return "Secp256r1";
49
+ }
50
+ // Exports the keypair to store in IndexedDB.
51
+ export() {
52
+ return {
53
+ privateKey: this.privateKey,
54
+ publicKey: __privateGet(this, _publicKey).toRawBytes()
55
+ };
56
+ }
57
+ getPublicKey() {
58
+ return __privateGet(this, _publicKey);
59
+ }
60
+ async sign(bytes) {
61
+ const rawSignature = await globalThis.crypto.subtle.sign(
62
+ {
63
+ name: "ECDSA",
64
+ hash: "SHA-256"
65
+ },
66
+ this.privateKey,
67
+ bytes
68
+ );
69
+ const signature = secp256r1.Signature.fromCompact(new Uint8Array(rawSignature));
70
+ return signature.normalizeS().toCompactRawBytes();
71
+ }
72
+ };
73
+ _publicKey = new WeakMap();
74
+ let WebCryptoSigner = _WebCryptoSigner;
75
+ export {
76
+ WebCryptoSigner
77
+ };
78
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/webcrypto/index.ts"],
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport type { SignatureScheme } from '@mysten/sui/cryptography';\nimport { Signer } from '@mysten/sui/cryptography';\nimport { Secp256r1PublicKey } from '@mysten/sui/keypairs/secp256r1';\nimport { secp256r1 } from '@noble/curves/p256';\n\n// Convert from uncompressed (65 bytes) to compressed (33 bytes) format\nfunction getCompressedPublicKey(publicKey: Uint8Array) {\n\tconst rawBytes = new Uint8Array(publicKey);\n\tconst x = rawBytes.slice(1, 33);\n\tconst y = rawBytes.slice(33, 65);\n\n\tconst prefix = (y[31] & 1) === 0 ? 0x02 : 0x03;\n\n\tconst compressed = new Uint8Array(Secp256r1PublicKey.SIZE);\n\tcompressed[0] = prefix;\n\tcompressed.set(x, 1);\n\n\treturn compressed;\n}\n\nexport interface ExportedWebCryptoKeypair {\n\tprivateKey: CryptoKey;\n\tpublicKey: Uint8Array;\n}\n\nexport class WebCryptoSigner extends Signer {\n\tprivateKey: CryptoKey;\n\n\t#publicKey: Secp256r1PublicKey;\n\n\tstatic async generate({ extractable = false }: { extractable?: boolean } = {}) {\n\t\tconst keypair = await globalThis.crypto.subtle.generateKey(\n\t\t\t{\n\t\t\t\tname: 'ECDSA',\n\t\t\t\tnamedCurve: 'P-256',\n\t\t\t},\n\t\t\textractable,\n\t\t\t['sign', 'verify'],\n\t\t);\n\n\t\tconst publicKey = await globalThis.crypto.subtle.exportKey('raw', keypair.publicKey);\n\n\t\treturn new WebCryptoSigner(\n\t\t\tkeypair.privateKey,\n\t\t\tgetCompressedPublicKey(new Uint8Array(publicKey)),\n\t\t);\n\t}\n\n\tstatic import(data: ExportedWebCryptoKeypair) {\n\t\treturn new WebCryptoSigner(data.privateKey, data.publicKey);\n\t}\n\n\tgetKeyScheme(): SignatureScheme {\n\t\treturn 'Secp256r1';\n\t}\n\n\tconstructor(privateKey: CryptoKey, publicKey: Uint8Array) {\n\t\tsuper();\n\t\tthis.privateKey = privateKey;\n\t\tthis.#publicKey = new Secp256r1PublicKey(publicKey);\n\t}\n\n\t// Exports the keypair to store in IndexedDB.\n\texport(): ExportedWebCryptoKeypair {\n\t\t// TODO: Should we add something like `toJSON` on this so that if you attempt to serialize it throws?\n\t\treturn {\n\t\t\tprivateKey: this.privateKey,\n\t\t\tpublicKey: this.#publicKey.toRawBytes(),\n\t\t};\n\t}\n\n\tgetPublicKey() {\n\t\treturn this.#publicKey;\n\t}\n\n\tasync sign(bytes: Uint8Array): Promise<Uint8Array> {\n\t\tconst rawSignature = await globalThis.crypto.subtle.sign(\n\t\t\t{\n\t\t\t\tname: 'ECDSA',\n\t\t\t\thash: 'SHA-256',\n\t\t\t},\n\t\t\tthis.privateKey,\n\t\t\tbytes,\n\t\t);\n\n\t\tconst signature = secp256r1.Signature.fromCompact(new Uint8Array(rawSignature));\n\n\t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