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

Fix Vault Allocation Error #1149

Open
prnk28 opened this issue Oct 21, 2024 · 1 comment
Open

Fix Vault Allocation Error #1149

prnk28 opened this issue Oct 21, 2024 · 1 comment
Assignees
Labels
#TODO Core Team - Project Management
Milestone

Comments

@prnk28
Copy link
Contributor

prnk28 commented Oct 21, 2024

Description

When allocating a new user vault we run into a null pointer bug. This endpoint is expected to be resolved by <API_URL>/vault/v1/allocate. This may potentially be an issue in:

Associated Files

These files will be modified by this task.

References

Use these documents to help you complete the task.

@prnk28 prnk28 added the #TODO Core Team - Project Management label Oct 21, 2024
@prnk28 prnk28 changed the title Fix Vault Allocation Bug Fix Vault Allocation Error Oct 21, 2024
@prnk28 prnk28 added this to the v0.6 milestone Oct 21, 2024
@prnk28 prnk28 self-assigned this Oct 21, 2024
@prnk28
Copy link
Contributor Author

prnk28 commented Oct 21, 2024

onsonr/crypto/mpc/share.go.

The share.go file in the onsonr/crypto repository defines a Share type for managing cryptographic shares. Key functions include:

  • GetSignFunc(msg []byte): Returns a signing function based on the role (Alice or Bob) using the K256 curve and SHA-3 hashing.
  • GetRefreshFunc(): Returns a refresh function for the share, again based on the role.
  • Message(): Decodes the message part of the share.
  • Role(): Determines the role (Alice or Bob) from the share.
  • PublicKey(): Retrieves the public key associated with the share, decoding it differently based on the role.

The file primarily handles the creation and management of cryptographic shares and their associated operations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#TODO Core Team - Project Management
Projects
Status: Doing
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant