From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 17 23:56:50 2021 Received: (at 52483) by debbugs.gnu.org; 18 Dec 2021 04:56:50 +0000 Received: from localhost ([127.0.0.1]:41064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myRm6-0004cP-9m for submit@debbugs.gnu.org; Fri, 17 Dec 2021 23:56:50 -0500 Received: from mail-qv1-f46.google.com ([209.85.219.46]:35465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myRm4-0004cD-9o for 52483@debbugs.gnu.org; Fri, 17 Dec 2021 23:56:49 -0500 Received: by mail-qv1-f46.google.com with SMTP id kj16so332913qvb.2 for <52483@debbugs.gnu.org>; Fri, 17 Dec 2021 20:56:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=lF/c/QaE4Ijf3OnRciQuRRIl9zETRzHfhdWSko6YQmw=; b=o3hPhTRUC6j38PSGJSpRjCP3MlD+ruEks3+vuoMF1eGeyWUTWBiceZpw+hLYXz3yqF 8A9sfJ4XBGehjMOTNxVuSkjMyRYKzEJ2z2v+92FRF5ksFuqA9DgEv3cVgYlNSIsCoH9I Sut7eOcdzbsTucuAMpMFNuIE0bFlY3Ws3AxjWmC6I+zk0+RwHXC6AtHld0PjbLzM3mmp +n+9cKthHfN/+faOB2eXbb192CGkQfeZN3hwRYVXQL+iH6Nh1AbaaWi6C4w/9SwSMbXW X3VG7JwYiBdx69AeY1V7ZtGT0X6WiNkSUBd7lgVzGZPXLlF1xpenaN0qb9qRKos4TdJd wOVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=lF/c/QaE4Ijf3OnRciQuRRIl9zETRzHfhdWSko6YQmw=; b=OcdicDvuXJgmRNO9rzhnsQ7Q8FBJ/PU+C1mHw9SoQ+VqBeAKdUhLyn7sCdXKcu0wdh ou8/1A/I1IY1ioV2lsC+DaS1wLo4fYZNaVyroVvs4Aegp1ZWSzc8eXILHzlmWwrEROc5 GgOIEcgvlsIJCBuMdyotBtEQ7ztajTvxIp8eqBbz5FfL5BNy//ToLUEBVqqCELATDXvY 8EfQpyoQ7XJ9v/psrKbg+Wvkt6xp5r3neH+Wp+g3AwjHBtUXSlw6PEBr5oA1G8nV31kh +5bLstBS9dYzeOmx3s9eyMia6jb1G7zADBnWVhWGEXGcWvOYVsGJZuKCcN7kdiBc/x0v ZNpA== X-Gm-Message-State: AOAM532rBvTvRxTZhvq7+fitnybWJVmeY7+n/WlOCksA+CRHj0vGlO6J L7N7NbzFn4Bmx4L1jN7X9k9j7jIJfGQ= X-Google-Smtp-Source: ABdhPJz9JA6D6LZ/63E4mr7QJzWF5HJfkeqO9+KSQ/hXKZZ91wLRI88zw3QQ6Xd8hVOUZdeo0Guwug== X-Received: by 2002:a05:6214:2523:: with SMTP id gg3mr5296176qvb.56.1639803402532; Fri, 17 Dec 2021 20:56:42 -0800 (PST) Received: from hurd ([207.35.95.41]) by smtp.gmail.com with ESMTPSA id s4sm6441041qko.47.2021.12.17.20.56.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Dec 2021 20:56:42 -0800 (PST) From: Maxim Cournoyer To: Leo Famulari Subject: Re: bug#52483: GnuPG 2.2.30 cannot do symmetric encryption References: Date: Fri, 17 Dec 2021 23:56:41 -0500 In-Reply-To: (Leo Famulari's message of "Fri, 17 Dec 2021 12:32:10 -0500") Message-ID: <87mtky4ik6.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52483 Cc: 52483@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi! Leo Famulari writes: > On Tue, Dec 14, 2021 at 12:33:39PM -0500, Leo Famulari wrote: >> -(define-public gnupg-2.2.32 >> +(define-public gnupg-next > > I noticed that this package variant omits the pinentry patch. In any > case, I'm testing a full upgrade of gnupg to 2.2.33 for the version-1.4.0 > branch. I'm testing this: --8<---------------cut here---------------start------------->8--- gnu: gnupg: Update to 2.3.3. * gnu/packages/gnupg.scm (gnupg): Update to 2.3.3. (gnupg-2.2.32): Delete variable. (qgpgme)[native-inputs]: Use the regular gnupg package. 1 file changed, 4 insertions(+), 28 deletions(-) gnu/packages/gnupg.scm | 32 ++++---------------------------- modified gnu/packages/gnupg.scm @@ -279,15 +279,15 @@ (define-public npth (define-public gnupg (package (name "gnupg") - (version "2.2.30") + (version "2.3.3") (source (origin (method url-fetch) - (uri (string-append "mirror://gnupg/gnupg/gnupg-" version + (uri (string-append "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-" version ".tar.bz2")) (patches (search-patches "gnupg-default-pinentry.patch")) (sha256 (base32 - "1111ry31gaxv76miqsy6l0kwxwlx8sz0jk41jhyrjwx649p6sqyc")))) + "0dz9x0r5021bhk1kjh29m1q13xbslwb8yn9qzcp7b9m1lrnvi2ap")))) (build-system gnu-build-system) (native-inputs (list pkg-config)) @@ -347,25 +347,6 @@ (define-public gnupg (properties '((ftp-server . "ftp.gnupg.org") (ftp-directory . "/gcrypt/gnupg"))))) -(define-public gnupg-2.2.32 - (package - (inherit gnupg) - (version "2.2.32") - - ;; Hide this version because packages like 'emacs-pinentry' propagate the - ;; default GnuPG and "guix install gnupg emacs-pinentry" would fail with a - ;; collision error. - (properties `((hidden? . #t) - ,@(package-properties gnupg))) - - (source (origin - (inherit (package-source gnupg)) - (uri (string-append "mirror://gnupg/gnupg/gnupg-" version - ".tar.bz2")) - (sha256 - (base32 - "0506gv54z10c96z5821z9p0ksibk1pfilsmag39ffqrcz0sinmxj")))))) - (define-public gnupg-1 (package (inherit gnupg) (version "1.4.23") @@ -437,14 +418,9 @@ (define-public qgpgme "lang/cpp/src/libgpgmepp.la") (symlink (string-append gpgme "/lib/libgpgme.la") "src/libgpgme.la")) - (chdir "lang/qt") - #t))))) + (chdir "lang/qt")))))) (native-inputs - ;; Use GnuPG 2.2.32. With 2.2.30, 'testSymmetricEncryptDecrypt' in - ;; t-encrypt.cpp fails because 'gpg' wrongfully ask for a passphrase do - ;; decrypt the cypher text. (modify-inputs (package-native-inputs gpgme) - (replace "gnupg" gnupg-2.2.32) (prepend pkg-config))) (inputs (modify-inputs (package-inputs gpgme) --8<---------------cut here---------------end--------------->8--- Maxim