Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(express): implement EdDSA commitments for external signer #3661

Merged

Conversation

alebusse
Copy link
Contributor

implemented EdDSA commitment step for external signer added unit test

WP-94

@alebusse alebusse force-pushed the WP-94-implement-externalSigner-for-eddsa-with-commitments branch from d9aa01f to a5d73dd Compare June 14, 2023 22:00
@alebusse alebusse marked this pull request as ready for review June 14, 2023 22:42
@alebusse alebusse requested review from a team as code owners June 14, 2023 22:42
@alebusse alebusse force-pushed the WP-94-implement-externalSigner-for-eddsa-with-commitments branch from a5d73dd to 1cd350b Compare June 14, 2023 23:01
@alebusse alebusse force-pushed the WP-94-implement-externalSigner-for-eddsa-with-commitments branch 2 times, most recently from e732111 to 1ba74f0 Compare June 15, 2023 15:42
@alebusse alebusse marked this pull request as draft June 16, 2023 17:18
Copy link
Contributor

@sachushaji sachushaji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flushing queue

@alebusse alebusse force-pushed the WP-94-implement-externalSigner-for-eddsa-with-commitments branch from 1ba74f0 to d468e16 Compare June 19, 2023 19:56
@alebusse alebusse marked this pull request as ready for review June 19, 2023 20:24
@alebusse alebusse requested a review from sachushaji June 19, 2023 21:17
Copy link
Contributor

@sachushaji sachushaji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flushing as I don't have much context on eddsa commitments unfortunately and also seems there is no files owned by my teams

islamaminBitGo
islamaminBitGo previously approved these changes Jun 27, 2023
@islamaminBitGo
Copy link
Contributor

This change has been tested. LGTM


const signerShare = signingKey.yShares[bitgoIndex].u + signingKey.yShares[bitgoIndex].chaincode;
const bitgoGpgKey = await getBitgoGpgPubKey(this.bitgo);
const bitgoToUserEncryptedSignerShare = await encryptText(signerShare, bitgoGpgKey);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I think this should be userToBitgoEncryptedSignerShare

@alebusse alebusse force-pushed the WP-94-implement-externalSigner-for-eddsa-with-commitments branch from d468e16 to 2a38dba Compare June 27, 2023 15:38
implemented EdDSA commitment step for external signer added unit test

WP-94
@alebusse alebusse force-pushed the WP-94-implement-externalSigner-for-eddsa-with-commitments branch from 2a38dba to 52ccfe7 Compare June 27, 2023 15:38
@alebusse alebusse merged commit c4a772a into master Jun 27, 2023
5 checks passed
@alebusse alebusse deleted the WP-94-implement-externalSigner-for-eddsa-with-commitments branch June 27, 2023 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants