Thread overview | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
February 17, 2015 Botan Crypto and TLS for D | ||||
---|---|---|---|---|
| ||||
I'd like to announce the first release of Botan, which implements all features of v1.11.10 in the C++ library. I gave special attention to properly translating it to correct D code. It only runs with DMD master for now, only tested on Linux x86 or x86_64, and it uses a custom allocator library called memutils which must be placed in ../ I'd also want to underline that Alexander Bothe from Mono-D put some special attention to making sure the IDE runs smoothely with Botan. All tests are passing at the time of this writing (which is thousands of tests for all algorithms, incl x509, pubkeys, tls and so on). I'll let the wiki/api docs/code talk for me, I'm off to writing an TLS driver for vibe.d now Have fun! |
February 17, 2015 Re: Botan Crypto and TLS for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Etienne | btw link: https://github.com/etcimon/botan |
February 18, 2015 Re: Botan Crypto and TLS for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Etienne Attachments: | On Tue, 17 Feb 2015 16:00:45 -0500, Etienne wrote:
> I'd like to announce the first release of Botan, which implements all features of v1.11.10 in the C++ library.
>
> I gave special attention to properly translating it to correct D code.
>
> It only runs with DMD master for now, only tested on Linux x86 or x86_64, and it uses a custom allocator library called memutils which must be placed in ../
>
> I'd also want to underline that Alexander Bothe from Mono-D put some special attention to making sure the IDE runs smoothely with Botan.
>
> All tests are passing at the time of this writing (which is thousands of tests for all algorithms, incl x509, pubkeys, tls and so on).
>
> I'll let the wiki/api docs/code talk for me, I'm off to writing an TLS driver for vibe.d now
so you did it. great! so maybe vibe.d can drop that OpenSSL dependency soon. ;-)
|
February 18, 2015 Re: Botan Crypto and TLS for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to ketmar | On 2015-02-17 19:11, ketmar wrote:
> so you did it. great! so maybe vibe.d can drop that OpenSSL dependency
> soon. ;-)
>
Apart from the debugging experience, there's something empowering about having all the low-level stuff available in Mono-D when writing a website =)
Other than that, it's also easier to customize (through inheritance). It also compiles faster 6-7 seconds (D) vs 70 seconds (C++). My favorite part is: vibe.d projects now compiles the entire software stack into a fully-featured standalone executable without any license issues.
I'll be working on HTTP/2 with websocket-style full duplex communications once this is done, and then a CMS that has a windows explorer-like desktop front-end with a redis filesystem and distributed node management. So many nice projects :D
|
February 18, 2015 Re: Botan Crypto and TLS for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Etienne | On 18/02/2015 10:00 a.m., Etienne wrote:
> I'd like to announce the first release of Botan, which implements all
> features of v1.11.10 in the C++ library.
>
> I gave special attention to properly translating it to correct D code.
>
> It only runs with DMD master for now, only tested on Linux x86 or
> x86_64, and it uses a custom allocator library called memutils which
> must be placed in ../
>
> I'd also want to underline that Alexander Bothe from Mono-D put some
> special attention to making sure the IDE runs smoothely with Botan.
>
> All tests are passing at the time of this writing (which is thousands of
> tests for all algorithms, incl x509, pubkeys, tls and so on).
>
> I'll let the wiki/api docs/code talk for me, I'm off to writing an TLS
> driver for vibe.d now
>
> Have fun!
I'm quite excited by this.
I do hope however that we get an ssh library now. Maybe git + mercurial + svn as well.
We could do so much with that!
|
February 18, 2015 Re: Botan Crypto and TLS for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rikki Cattermole | On 2015-02-17 20:54, Rikki Cattermole wrote: > On 18/02/2015 10:00 a.m., Etienne wrote: >> I'd like to announce the first release of Botan, which implements all >> features of v1.11.10 in the C++ library. >> >> I gave special attention to properly translating it to correct D code. >> >> It only runs with DMD master for now, only tested on Linux x86 or >> x86_64, and it uses a custom allocator library called memutils which >> must be placed in ../ >> >> I'd also want to underline that Alexander Bothe from Mono-D put some >> special attention to making sure the IDE runs smoothely with Botan. >> >> All tests are passing at the time of this writing (which is thousands of >> tests for all algorithms, incl x509, pubkeys, tls and so on). >> >> I'll let the wiki/api docs/code talk for me, I'm off to writing an TLS >> driver for vibe.d now >> >> Have fun! > > I'm quite excited by this. > I do hope however that we get an ssh library now. Maybe git + mercurial > + svn as well. > We could do so much with that! It looks like this library (using Botan C++) could simply be translated to D code: https://github.com/cdesjardins/ne7ssh The only problem I see is that it's licensed QPL. However, the maintainer is missing and I think the library is simple enough to use it as a guideline/reference (along with other RFCs and libraries) and re-write an ssh library from scratch to get something new and original out of it and possibly use a more open license |
February 18, 2015 Re: Botan Crypto and TLS for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Etienne Cimon | On 18/02/2015 5:01 p.m., Etienne Cimon wrote:
> On 2015-02-17 20:54, Rikki Cattermole wrote:
>> On 18/02/2015 10:00 a.m., Etienne wrote:
>>> I'd like to announce the first release of Botan, which implements all
>>> features of v1.11.10 in the C++ library.
>>>
>>> I gave special attention to properly translating it to correct D code.
>>>
>>> It only runs with DMD master for now, only tested on Linux x86 or
>>> x86_64, and it uses a custom allocator library called memutils which
>>> must be placed in ../
>>>
>>> I'd also want to underline that Alexander Bothe from Mono-D put some
>>> special attention to making sure the IDE runs smoothely with Botan.
>>>
>>> All tests are passing at the time of this writing (which is thousands of
>>> tests for all algorithms, incl x509, pubkeys, tls and so on).
>>>
>>> I'll let the wiki/api docs/code talk for me, I'm off to writing an TLS
>>> driver for vibe.d now
>>>
>>> Have fun!
>>
>> I'm quite excited by this.
>> I do hope however that we get an ssh library now. Maybe git + mercurial
>> + svn as well.
>> We could do so much with that!
>
>
> It looks like this library (using Botan C++) could simply be translated
> to D code:
>
> https://github.com/cdesjardins/ne7ssh
>
> The only problem I see is that it's licensed QPL. However, the
> maintainer is missing and I think the library is simple enough to use it
> as a guideline/reference (along with other RFCs and libraries) and
> re-write an ssh library from scratch to get something new and original
> out of it and possibly use a more open license
I saw that, I was worried about the license as well.
I'll ping Craig. Maybe there is still time for somebody to take it on for GSOC?
|
February 18, 2015 Re: Botan Crypto and TLS for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rikki Cattermole | On 2015-02-17 23:17, Rikki Cattermole wrote:
> I saw that, I was worried about the license as well.
> I'll ping Craig. Maybe there is still time for somebody to take it on
> for GSOC?
One thing for sure, on this one the answer books are open. I'm glad I chose Botan.
For HTTP/2 I'll probably use nghttp2, I was hesitating with the Go implementation.
|
February 18, 2015 Re: Botan Crypto and TLS for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Etienne | On Tuesday, 17 February 2015 at 21:02:33 UTC, Etienne wrote:
> I'd like to announce the first release of Botan, which implements all features of v1.11.10 in the C++ library.
>
> I gave special attention to properly translating it to correct D code.
>
> It only runs with DMD master for now, only tested on Linux x86 or x86_64, and it uses a custom allocator library called memutils which must be placed in ../
>
> I'd also want to underline that Alexander Bothe from Mono-D put some special attention to making sure the IDE runs smoothely with Botan.
>
> All tests are passing at the time of this writing (which is thousands of tests for all algorithms, incl x509, pubkeys, tls and so on).
>
> I'll let the wiki/api docs/code talk for me, I'm off to writing an TLS driver for vibe.d now
Good work. You should write up a post about the experience, perhaps accompanied by benchmarks of the C++ and D code. It will help publicize your project and let others learn from your effort.
|
February 18, 2015 Re: Botan Crypto and TLS for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Etienne | On Tuesday, 17 February 2015 at 21:02:33 UTC, Etienne wrote:
> I'd like to announce the first release of Botan, which implements all features of v1.11.10 in the C++ library.
>
> I gave special attention to properly translating it to correct D code.
>
> It only runs with DMD master for now, only tested on Linux x86 or x86_64, and it uses a custom allocator library called memutils which must be placed in ../
>
> I'd also want to underline that Alexander Bothe from Mono-D put some special attention to making sure the IDE runs smoothely with Botan.
>
> All tests are passing at the time of this writing (which is thousands of tests for all algorithms, incl x509, pubkeys, tls and so on).
>
> I'll let the wiki/api docs/code talk for me, I'm off to writing an TLS driver for vibe.d now
>
> Have fun!
You just made my day! Great work!!
---
Paolo
|
Copyright © 1999-2021 by the D Language Foundation