Board.KolibriOS.org http://board.kolibrios.org/ |
|
TLS library http://board.kolibrios.org/viewtopic.php?f=24&t=3290 |
Page 1 of 2 |
Author: | DenisKarpenko [ Wed Jun 01, 2016 1:41 am ] |
Post subject: | TLS library |
Hi everyone! Currently I am working on TLS library! I am working according to https://tools.ietf.org/html/rfc5246. Project repo: https://github.com/Bandd-k/TLS-Library My GSoC proposal: https://docs.google.com/document/d/1RF1 ... IR3zJERgiU Now I am working on TLS handshake function. I've implemented clientHello. I've received serverHello. Now I am working on extracting public key for RSA algorithm from certificate in DER Format. I will be posting information about progress to this topic. Denis ![]() |
Author: | ashmew2 [ Thu Jun 02, 2016 3:34 pm ] |
Post subject: | Re: TLS library |
Keep going! |
Author: | DenisKarpenko [ Tue Jun 07, 2016 2:03 pm ] |
Post subject: | Re: TLS library |
Public key was extracted (Modulus and Exponent). I continue to work on RSA ![]() |
Author: | DenisKarpenko [ Wed Jun 15, 2016 12:28 pm ] |
Post subject: | Re: TLS library |
I am working on HMAC. I hope, that in next few days I will introduce it. |
Author: | DenisKarpenko [ Mon Jun 20, 2016 11:29 am ] |
Post subject: | Re: TLS library |
HMAC is ready. I am waiting a review from hidnplayr. And will make some corrections. https://github.com/Bandd-k/TLS-Library/blob/master/hmac.inc Feel free to check my assembler style ![]() |
Author: | Pathoswithin [ Mon Jun 20, 2016 1:13 pm ] |
Post subject: | Re: TLS library |
There are question about 4 spaces before local label: somebody likes them, somebody don't. Anyway, don't forget about anonymous labels (@@:). |
Author: | DenisKarpenko [ Mon Jun 20, 2016 1:57 pm ] |
Post subject: | Re: TLS library |
Thank you. Yes, you are right, I forgot about anonymous labels ![]() The second option is absolutely without spaces before local labels, yes? |
Author: | Pathoswithin [ Mon Jun 20, 2016 7:09 pm ] |
Post subject: | Re: TLS library |
Yes. Takes few seconds to autoreplace though. |
Author: | DenisKarpenko [ Sun Jun 26, 2016 6:20 pm ] |
Post subject: | Re: TLS library |
I have written new HMAC version (now, it has more convenient interface to use). https://github.com/Bandd-k/TLS-Library/blob/master/hmac.inc Implemented pseudo random function which is explained there https://tools.ietf.org/html/rfc5246#section-5. https://github.com/Bandd-k/TLS-Library/blob/master/PRF.inc RSA is almost ready. Last step is combining different parts. |
Author: | DenisKarpenko [ Thu Jul 28, 2016 8:38 pm ] |
Post subject: | Re: TLS library |
I have not written posts for a long time. However work is progressing. Progress: 1) New HMAC. 2) New Pseudo random function. 3) RSA is finished. 4) Client Exchange Message is done. 5) Change cipher Message is done. Now I am going to tidy code slightly. Coding plans: 1) Calculate Master Key. https://tools.ietf.org/html/rfc5246#section-8.1 2) Implement Finished Message. https://tools.ietf.org/html/rfc5246#section-7.4.9 |
Author: | DenisKarpenko [ Sun Aug 21, 2016 9:08 pm ] |
Post subject: | Re: TLS library |
Basic TLS_recieve and TLS_send were implemented. Now, I am going to clean code, write documentation. And make Library easier to using. |
Author: | DenisKarpenko [ Tue Aug 23, 2016 11:47 am ] |
Post subject: | Re: TLS library |
I've prepared gist about my work durning the summer ![]() https://gist.github.com/Bandd-k/9c1a5c0ca664fcd3f027e44a81258893 |
Author: | Wildwest [ Tue Aug 23, 2016 7:26 pm ] |
Post subject: | Re: TLS library |
Can you go to GSOC site and make report? ASAP, please. |
Author: | stefano [ Thu Oct 13, 2016 4:48 pm ] |
Post subject: | Re: TLS library |
Amazing work @DenisKarpenko! I wish you could keep working on it, because this would allow to write applications for web APIs like a simple Twitter app. I haven't tested the release but I watched the demo in the Github repository. I have an old laptop where I'm going to install Kolibri and take a look at your implementation. How much did Google pay you for your work? Because I want to see full support for TLS on Kolibri but I don't have the time to learn assembler at your level (and I don't really want right now). So, maybe I can pay you (and your mentor?) to keep working on it. For the guys that remember me: sorry for not being active. Today I noticed this work from GSOC 2016 and I was "THIS IS GREAT!!" hehe By the way, would be great to have HTTPS support on *.kolibrios.org. Whoever is in charge of that may want to check out https://letsencrypt.org/, because they provide free certificates. |
Author: | DenisKarpenko [ Thu Oct 13, 2016 6:12 pm ] |
Post subject: | Re: TLS library |
Hi esevece! Your comments are very pleasant ![]() How much Google pays you can read there https://developers.google.com/open-source/gsoc/faq#do_i_get_paid_for_participating_in_gsoc. Unfortunately I have some problems at my university, so I am not working on library now ![]() I am going to continue work on library in November. The library will provide full base support for TLS. It should be enough to make for example a simple Twitter app. Feel free to ask any questions! I will be glad to answer ![]() |
Page 1 of 2 | All times are UTC+03:00 |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |