diff --git a/hopenpgp-tools.cabal b/hopenpgp-tools.cabal
--- a/hopenpgp-tools.cabal
+++ b/hopenpgp-tools.cabal
@@ -1,6 +1,6 @@
 cabal-version:       3.0
 name:                hopenpgp-tools
-version:             0.23.11
+version:             0.23.11.1
 synopsis:            hOpenPGP-based command-line tools
 description:         command-line tools for performing some OpenPGP-related operations
 homepage:            https://salsa.debian.org/clint/hOpenPGP-tools
@@ -8,10 +8,14 @@
 license-file:        LICENSE
 author:              Clint Adams
 maintainer:          Clint Adams <clint@debian.org>
-copyright:           2012-2025 Clint Adams
+copyright:           2012-2026 Clint Adams
 category:            Codec, Data
 build-type:          Simple
 
+flag use-memory
+  description: Use the 'memory' package instead of 'ram'
+  default: False
+
 common deps
   autogen-modules:     Paths_hopenpgp_tools
   build-depends:       base                   > 4.9       && < 5
@@ -54,15 +58,17 @@
   build-depends:       base16-bytestring
                ,       conduit-extra          >= 1.1
                ,       containers
-               ,       crypton
                ,       http-client            >= 0.4.30
                ,       http-client-tls
                ,       http-types
-               ,       memory
                ,       openpgp-asciiarmor     >= 0.1
                ,       prettyprinter-ansi-terminal >= 1.1.2
                ,       time
                ,       time-locale-compat
+  if flag(use-memory)
+    build-depends: crypton < 1.1.0, memory
+  else
+    build-depends: crypton >= 1.1.0, ram
   default-language: Haskell2010
 
 executable hkt
@@ -111,4 +117,4 @@
 source-repository this
   type:     git
   location: https://salsa.debian.org/clint/hopenpgp-tools.git
-  tag:      hopenpgp-tools/0.23.8
+  tag:      hopenpgp-tools/0.23.11.1
