From 77dc49084a92771e96c7cfc487e39b3cb487975f Mon Sep 17 00:00:00 2001 From: Dev <9416650+aoinoikaz@users.noreply.github.com> Date: Fri, 4 Dec 2026 00:22:01 -0500 Subject: [PATCH] Toolchain: crypton 2, and the index state that offers it --- cabal.project | 2 +- changelog.d/crypton-2.md | 1 + nova-cache.cabal | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 changelog.d/crypton-2.md diff --git a/cabal.project b/cabal.project index 14c30ea..4c5caad 100644 --- a/cabal.project +++ b/cabal.project @@ -3,7 +3,7 @@ packages: . -- Pin the dependency universe: local, CI, and contributor builds resolve -- identical versions regardless of when they last ran cabal update. Bump -- deliberately - a fresh timestamp - when adopting new releases. -index-state: 2026-11-01T10:08:12Z +index-state: 2026-12-02T23:48:37Z -- The xz binding defaults to a pkg-config-found system liblzma and -- falls back to the bundled sources, so which library a build links diff --git a/changelog.d/crypton-2.md b/changelog.d/crypton-2.md new file mode 100644 index 0000000..f02ae6e --- /dev/null +++ b/changelog.d/crypton-2.md @@ -0,0 +1 @@ +- **nova-cache builds with crypton 2: the bound is `crypton >= 1.1 && < 3`.** crypton's 2.x releases refuse input their specifications rule out and carry fixes from security reviews, and nova-cache builds and passes its tests against 2.3.0 unchanged. One change reaches nova-cache's behavior: from 2.0, crypton's Ed25519 verification refuses a non-canonical signature, which 1.x accepted, so a narinfo signed that way does not verify in a build with crypton 2. diff --git a/nova-cache.cabal b/nova-cache.cabal index 91a0de4..612ae23 100644 --- a/nova-cache.cabal +++ b/nova-cache.cabal @@ -57,7 +57,7 @@ library , base64-bytestring >= 1.2 && < 1.3 , bytestring >= 0.11 && < 0.13 , containers >= 0.6 && < 0.9 - , crypton >= 1.1 && < 2 + , crypton >= 1.1 && < 3 , directory >= 1.3.8 && < 1.4 , filepath >= 1.4.100 && < 1.6 , http-types >= 0.12 && < 0.13 @@ -199,7 +199,7 @@ test-suite nova-cache-test , base64-bytestring >= 1.2 && < 1.3 , bytestring >= 0.11 && < 0.13 , containers >= 0.6 && < 0.9 - , crypton >= 1.1 && < 2 + , crypton >= 1.1 && < 3 , directory >= 1.3.1.0 && < 1.4 , filepath >= 1.4.100 && < 1.6 , http-types >= 0.12 && < 0.13