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

Generate Derived Key from Shared Secret (ECDH-ES) #18

Open
roshit-omanakuttan opened this issue May 26, 2017 · 8 comments
Open

Generate Derived Key from Shared Secret (ECDH-ES) #18

roshit-omanakuttan opened this issue May 26, 2017 · 8 comments

Comments

@roshit-omanakuttan
Copy link

Hi,
Great library and I have been able to seamlessly generate the Keys.
How would I now be able to generate a Derived Key as mentioned here:
https://tools.ietf.org/html/rfc7518#section-4.6

Thanks

@roshit-omanakuttan roshit-omanakuttan changed the title Generate Derived Key (ECDH-ES) Generate Derived Key from Shared Secret (ECDH-ES) May 26, 2017
@ElyasNaranjeeSani
Copy link

Hi,
I do need this part too.
Do you have any plan to add KDF too?
@ricmoo
BTW, @roshit-omanakuttan : do you have any alternative for this?

@roshit-omanakuttan
Copy link
Author

@EliasNaranjeeSani, I Unfortunately had to pause that project and hence this remained pending.
However, now I am back on this and am yet to get a solution.
Any luck at your end?

@ElyasNaranjeeSani
Copy link

@roshit-omanakuttan : I just forced to develop this part my self. Used the specifications of KDF and implemented it in Obj-C.

@roshit-omanakuttan
Copy link
Author

roshit-omanakuttan commented Jul 21, 2017

@EliasNaranjeeSani, Is there a chance you would make the implementation public.
If yes, please do share and I would love to use it.

@ElyasNaranjeeSani
Copy link

@roshit-omanakuttan : I would love to but unfortunately its not possible due to company policies.

@roshit-omanakuttan
Copy link
Author

@EliasNaranjeeSani fair enough
@ricmoo please help me. :)

@ricmoo
Copy link
Owner

ricmoo commented Jul 21, 2017

I have no specific plans to implement this, which KDF do you need? You should be able to use the output of the ECDH shared key with any other library though...

@THCode
Copy link

THCode commented Aug 30, 2018

你好,我的公钥是:02bf055764de0320c8221920d856d3d9b93dfc1dcbc759a560fd42553aa025ba5c
请问是通过base64加密后,设置为publickey吗,我通过base64后没有通过检测,我用的 256rl。

2018-08-30 13:53:04.371747+0800 ECDSATest[74077:7476297] These are not the droids you are looking for.
2018-08-30 13:53:04.372137+0800 ECDSATest[74077:7476297] ***** = 96
2018-08-30 13:53:04.372296+0800 ECDSATest[74077:7476297] Decompressed: (null)
2018-08-30 13:53:04.372535+0800 ECDSATest[74077:7476297] Compressed: (null)

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

No branches or pull requests

4 participants