Skip to content

Support version 3.10.0 of the Botan C++ library #78

@jorisdral

Description

@jorisdral

It has been released on 2025-11-06

What follows is a list of excerpts from the changelog that are relevant for the Haskell bindings.

Release Notes

Version 3.10.0, 2025-11-06

...

  • Fix a bug preventing botan_srp6_server_session_step1 from being reinvoked
    (GH #5112 #5135)

The bugfix is useful but not relevant us. We are already working around the bug since #65, and I think we should keep the workaround because it has a sensible API. Though we should probably update the notes/warnings we added in #65.

  • Update notes related to a bug in in botan_srp6_server_session_step1. Search for references to https://github.com/randombit/botan/issues/5112 in the code to find the note

...

  • Add new FFI functions for loading elliptic curve keys in SEC1 format (GH #5083)

This adds the following new functions:

  • botan_pubkey_load_ecdsa_sec1
  • botan_pubkey_load_ecdh_sec1
  • botan_pubkey_load_sm2_sec1

Sadly, documentation of these new functions for the https://botan.randombit.net/handbook/api_ref/ffi.html website is not included. Still, we should create indings for these new functions.

  • Create Haskell bindings for new botan_pubkey_load_* functions.
  • Add new FFI functions for viewing the value of a botan_mp_t (GH #5131)

This adds the following new functions:

  • botan_mp_view_hex
  • botan_mp_view_str
  • botan_mp_view_bin

Which are documented on the https://botan.randombit.net/handbook/api_ref/ffi.html website! Nice 😁

  • Create Haskell bindings for the new botan_mp_view_* functions

...

  • Correct documentation/comments relating to the maximum output length
    that botan_mp_to_hex might write (GH #5131 #5129)

This should probably be updated in our documentation as well

  • Update botan_mp_to_hex documentation

...

  • Remove various internal references to "EME", an obsolete term used for RSA
    encryption padding that originates from IEEE 1363. (GH #5055)

I've seen the term EME in the Haskell bindings as well. Should we replace this term for something along the lines of "Encryption Padding Scheme / EMS"?

  • Replace occurrences of EME terminology

Metadata

Metadata

Assignees

Labels

CIContinuous integration / GitHub ActionsbotanRelated to the botan packagebotan-bindingsRelated to the botan-bindings packagebotan-lowRelated to the botan-low packagedependenciesPull requests that update a dependency fileenhancementNew feature or requestpriority: high

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions