all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#62960] [PATCH] gnu: cryptsetup: Update to 2.6.1.
@ 2023-04-19 23:24 Jonathan Brielmaier
  2023-04-19 23:38 ` Jonathan Brielmaier
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Brielmaier @ 2023-04-19 23:24 UTC (permalink / raw)
  To: 62960; +Cc: Jonathan Brielmaier

* gnu/packages/cryptsetup.scm (cryptsetup): Update to 2.6.1.
[native-inputs]: Add ruby-asciidoctor.
[inputs]: Add libssh.
(cryptsetup-static)[arguments]: Disable asciidoc and ssh token support.
---
 gnu/packages/cryptsetup.scm | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/cryptsetup.scm b/gnu/packages/cryptsetup.scm
index d8a6437259..cdeed5c26a 100644
--- a/gnu/packages/cryptsetup.scm
+++ b/gnu/packages/cryptsetup.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2023 Jonathan Brielmaier <jonathan.brielmaier@web.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -30,12 +31,14 @@ (define-module (gnu packages cryptsetup)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages popt)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages ruby)
+  #:use-module (gnu packages ssh)
   #:use-module (gnu packages web))

 (define-public cryptsetup
   (package
    (name "cryptsetup")
-   (version "2.3.7")
+   (version "2.6.1")
    (source (origin
             (method url-fetch)
             (uri (string-append "mirror://kernel.org/linux/utils/cryptsetup/v"
@@ -43,7 +46,7 @@ (define-public cryptsetup
                                 "/cryptsetup-" version ".tar.xz"))
             (sha256
              (base32
-              "1a97rvi6arsj8dikh1qsvixx9rizm89k155q2ypifqlqllr530v1"))))
+              "14s6vbb9llpgnhmv0badxxzhi73jp4vyvp8swk4bjah7l5jys3a1"))))
    (build-system gnu-build-system)
    (arguments
     `(#:configure-flags
@@ -55,11 +58,13 @@ (define-public cryptsetup
        ;; GRUB 2.06 supports LUKS2, but does it reliably support all set-ups…?
        "--with-default-luks-format=LUKS1")))
    (native-inputs
-    (list pkg-config))
+    (list pkg-config
+          ruby-asciidoctor))
    (inputs
     (list argon2
           json-c
           libgcrypt
+          libssh
           lvm2 ; device-mapper
           popt
           `(,util-linux "lib"))) ;libuuid
@@ -110,7 +115,9 @@ (define-public cryptsetup-static
                            ;; The default is OpenSSL which provides better PBKDF performance.
                            "--with-crypto_backend=gcrypt"

+                           "--disable-asciidoc"
                            "--disable-blkid"
+                           "--disable-ssh-token"
                            ;; 'libdevmapper.a' pulls in libpthread, libudev and libm.
                            "LIBS=-ludev -pthread -lm")

--
2.39.2





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#62960] [PATCH] gnu: cryptsetup: Update to 2.6.1.
  2023-04-19 23:24 [bug#62960] [PATCH] gnu: cryptsetup: Update to 2.6.1 Jonathan Brielmaier
@ 2023-04-19 23:38 ` Jonathan Brielmaier
  2023-04-23 15:07   ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Brielmaier @ 2023-04-19 23:38 UTC (permalink / raw)
  To: 62960

Inspired by this blog post https://mjg59.dreamwidth.org/66429.html I
wanted to upgrade my LUKS partition to version 2 and argon2id on my
existing Guix System.

It seems a bit tricky. With the updated cryptsetup tool I cannot convert
the LUKS partition of the running system (cryptsetup@2.3.7 still allowed
that). So I booted an Arch Livesystem and converted from there, but Guix
System refuses to boot.
It hangs in Grub console saying that cryptuuid could not be found.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#62960] [PATCH] gnu: cryptsetup: Update to 2.6.1.
  2023-04-19 23:38 ` Jonathan Brielmaier
@ 2023-04-23 15:07   ` Leo Famulari
  0 siblings, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2023-04-23 15:07 UTC (permalink / raw)
  To: Jonathan Brielmaier; +Cc: 62960

On Thu, Apr 20, 2023 at 01:38:52AM +0200, Jonathan Brielmaier wrote:
> Inspired by this blog post https://mjg59.dreamwidth.org/66429.html I
> wanted to upgrade my LUKS partition to version 2 and argon2id on my
> existing Guix System.
> 
> It seems a bit tricky. With the updated cryptsetup tool I cannot convert
> the LUKS partition of the running system (cryptsetup@2.3.7 still allowed
> that). So I booted an Arch Livesystem and converted from there, but Guix
> System refuses to boot.
> It hangs in Grub console saying that cryptuuid could not be found.

You might need to check on which versions of cryptsetup GRUB is
compatible with. And also which cryptsetup features are supported by
GRUB.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-23 16:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-19 23:24 [bug#62960] [PATCH] gnu: cryptsetup: Update to 2.6.1 Jonathan Brielmaier
2023-04-19 23:38 ` Jonathan Brielmaier
2023-04-23 15:07   ` Leo Famulari

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.