botan icon indicating copy to clipboard operation
botan copied to clipboard

How up to date is this library?

Open ethindp opened this issue 2 years ago • 4 comments

How up to date does this library go in terms of upstream Botan version? Does it support Botan 3 (latest version is 3.1.1) or is it still on Botan 2?

ethindp avatar Sep 06 '23 04:09 ethindp

This library is based on Botan 2, it doesn't apply the constant time operations and it's missing some algorithms but it's still very useful due to its convenient object-oriented crypto collection and ASN.1 decoder/encoder support. It is well optimized and includes much of the memory protection features of D.

etcimon avatar Sep 06 '23 12:09 etcimon

@etcimon I know, Botan is definitely a good library and I imagine that D could only add to it. Are there any plans to synchronize with Botan 3?

ethindp avatar Sep 06 '23 14:09 ethindp

I ask particularly since Botan 3 has TLS 1.3 support, among a variety of other changes.

ethindp avatar Sep 06 '23 14:09 ethindp

Yes, TLS 1.3 is the more interesting change. I've looked into it and it would require creating an interface out of the current objects and 2 implementations, for 1.2 and 1.3

etcimon avatar Sep 06 '23 15:09 etcimon