World: r3wp
[SDK]
older | first |
MikeL 14-Jan-2012 [1849] | Rondon, Using Rebol View 2.7.8.3.1 on Win/XP I ran your test and decrypt gives back "This is a string" |
Rondon 14-Jan-2012 [1850] | Mike, I'm using Rebol /Cmd, because when I call rebol/view at my isp, I receive an error of libX not found.. |
TomBon 14-Jan-2012 [1851] | gab, right. e.g md5 for simple password security and rsa for dataflow. the javascript link above containing RSA functions too just to step in. |
Gabriele 16-Jan-2012 [1852] | Graham: IIRC Maarten was able to use AES with REBOL and OpenSSL. I seem to remember that I had tried that and was successful as well. In any case, the only reason I can think of that would make it not work is a difference in the IV and padding. |
Cyphre 16-Jan-2012 [1853] | Graham: I was able to implement TLS1.0 protocol configured to use the TLS_RSA_WITH_RC4_128_SHA cipher-suite. All the mentioned algorithms were calculated using the build-in Rebol2 encryption functionality. I had no problems regarding the compatibility. I haven't tried the cipher-suite with the AES enctryption though but my guess it will work as well. |
Dockimbel 16-Jan-2012 [1854] | Cyphre: do you plan to release it in open source? Is your implementation client-side, server-side or both? It would be a great addition to Cheyenne to support SSL natively. |
Pekr 16-Jan-2012 [1855] | That's how imo SSL support should be implemented - not as an hardwired C implementation, but using Rebol crypto facilities, and being part of Core, not Command ... |
GrahamC 16-Jan-2012 [1856x2] | Interesting ... |
Ditto on what doc says | |
Cyphre 18-Jan-2012 [1858] | Doc: the code is in sort of "prototype state" and It was meant as possible implementation for R3 in future (once Carl put the encryption algorithms codebase into the R3/host-kit or someone write an extension for that). I wrote it because I wanted to know if we could get rid of unnecesary C code that is currently in R2 to just handle the protocol logic while the performance of the crypto algorithms will remain in C. The current size is less than 20Kb of Rebol script code so IMO it could be useful and also easier maintainable way. Currently it works in client-side mode only but there is already support for ASN.1 certificates also I tried to write the code so the server-side mode and other cipher-suites shouldn't be hard to add. I plan to release the prototype to open public after some cleanup but if you want to waste some time with the current 'raw stuff' just post me privately and I'll send you a copy. |
GrahamC 18-Jan-2012 [1859] | github? |
Cyphre 19-Jan-2012 [1860x2] | ok, you can get it here: https://github.com/cyphre/tls-prototype |
(use at your own risk ;)) | |
Dockimbel 19-Jan-2012 [1862] | Cool, thanks Cyphre! There's no license attached, you should at least add a MIT/BSD license in the header. |
GrahamC 19-Jan-2012 [1863] | +1 |
Andreas 19-Jan-2012 [1864] | Thanks Cyphre, _much_ appreciated. |
Cyphre 19-Jan-2012 [1865] | Doc: license added. |
Dockimbel 19-Jan-2012 [1866:last] | Thanks. :-) |
older | first |