Jump to page: 1 24  
Page
Thread overview
Botan Crypto and TLS for D
Feb 17, 2015
Etienne
Feb 17, 2015
Etienne
Feb 18, 2015
ketmar
Feb 18, 2015
Etienne Cimon
Feb 18, 2015
ketmar
Feb 18, 2015
ketmar
Feb 18, 2015
Jacob Carlborg
Feb 18, 2015
Etienne Cimon
Feb 18, 2015
Paolo Invernizzi
Feb 18, 2015
Etienne Cimon
Feb 18, 2015
Etienne Cimon
Feb 19, 2015
Dragos Carp
Feb 18, 2015
Martin Nowak
Feb 18, 2015
Rikki Cattermole
Feb 18, 2015
Etienne Cimon
Feb 18, 2015
Rikki Cattermole
Feb 18, 2015
Etienne Cimon
Feb 18, 2015
Craig Dillabaugh
Feb 18, 2015
Craig Dillabaugh
Mar 25, 2015
Chris Desjardins
Feb 18, 2015
Joakim
Feb 18, 2015
ketmar
Feb 18, 2015
Etienne Cimon
Feb 18, 2015
Etienne Cimon
Feb 18, 2015
Paolo Invernizzi
Feb 18, 2015
Mathias Lang
Feb 18, 2015
Etienne
February 17, 2015
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
btw link: https://github.com/etcimon/botan
February 18, 2015
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
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
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
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
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
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
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
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
« First   ‹ Prev
1 2 3 4