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

[INJIMOB-2275] add support for EcdsaSecp256k1Signature2019 #133

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

vharsh
Copy link
Member

@vharsh vharsh commented Nov 17, 2024

High level tasks:

  1. Generate EC Keys using Keymanager
  2. Use it to sign VCs with EcdsaSecp256k1Signature2019 proof (spec)

Upstream library changes(to fix keymanager issue)

Comment on lines 28 to 34
<dependency>
<groupId>io.mosip.certify</groupId>
<artifactId>mock-certify-plugin</artifactId>
<version>0.3.0-SNAPSHOT</version>
<scope>system</scope>
<systemPath>/Users/harshvardhan/work/mosip/digital-credential-plugins/mock-certify-plugin/target/mock-certify-plugin-0.3.0-SNAPSHOT.jar</systemPath>
</dependency>
Copy link
Member Author

Choose a reason for hiding this comment

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

drop this change

@vharsh vharsh force-pushed the add_ec_keys branch 2 times, most recently from 7bd88de to f79e685 Compare November 17, 2024 04:51
@vharsh vharsh changed the title [INJIMOB-2275] generate EC K1 key in keymanager [INJIMOB-2275] add support for EcdsaSecp256k1Signature2019 Nov 18, 2024
Comment on lines +122 to +125
KeyPairGenerateRequestDto ecK1Key = new KeyPairGenerateRequestDto();
ecK1Key.setApplicationId(KeyManagerConstants.CERTIFY_ECK1_APPID);
ecK1Key.setReferenceId(KeyManagerConstants.EC_SECP256K1_SIGN);
keymanagerService.generateECSignKey("certificate", ecK1Key);
Copy link
Member Author

Choose a reason for hiding this comment

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

This does not work right now and errors out.

Copy link
Member Author

Choose a reason for hiding this comment

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

@nagendra0721 Please look at this changeset as this was failing.

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.

1 participant