Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/abstract-lightning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
]
},
"dependencies": {
"@bitgo/public-types": "6.63.0",
"@bitgo/public-types": "6.64.1",
"@bitgo/sdk-core": "^38.11.0",
"@bitgo/statics": "^59.10.0",
"@bitgo/utxo-lib": "^11.24.3",
Expand Down
2 changes: 1 addition & 1 deletion modules/bitgo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
"superagent": "^9.0.1"
},
"devDependencies": {
"@bitgo/public-types": "6.63.0",
"@bitgo/public-types": "6.64.1",
"@bitgo/sdk-opensslbytes": "^2.1.0",
"@bitgo/sdk-test": "^9.1.71",
"@openpgp/web-stream-tools": "0.0.14",
Expand Down
2 changes: 1 addition & 1 deletion modules/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"superagent": "^9.0.1"
},
"devDependencies": {
"@bitgo/public-types": "6.63.0",
"@bitgo/public-types": "6.64.1",
"@bitgo/sdk-lib-mpc": "^10.18.0",
"@bitgo/sdk-test": "^9.1.71",
"@types/argparse": "^1.0.36",
Expand Down
2 changes: 1 addition & 1 deletion modules/passkey-crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"access": "public"
},
"dependencies": {
"@bitgo/public-types": "6.63.0",
"@bitgo/public-types": "6.64.1",
"@bitgo/sdk-core": "^38.11.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-flrp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"nock": "^13.3.1"
},
"dependencies": {
"@bitgo/public-types": "6.63.0",
"@bitgo/public-types": "6.64.1",
"@bitgo/sdk-core": "^38.11.0",
"@bitgo/secp256k1": "^1.11.0",
"@bitgo/statics": "^59.10.0",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-sol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
"dependencies": {
"@bitgo/logger": "^1.4.0",
"@bitgo/public-types": "6.63.0",
"@bitgo/public-types": "6.64.1",
"@bitgo/sdk-core": "^38.11.0",
"@bitgo/sdk-lib-mpc": "^10.18.0",
"@bitgo/statics": "^59.10.0",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
]
},
"dependencies": {
"@bitgo/public-types": "6.63.0",
"@bitgo/public-types": "6.64.1",
"@bitgo/sdk-lib-mpc": "^10.18.0",
"@bitgo/secp256k1": "^1.11.0",
"@bitgo/sjcl": "^1.1.0",
Expand Down
2 changes: 0 additions & 2 deletions modules/sdk-core/src/bitgo/utils/tss/redpallas/SMC/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ export class RedpallasMPCv2SMCUtils {
sessionId,
userMsg2: ovc1.ovcMsg2,
backupMsg2: ovc2.ovcMsg2,
derivationSeed: payload.derivationSeed,
});

assert.equal(sessionId, result.sessionId, 'Round 1 and round 2 session IDs do not match');
Expand All @@ -126,7 +125,6 @@ export class RedpallasMPCv2SMCUtils {
walletType: payload.walletType,
coin: payload.coin,
ovc: payload.ovc,
derivationSeed: payload.derivationSeed,
platform: {
// sessionId/bitgoMsg1 carried over from payload.platform; safe because the assert
// above guarantees payload.platform.sessionId equals result.sessionId.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,8 @@ import {
* addresses is out of scope for this SDK.
*
* RedPallas MPS DKG completes in the same 2-round shape as EdDSA MPS DKG (round0 local, round1 +
* round2 online), but round2 additionally requires a `derivationSeed`: a 32-byte value consumed by
* a subsequent, platform-side-only key derivation step (Zcash Orchard ask/nk/rivk/ivks) that is
* intentionally not implemented here. The resulting `commonPublicKeychain` is the raw 32-byte
* RedPallas group public key (64 hex chars) - there is no BIP32-style chain code, unlike EdDSA/ECDSA
* commonKeychains.
* round2 online). The resulting `commonPublicKeychain` is the raw 32-byte RedPallas group public
* key (64 hex chars) - there is no BIP32-style chain code, unlike EdDSA/ECDSA commonKeychains.
*/
export class RedpallasMPCv2Utils extends BaseTssUtils<unknown> {
constructor(bitgo: BitGoBase, baseCoin: IBaseCoin, wallet?: IWallet) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ describe('RedpallasMPCv2Utils', function () {
sessionId: 's1',
userMsg2: { message: 'u2', signature: 'usig' },
backupMsg2: { message: 'b2', signature: 'bsig' },
derivationSeed: 'a'.repeat(64),
};

const result = await utils.sendKeyGenerationRound2BySender(senderFn as never, payload as never);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ describe('RedPallas MPCv2 SMC Utils:', function () {
sessionId,
bitgoMsg1: fakeSignedMessage('bitgo-1'),
},
derivationSeed: 'a'.repeat(64),
} as unknown as RedpallasOVC2ToBitgoRound2Payload);

beforeEach(function () {
Expand Down Expand Up @@ -190,7 +189,6 @@ describe('RedPallas MPCv2 SMC Utils:', function () {
assert.strictEqual(senderPayload.sessionId, 'session-xyz');
assert.deepStrictEqual(senderPayload.userMsg2, payload.ovc[OVCIndexEnum.ONE].ovcMsg2);
assert.deepStrictEqual(senderPayload.backupMsg2, payload.ovc[OVCIndexEnum.TWO].ovcMsg2);
assert.strictEqual(senderPayload.derivationSeed, payload.derivationSeed);

assert.ok(keychainsStub.add.calledOnce);
assert.deepStrictEqual(keychainsStub.add.firstCall.args[0], {
Expand Down
32 changes: 26 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1021,10 +1021,10 @@
"@scure/base" "1.1.5"
micro-eth-signer "0.7.2"

"@bitgo/public-types@6.63.0":
version "6.63.0"
resolved "https://registry.npmjs.org/@bitgo/public-types/-/public-types-6.63.0.tgz#8f19956f043f4e4e20f6dc52b04ae03a8d227489"
integrity sha512-SaZOl4kCxr7HzJQtupIvqofMrdAQhX42KyRmxfG51j6Hh7mPnO2Ny7dTiKUwU1zh5u8MmTXpyIFwscyVW00BpA==
"@bitgo/public-types@6.64.1":
version "6.64.1"
resolved "https://registry.npmjs.org/@bitgo/public-types/-/public-types-6.64.1.tgz#85c529e968a2393784373a611eca188a3b5e2832"
integrity sha512-+3Y+9gJDDy8YorytnfqcR5IXjb35BloZilaEjwAnJYOqWO+wD+fLHvhc5eIAYnFJKNFE2gie4JBfdQ2055HVOw==
dependencies:
fp-ts "^2.0.0"
io-ts "npm:@bitgo-forks/io-ts@2.1.4"
Expand Down Expand Up @@ -12795,7 +12795,18 @@ html-minifier-terser@^6.0.2:
tapable "^1.1.3"
util.promisify "1.0.0"

"html-webpack-plugin-5@npm:html-webpack-plugin@^5", html-webpack-plugin@^5.5.0:
"html-webpack-plugin-5@npm:html-webpack-plugin@^5":
version "5.6.4"
resolved "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.6.4.tgz"
integrity sha512-V/PZeWsqhfpE27nKeX9EO2sbR+D17A+tLf6qU+ht66jdUsN0QLKJN27Z+1+gHrVMKgndBahes0PU6rRihDgHTw==
dependencies:
"@types/html-minifier-terser" "^6.0.0"
html-minifier-terser "^6.0.2"
lodash "^4.17.21"
pretty-error "^4.0.0"
tapable "^2.0.0"

html-webpack-plugin@^5.5.0:
version "5.6.4"
resolved "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.6.4.tgz"
integrity sha512-V/PZeWsqhfpE27nKeX9EO2sbR+D17A+tLf6qU+ht66jdUsN0QLKJN27Z+1+gHrVMKgndBahes0PU6rRihDgHTw==
Expand Down Expand Up @@ -21360,7 +21371,16 @@ workerpool@^6.5.1:
resolved "https://registry.npmjs.org/workerpool/-/workerpool-6.5.1.tgz"
integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==

"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@7.0.0, wrap-ansi@^7.0.0:
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
version "7.0.0"
resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz"
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
dependencies:
ansi-styles "^4.0.0"
string-width "^4.1.0"
strip-ansi "^6.0.0"

wrap-ansi@7.0.0, wrap-ansi@^7.0.0:
version "7.0.0"
resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz"
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
Expand Down
Loading