Skip to content

Request: Deprecate botan2 #445861

Closed
Closed

Description

@71rd

This issue proposes removing botan2, updating all dependent package to botan3 if possible, or remove unmaintained applications.

The botan2 library does not build with GCC-15 breaking when upgrading the default compiler from GCC-14.
Version 2 of botan has been end-of-life since January of 2025, as noticed in #440456 (comment) and wont be updated any more, with the maintainers recommending updating to botan 3.

#446100 patches Botan2 to build with GCC-15, to minimise friction until botan2 has been fully deprecated

Packages still depending directly on botan2 are:

Actually Remove Package

Activity

  1. added
    6.topic: old-versions
    0.kind: build failure
    on Sep 24, 2025
  2. corngood commented on Sep 25, 2025

    @corngood
    Contributor

    chickenPackages_5

    This is chickenPackages_5.chickenEggs.botan, which a bindings package for botan 2. It's here because we batch convert the whole chicken package repository to nix, so I think it's fine to mark it broken.

  3. 71rd commented on Sep 25, 2025

    @71rd
    ContributorAuthor

    This is chickenPackages_5.chickenEggs.botan, which a bindings package for botan 2. It's here because we batch convert the whole chicken package repository to nix, so I think it's fine to mark it broken.

    Thank you, sounds good.
    I will mark it as broken in the eventual pull-request to remove botan2 then

  4. nikstur commented on Oct 13, 2025

    @nikstur
    Contributor

    @7c6f434c only monotone is left depending on botan2. Do you have any opinions on keeping monotone around? It seems pretty abandoned (but I don't know anything about it).

  5. 7c6f434c commented on Oct 13, 2025

    @7c6f434c
    Member

    I am honestly considering quietly bundling botan2 inside it, given that it uses the most boring parts of it, not the ones with the interesting bugs being fixed. Although possibly it also means that a migration to botan3 is a small patch similar to botan2 patch I picked from the remains of the upstream. It is still the DVCS with the model-of-world making the most sense to me, so I will keep using it anyway.

  6. nikstur commented on Oct 14, 2025

    @nikstur
    Contributor

    A patch for monotone to use botan3 would be ideal. botan2 is increasingly becoming more of a liability than asset. We should probably already mark it insecure because we don't include some of the patches other distros do.

  7. 7c6f434c commented on Oct 14, 2025

    @7c6f434c
    Member

    I think realistic use cases of Monotone today don't even hit Botan1 vulnerabilities… (even a server doesn't sign things in real time, just verifies client-submitted signatures and transmits pre-signed objects, so use of timing attacks is complicated; the other issues were in newer stuff than SHA1/RSA last when I checked — although SHA1-DC migration probably needs an explicit patch).

    EC stuff (on top of work stuff) doesn't help with getting around to try full migration, honestly, but I think I can quickly move botan2 inside Monotone (and keep it in a let) so that no other use cases with larger functionality coverage is possible. Would it help?

  8. nikstur commented on Oct 16, 2025

    @nikstur
    Contributor

    I think I can quickly move botan2 inside Monotone (and keep it in a let) so that no other use cases with larger functionality coverage is possible. Would it help?

    I think this would be a good idea so that we can get rid of botan2 and treat monotone as a specially maintained package. Otherwise, we probably won't be able to get rid of it at all.

  9. 7c6f434c commented on Oct 19, 2025

    @7c6f434c
    Member

    Vendored (and the import of this copy of Botan2 without promising it is for Monotone sets knownVulnerabilities)

  10. added a commit that references this issue on Oct 25, 2025
    0a6777c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failure6.topic: old-versions

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions