Sahamati / rahasya

The project aims to simplify the usage of ECC curve (curve25519) with Diffie-Hellman Key exchange. The work is inline with the Account Aggregator Specification.
Apache License 2.0
13 stars 20 forks source link

DataProvider Error while generating ECDH #6

Closed ChariKundavarapu closed 4 years ago

ChariKundavarapu commented 4 years ago

Hi Sasikumar,

My Self is Charikundavarapu. I am trying build forwardsecrecy code without Springboot code. I have compiled successfully but while trying generate ECDH keypair i am getting error. like "no such provider : BC".

I want access utility class file. Currently i am using provider with static value is "BC". Please can you provide which value need to be use in ECCService Class for provider. ecdh_provider

gsasikumar commented 4 years ago

Add the security provider.
if (Security.getProvider(BouncyCastleProvider.PROVIDER_NAME) == null) { Security.addProvider(new BouncyCastleProvider()); }

ChariKundavarapu commented 4 years ago

Hi SasiKumar,

This is Charikundavarapu from OneMoney. I have raised a ticket on Git repo regarding getKeyMaterial guidance. Can you please check and provide the solution for that issue. I am sharing screen regarding the issue.

On Thu, Jul 30, 2020 at 10:57 PM Sasikumar Ganesan notifications@github.com wrote:

Add the security provider. if (Security.getProvider(BouncyCastleProvider.PROVIDER_NAME) == null) { Security.addProvider(new BouncyCastleProvider()); }

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gsasikumar/forwardsecrecy/issues/6#issuecomment-666544443, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQONQ7UNSBHHQIRQU233X4LR6GUOLANCNFSM4PNYATMA .