From unknown Tue Aug 12 08:34:17 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48242] [PATCH] gnu: oath-toolkit: Build libpskc and pskctool. Resent-From: Simon Josefsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 May 2021 18:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48242 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48242@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162023766528980 (code B ref -1); Wed, 05 May 2021 18:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 May 2021 18:01:05 +0000 Received: from localhost ([127.0.0.1]:33641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leLpZ-0007XM-54 for submit@debbugs.gnu.org; Wed, 05 May 2021 14:01:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:48564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leLpW-0007X5-5k for submit@debbugs.gnu.org; Wed, 05 May 2021 14:01:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leLpV-0006gy-Af for guix-patches@gnu.org; Wed, 05 May 2021 14:01:01 -0400 Received: from uggla.sjd.se ([2001:9b1:8633::107]:55210) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leLpR-0003Yd-I2 for guix-patches@gnu.org; Wed, 05 May 2021 14:01:01 -0400 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2101; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ofV3bUJYbr6x58KGMOLeCSDUc1BdJJtcy09FLmHX3Rg=; t=1620237649; x=1621447249; b=gvgYroc6/UsRZtabkn6a6L+MZMtHeXODT16LPMxopI3MKmgBcQzyDnSx8TQuY2Jn6UKgS6ts/T UwpRtwUyV7BQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2101; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ofV3bUJYbr6x58KGMOLeCSDUc1BdJJtcy09FLmHX3Rg=; t=1620237649; x=1621447249; b=rjICTKjHeFkzhDcUsbKamrefteCn03ojhOUX/QAxdzCIrgQVYJDvhPxod+TmDDLoovdpxADP6W VXHvQMwRlo4qFPCo1/n43zK9bVSvO4+wcPk4p9veW2iSddJX+K9D/gyIcQ88c0XnDfvaFMxlvUJ9v DZBu/lxUw152l4m/K/AnyPAQPOh/joWbCoF/+Wv8EvtcHG6ibkReiz4idO6+JZQEDwlWxwSVpK89a TWwBiJq6nF0lbu8uaOr/drkBp95Yb7wbsgbtYT2Q/ZZl33gl8dIotZG54LWVV+Xxg/0+w+N/IKglY eYIlpmxUOE70T7AebK9n3s2Zt1RdppLgiKATSlYEy9FcS1mfjzlC3P6cfQoK2mxzPSkaZJF/eM24F doOobbrQ8i43r3eYLxNienB0r+u/fvAdgRPIknLrYFAUXQRE3stFKTrNHhypLmx25AF2/T8oVD ; Received: from [2001:9b1:41ac:ff00:7d76:e4e8:57ec:6d7d] (port=48794 helo=latte) by uggla.sjd.se with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1leLpF-0006iq-NO for guix-patches@gnu.org; Wed, 05 May 2021 18:00:45 +0000 X-Hashcash: 1:22:210505:guix-patches@gnu.org::Z57puzvAMZxY5orm:1AX6 From: Simon Josefsson OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt Date: Wed, 05 May 2021 20:00:45 +0200 Message-ID: <8735v13vsi.fsf@latte.josefsson.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2001:9b1:8633::107; envelope-from=simon@josefsson.org; helo=uggla.sjd.se X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hi! This patch enables libpskc and pskctool in OATH Toolkit, using the newly added xmlsec-openssl (thanks!). /Simon --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-oath-toolkit-Build-libpskc-and-pskctool.patch Content-Transfer-Encoding: quoted-printable From=202a41fd3df92acf84e9377fbe02a18b8cacf12dec Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Wed, 5 May 2021 19:56:17 +0200 Subject: [PATCH] gnu: oath-toolkit: Build libpskc and pskctool. * gnu/packages/authentication.scm (oath-toolkit): Use xmlsec-openssl to ena= ble libpskc and pskctool. =2D-- gnu/packages/authentication.scm | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/gnu/packages/authentication.scm b/gnu/packages/authentication.= scm index c7b58b3e61..d0fef39cb2 100644 =2D-- a/gnu/packages/authentication.scm +++ b/gnu/packages/authentication.scm @@ -23,6 +23,8 @@ #:use-module (gnu packages documentation) #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages xml) + #:use-module (gnu packages tls) #:use-module (gnu packages security-token) #:use-module (guix build-system gnu) #:use-module (guix download) @@ -45,7 +47,9 @@ (arguments ;; TODO =E2=80=98--enable-pskc=E2=80=99 causes xmlsec-related test su= ite failures. `(#:configure-flags =2D (list "--enable-pam") + (list "--enable-pam" + "--enable-pskc" + "--with-xmlsec-crypto-engine=3Dopenssl") #:phases (modify-phases %standard-phases (add-after 'install 'delete-static-libraries @@ -55,16 +59,15 @@ (for-each delete-file (find-files lib "\\.a$")) #t)))))) (native-inputs =2D `(("pkg-config" ,pkg-config))) + `(("pkg-config" ,pkg-config) + ;; XXX: Perhaps this should be propagated from xmlsec. + ("libltdl" ,libltdl))) (inputs =2D `(("linux-pam" ,linux-pam))) ; for --enable-pam + `(("xmlsec-openssl" ,xmlsec-openssl) + ("openssl" ,openssl) + ("linux-pam" ,linux-pam))) ; for --enable-pam (home-page "https://www.nongnu.org/oath-toolkit/") (synopsis "One-time password (OTP) components") =2D ;; TODO Add the following items after they've been enabled. =2D ;; @item @command{pskctool}, a command-line tool for manipulating se= cret key =2D ;; files in the Portable Symmetric Key Container (@dfn{PSKC}) format =2D ;; described in RFC6030. =2D ;; @item @code{libpskc}, a shared and static C library for PSKC hand= ling. (description "The @dfn{OATH} (Open AuTHentication) Toolkit provides various compon= ents for building one-time password (@dfn{OTP}) authentication systems: @@ -72,11 +75,16 @@ for building one-time password (@dfn{OTP}) authenticati= on systems: @itemize @item @command{oathtool}, a command-line tool for generating & validating = OTPs. @item @code{liboath}, a C library for OATH handling. +@item @command{pskctool}, a command-line tool for manipulating secret key +files in the Portable Symmetric Key Container (@dfn{PSKC}) format +described in RFC6030. +@item @code{libpskc}, a shared and static C library for PSKC handling. @item @code{pam_oath}, a PAM module for pluggable login authentication. @end itemize =20 =2DSupported technologies include the event-based @dfn{HOTP} algorithm (RFC= 4226) =2Dand the time-based @dfn{TOTP} algorithm (RFC6238).") +Supported technologies include the event-based $dfn{HOTP} algorithm (RFC42= 26), +the time-based @dfn{TOTP} algorithm (RFC6238), and Portable Symmetric Key +Container (@dfn{PSKC}, RFC6030) to manage secret key data.") (license (list license:lgpl2.1+ ; the libraries (liboath/ & libpsk= c/) license:gpl3+)))) ; the tools (everything else) =20 =2D-=20 2.20.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSjzJyHC50xCrrUzy9RcisI/kdFogUCYJLdTQAKCRBRcisI/kdF oljVAP9h8dckdUnV2fs/02Launsj1FMTOs8+cCC8Zgnw9HF2/AEA9hm/ekBEDY9P IqamrNGuHYbq8/4lYPrgS8h5crk8HAg= =KdRO -----END PGP SIGNATURE----- --==-=-=-- From unknown Tue Aug 12 08:34:17 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48242] [PATCH] gnu: oath-toolkit: Build libpskc and pskctool. Resent-From: Simon Josefsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 May 2021 07:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48242 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48242@debbugs.gnu.org Received: via spool by 48242-submit@debbugs.gnu.org id=B48242.16202852176812 (code B ref 48242); Thu, 06 May 2021 07:14:02 +0000 Received: (at 48242) by debbugs.gnu.org; 6 May 2021 07:13:37 +0000 Received: from localhost ([127.0.0.1]:36889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leYCW-0001lo-PA for submit@debbugs.gnu.org; Thu, 06 May 2021 03:13:36 -0400 Received: from uggla.sjd.se ([178.174.241.107]:57848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leYCT-0001li-DR for 48242@debbugs.gnu.org; Thu, 06 May 2021 03:13:35 -0400 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2101; h=Content-Type:MIME-Version:Message-ID:In-Reply-To :Date:References:Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=G2yWARyh30yqeolUpE9RdZU1J61/5aJhqAOXqxorqDU=; t=1620285213; x=1621494813; b=zqgNGnvMg6Xf2PeLu3gJ4huXZi2nrBfKp4xze2LruwY9TjkHslUQQ7ytl3bwwFCu7fMPwEGy7H I0hrsMUy1ABw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2101; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:To:From:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=G2yWARyh30yqeolUpE9RdZU1J61/5aJhqAOXqxorqDU=; t=1620285213; x=1621494813; b=ZsQ9TsnIHhMdPipsu8jzRJMw5nyusJqK+crfdF7+prFSjiywYh011daENWSZLNvzV6Inl1t+t/ e2rPLiC27v51qAEsO+2yp7QisRFVYv+hBAth5CIsfoMMJwHK0ARws2uTAhDuP7rYG9NBndskAgAyn lB4kopLlMN+G//g1FNsJomXyl1EQNbEPDBNigQ7/5P2ElROKnCVxBobV3ECyicymIf5MGgCVU+2Qf yQhCr8hX8AS2WSNhAdQ4yp1WLuAg2FsTd1raHHmkvIZ+auNMVd7E6AjJ4IY2+O70h0Pp0RDhTY5PP 2IFaNDTCbJeIPmJtEew2evbHdZblDb0TtvLCtVO2bEYvBRLRWlZrLnNKLdJYw7J8zxosBWAdSYs14 qksADdvppknuGkExvdNlTbb9xqv6IhPXGwc28tFE66gzxsgDZD4JZZXBIlporyjtjA8lAweCMJ ; Received: from [2001:9b1:41ac:ff00:7d76:e4e8:57ec:6d7d] (port=54016 helo=latte) by uggla.sjd.se with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1leYCR-00083p-VT for 48242@debbugs.gnu.org; Thu, 06 May 2021 07:13:32 +0000 From: Simon Josefsson References: <8735v13vsi.fsf@latte.josefsson.org> OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt X-Hashcash: 1:22:210506:48242@debbugs.gnu.org::AUSrhpxvSrLElDzi:2ria X-Hashcash: 1:22:210506:guix-patches@gnu.org::YMXHaIsIJV9CXuEX:FLO9 Date: Thu, 06 May 2021 09:13:31 +0200 In-Reply-To: <8735v13vsi.fsf@latte.josefsson.org> (Simon Josefsson via Guix-patches via's message of "Wed, 05 May 2021 20:00:45 +0200") Message-ID: <87tung2v38.fsf@latte.josefsson.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) 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 (-) --=-=-= Content-Type: text/plain Simon Josefsson via Guix-patches via writes: > +Supported technologies include the event-based $dfn{HOTP} algorithm (RFC4226), ^ That should be @ -- sorry about that, and I hope you can fix it manually when applying the patch. /Simon --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSjzJyHC50xCrrUzy9RcisI/kdFogUCYJOXGwAKCRBRcisI/kdF otmZAP9W7NLiohf7C+6/c9UrxeAkM1/LPdfq4zezwWhzKzUgsAD/aD8oCVsKuzOT KPiKGQCDZHuViBRKjGAjsxAKOpk2CA4= =KFH2 -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Aug 12 08:34:17 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Simon Josefsson Subject: bug#48242: closed (Re: [bug#48242] [PATCH] gnu: oath-toolkit: Build libpskc and pskctool.) Message-ID: References: <87pmy4mhbs.fsf@nckx> <8735v13vsi.fsf@latte.josefsson.org> X-Gnu-PR-Message: they-closed 48242 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 48242@debbugs.gnu.org Date: Thu, 06 May 2021 07:51:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1620287462-8600-1" This is a multi-part message in MIME format... ------------=_1620287462-8600-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #48242: [PATCH] gnu: oath-toolkit: Build libpskc and pskctool. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 48242@debbugs.gnu.org. --=20 48242: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48242 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1620287462-8600-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 48242-done) by debbugs.gnu.org; 6 May 2021 07:50:37 +0000 Received: from localhost ([127.0.0.1]:36937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leYmL-0002EP-Ja for submit@debbugs.gnu.org; Thu, 06 May 2021 03:50:37 -0400 Received: from tobias.gr ([80.241.217.52]:58176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leYmI-0002EH-Jf for 48242-done@debbugs.gnu.org; Thu, 06 May 2021 03:50:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=PEAKyebXxw3dE2cjxBngsPoaXRVVmZlGUitpanyC5FE=; h=date:in-reply-to: subject:cc:to:from:references; b=b3P9+B68jb/OrPWnJyASWmWyhmU2OtK50641Z 9pgUd5yqU4mYjEE5AbRqY7hu7IxQ2lBGVXCUfif7dFH/i5+SqnxM99PidCvnng5j+mLMwU RT1O/CX0JSPnsp2FhwX7WWQ7XN+eo8DBqzbooS2PGGM7cowyiiETjyXE+TXLK0eiHg1fM2 4lDOte7PLnnaNg/v1C8nTfvJe5S6VduqMcPz7ocVcNCqJ3my8GjmIWa2LR74Ye9M8vhaV+ 1R7ZMsEBdYEJ5P0vmLwA4/NamIKzQMr3Bt19vgZ9+Q0fQR1+bcUATWPSSvcrtQAPvIkRZv kbLOJ6XNMuJ2w6+Tmf7Owgiug== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id f21ced18 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Thu, 6 May 2021 07:50:44 +0000 (UTC) References: <8735v13vsi.fsf@latte.josefsson.org> From: Tobias Geerinckx-Rice To: Simon Josefsson Subject: Re: [bug#48242] [PATCH] gnu: oath-toolkit: Build libpskc and pskctool. In-reply-to: <8735v13vsi.fsf@latte.josefsson.org> BIMI-Selector: v=BIMI1; s=default; Date: Thu, 06 May 2021 09:50:31 +0200 Message-ID: <87pmy4mhbs.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48242-done Cc: 48242-done@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: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Simon, Simon Josefsson via Guix-patches via =E5=86=99=E9=81=93=EF=BC=9A > Subject: [PATCH] gnu: oath-toolkit: Build libpskc and pskctool. Thanks! Pushed as 37fd82177ef33f2d3331f14055c6302001cd7c04 with=20 minor changes. > * gnu/packages/authentication.scm (oath-toolkit): Use=20 > xmlsec-openssl to enable > libpskc and pskctool. Expanded to list all changes in our GNU =E2=80=98change log=E2=80=99 format. > + #:use-module (gnu packages xml) > + #:use-module (gnu packages tls) Placed these and the new *inputs alphabetically. > + "--enable-pskc" > + "--with-xmlsec-crypto-engine=3Dopenssl") The second line used a tab for indentation. Replaced by spaces. > +Supported technologies include the event-based $dfn{HOTP}=20 > algorithm (RFC4226), > +the time-based @dfn{TOTP} algorithm (RFC6238), and Portable=20 > Symmetric Key > +Container (@dfn{PSKC}, RFC6030) to manage secret key data.") Modified to use @acronym. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYJOfxw0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15BrsBAPP+coxKNx4mm8NUG6Z39Q+w7ngXQgiga7llCmbk +NdJAQCuEX1SBQRmrSSXE/af4P77rY3p/mtmXsc38sFSynNsCQ== =J4WS -----END PGP SIGNATURE----- --=-=-=-- ------------=_1620287462-8600-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 May 2021 18:01:05 +0000 Received: from localhost ([127.0.0.1]:33641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leLpZ-0007XM-54 for submit@debbugs.gnu.org; Wed, 05 May 2021 14:01:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:48564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leLpW-0007X5-5k for submit@debbugs.gnu.org; Wed, 05 May 2021 14:01:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leLpV-0006gy-Af for guix-patches@gnu.org; Wed, 05 May 2021 14:01:01 -0400 Received: from uggla.sjd.se ([2001:9b1:8633::107]:55210) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leLpR-0003Yd-I2 for guix-patches@gnu.org; Wed, 05 May 2021 14:01:01 -0400 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2101; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ofV3bUJYbr6x58KGMOLeCSDUc1BdJJtcy09FLmHX3Rg=; t=1620237649; x=1621447249; b=gvgYroc6/UsRZtabkn6a6L+MZMtHeXODT16LPMxopI3MKmgBcQzyDnSx8TQuY2Jn6UKgS6ts/T UwpRtwUyV7BQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2101; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ofV3bUJYbr6x58KGMOLeCSDUc1BdJJtcy09FLmHX3Rg=; t=1620237649; x=1621447249; b=rjICTKjHeFkzhDcUsbKamrefteCn03ojhOUX/QAxdzCIrgQVYJDvhPxod+TmDDLoovdpxADP6W VXHvQMwRlo4qFPCo1/n43zK9bVSvO4+wcPk4p9veW2iSddJX+K9D/gyIcQ88c0XnDfvaFMxlvUJ9v DZBu/lxUw152l4m/K/AnyPAQPOh/joWbCoF/+Wv8EvtcHG6ibkReiz4idO6+JZQEDwlWxwSVpK89a TWwBiJq6nF0lbu8uaOr/drkBp95Yb7wbsgbtYT2Q/ZZl33gl8dIotZG54LWVV+Xxg/0+w+N/IKglY eYIlpmxUOE70T7AebK9n3s2Zt1RdppLgiKATSlYEy9FcS1mfjzlC3P6cfQoK2mxzPSkaZJF/eM24F doOobbrQ8i43r3eYLxNienB0r+u/fvAdgRPIknLrYFAUXQRE3stFKTrNHhypLmx25AF2/T8oVD ; Received: from [2001:9b1:41ac:ff00:7d76:e4e8:57ec:6d7d] (port=48794 helo=latte) by uggla.sjd.se with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1leLpF-0006iq-NO for guix-patches@gnu.org; Wed, 05 May 2021 18:00:45 +0000 X-Hashcash: 1:22:210505:guix-patches@gnu.org::Z57puzvAMZxY5orm:1AX6 From: Simon Josefsson To: guix-patches@gnu.org Subject: [PATCH] gnu: oath-toolkit: Build libpskc and pskctool. OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt Date: Wed, 05 May 2021 20:00:45 +0200 Message-ID: <8735v13vsi.fsf@latte.josefsson.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2001:9b1:8633::107; envelope-from=simon@josefsson.org; helo=uggla.sjd.se X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit 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: -2.4 (--) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hi! This patch enables libpskc and pskctool in OATH Toolkit, using the newly added xmlsec-openssl (thanks!). /Simon --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-oath-toolkit-Build-libpskc-and-pskctool.patch Content-Transfer-Encoding: quoted-printable From=202a41fd3df92acf84e9377fbe02a18b8cacf12dec Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Wed, 5 May 2021 19:56:17 +0200 Subject: [PATCH] gnu: oath-toolkit: Build libpskc and pskctool. * gnu/packages/authentication.scm (oath-toolkit): Use xmlsec-openssl to ena= ble libpskc and pskctool. =2D-- gnu/packages/authentication.scm | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/gnu/packages/authentication.scm b/gnu/packages/authentication.= scm index c7b58b3e61..d0fef39cb2 100644 =2D-- a/gnu/packages/authentication.scm +++ b/gnu/packages/authentication.scm @@ -23,6 +23,8 @@ #:use-module (gnu packages documentation) #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages xml) + #:use-module (gnu packages tls) #:use-module (gnu packages security-token) #:use-module (guix build-system gnu) #:use-module (guix download) @@ -45,7 +47,9 @@ (arguments ;; TODO =E2=80=98--enable-pskc=E2=80=99 causes xmlsec-related test su= ite failures. `(#:configure-flags =2D (list "--enable-pam") + (list "--enable-pam" + "--enable-pskc" + "--with-xmlsec-crypto-engine=3Dopenssl") #:phases (modify-phases %standard-phases (add-after 'install 'delete-static-libraries @@ -55,16 +59,15 @@ (for-each delete-file (find-files lib "\\.a$")) #t)))))) (native-inputs =2D `(("pkg-config" ,pkg-config))) + `(("pkg-config" ,pkg-config) + ;; XXX: Perhaps this should be propagated from xmlsec. + ("libltdl" ,libltdl))) (inputs =2D `(("linux-pam" ,linux-pam))) ; for --enable-pam + `(("xmlsec-openssl" ,xmlsec-openssl) + ("openssl" ,openssl) + ("linux-pam" ,linux-pam))) ; for --enable-pam (home-page "https://www.nongnu.org/oath-toolkit/") (synopsis "One-time password (OTP) components") =2D ;; TODO Add the following items after they've been enabled. =2D ;; @item @command{pskctool}, a command-line tool for manipulating se= cret key =2D ;; files in the Portable Symmetric Key Container (@dfn{PSKC}) format =2D ;; described in RFC6030. =2D ;; @item @code{libpskc}, a shared and static C library for PSKC hand= ling. (description "The @dfn{OATH} (Open AuTHentication) Toolkit provides various compon= ents for building one-time password (@dfn{OTP}) authentication systems: @@ -72,11 +75,16 @@ for building one-time password (@dfn{OTP}) authenticati= on systems: @itemize @item @command{oathtool}, a command-line tool for generating & validating = OTPs. @item @code{liboath}, a C library for OATH handling. +@item @command{pskctool}, a command-line tool for manipulating secret key +files in the Portable Symmetric Key Container (@dfn{PSKC}) format +described in RFC6030. +@item @code{libpskc}, a shared and static C library for PSKC handling. @item @code{pam_oath}, a PAM module for pluggable login authentication. @end itemize =20 =2DSupported technologies include the event-based @dfn{HOTP} algorithm (RFC= 4226) =2Dand the time-based @dfn{TOTP} algorithm (RFC6238).") +Supported technologies include the event-based $dfn{HOTP} algorithm (RFC42= 26), +the time-based @dfn{TOTP} algorithm (RFC6238), and Portable Symmetric Key +Container (@dfn{PSKC}, RFC6030) to manage secret key data.") (license (list license:lgpl2.1+ ; the libraries (liboath/ & libpsk= c/) license:gpl3+)))) ; the tools (everything else) =20 =2D-=20 2.20.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSjzJyHC50xCrrUzy9RcisI/kdFogUCYJLdTQAKCRBRcisI/kdF oljVAP9h8dckdUnV2fs/02Launsj1FMTOs8+cCC8Zgnw9HF2/AEA9hm/ekBEDY9P IqamrNGuHYbq8/4lYPrgS8h5crk8HAg= =KdRO -----END PGP SIGNATURE----- --==-=-=-- ------------=_1620287462-8600-1-- From unknown Tue Aug 12 08:34:17 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48242] [PATCH] gnu: oath-toolkit: Build libpskc and pskctool. Resent-From: Simon Josefsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 May 2021 10:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48242 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48242@debbugs.gnu.org Cc: me@tobias.gr Received: via spool by 48242-submit@debbugs.gnu.org id=B48242.162029647424039 (code B ref 48242); Thu, 06 May 2021 10:22:02 +0000 Received: (at 48242) by debbugs.gnu.org; 6 May 2021 10:21:14 +0000 Received: from localhost ([127.0.0.1]:37239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leb85-0006Ff-W9 for submit@debbugs.gnu.org; Thu, 06 May 2021 06:21:14 -0400 Received: from uggla.sjd.se ([178.174.241.107]:36010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leb82-0006FZ-6V for 48242@debbugs.gnu.org; Thu, 06 May 2021 06:21:13 -0400 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2101; h=Content-Type:MIME-Version:Message-ID:In-Reply-To :Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=JHDSWuzhUH7daCgOgfTQ7/dZ0YSAhVijrf4yYk3OHxs=; t=1620296470; x=1621506070; b=/wKHDR32WwqdISl1Rrorfw6rcghTlKvi5urntaT7a7SRJ7G+EhuSkuOZ3F1KLbp/VP2cqk0/hb 7eYI7+CgLcBQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2101; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=JHDSWuzhUH7daCgOgfTQ7/dZ0YSAhVijrf4yYk3OHxs=; t=1620296470; x=1621506070; b=YRSmyfLSVsoEhQIIclz5UeZvgQ5qpncs7d4NBeWu4hf9Ni4xbTkCeoz5dYF2IEQfjOzz+D8KTD z7Dvj4DwnDeDlVlsdLQ2jq3AJLGflaOjP7JA7czBvB11kcCOHWE8iv+Dv1DJF6w1pwh3nuel/CqAw QFGrQbOsAkRiiOB0b5Uh745kwzVSzMUcSCvuNPK3rKQ8g0U/EhoS2TzCwczwvLj18VSTMekVBm4cs 4C2/X5mU6RLagmLEsEAKsfZLZwMjsz+zV3yzzb8kI12d3rbjqi2saSgMZvqcpOSmDU5Y11ioIOvRj +esJFRa+y83ds7gtP4Oia2l0FElQciIn7idTpwb27cKGnDNcMnKYX+U0wjnjfVWL+XGZKmsgppLFy cs+5PpJMspuGHtlPmoU/UI0AXKAsu5e7A261m8dfr6xe6a/8HQ+hHSL8SxhJiwG7KNhiQGh50Z ; Received: from [2001:9b1:41ac:ff00:7d76:e4e8:57ec:6d7d] (port=55178 helo=latte) by uggla.sjd.se with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1leb80-0005xO-7f; Thu, 06 May 2021 10:21:08 +0000 From: Simon Josefsson References: <8735v13vsi.fsf@latte.josefsson.org> <87pmy4mhbs.fsf@nckx> OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt X-Hashcash: 1:22:210506:48242@debbugs.gnu.org::XhuzgsB+PzJigWRm:42b/ X-Hashcash: 1:22:210506:me@tobias.gr::zIfV2j6uVm5/skp/:D6cp Date: Thu, 06 May 2021 12:21:07 +0200 In-Reply-To: <87pmy4mhbs.fsf@nckx> (Tobias Geerinckx-Rice via Guix-patches via's message of "Thu, 06 May 2021 09:50:31 +0200") Message-ID: <87a6p82mek.fsf@latte.josefsson.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) 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 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice via Guix-patches via writes: > Simon, > > Simon Josefsson via Guix-patches via =E5=86=99=E9=81=93=EF=BC=9A >> Subject: [PATCH] gnu: oath-toolkit: Build libpskc and pskctool. > > Thanks! Pushed as 37fd82177ef33f2d3331f14055c6302001cd7c04 with minor > changes. Thank you -- and especially for teaching me how I can review my own patches and provide better ones in the future. >> + #:use-module (gnu packages xml) >> + #:use-module (gnu packages tls) > > Placed these and the new *inputs alphabetically. Is there a lint-style tool to help me detect and/or fix that? /Simon --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSjzJyHC50xCrrUzy9RcisI/kdFogUCYJPDEwAKCRBRcisI/kdF opI6AP9HzmGAEAJ84LRaQB1RtPoT/xsgf+d6VSXWEebeQetngQD/aF/LhctG9DD8 4L2V8yWB0jjzmsN8GIyyLQ2Rd5tS0Ag= =I7di -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Aug 12 08:34:17 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48242] [PATCH] gnu: oath-toolkit: Build libpskc and pskctool. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 May 2021 22:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48242 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Simon Josefsson Cc: 48242@debbugs.gnu.org Received: via spool by 48242-submit@debbugs.gnu.org id=B48242.16203417126864 (code B ref 48242); Thu, 06 May 2021 22:56:01 +0000 Received: (at 48242) by debbugs.gnu.org; 6 May 2021 22:55:12 +0000 Received: from localhost ([127.0.0.1]:40229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lemtk-0001me-Dc for submit@debbugs.gnu.org; Thu, 06 May 2021 18:55:12 -0400 Received: from tobias.gr ([80.241.217.52]:34594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lemth-0001mV-KL for 48242@debbugs.gnu.org; Thu, 06 May 2021 18:55:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=TrIxJ7VPIq9gr9h02SD6tBVCZoy8fsbeV7VvxTdLwB8=; h=date:in-reply-to: subject:cc:to:from:references; b=HPJGW61FJPw15FlhxEBw7azuhvL55F0oMHyfV lSMBjxGTsi9cbVBpNF45PrfNFLZutoEo5oF5RWHUOpeliUDofmGvC54foJPx7HWmt+w4ts FdH3KDH73+0hpAFWQdlmQCebGsRT8ZgcFeDs3ZO0FnStw7mW3Y6pECbyzrkotNa3BtqrCo B4mcbf+agZp4k6HY0x84iVVuStybkqwVD4qx1iiRogQ7QDJTWjnoPSnxqFIsZOK3hmz2nw Y3cuJnXP9JL0iC7faZVu0U7jevogoF/usTjFF8rXr84Zz30XgGPbMdJ/AaM6CtKByPDXJT 6RV7EhRIpgyIsyfubDtx+1ZwA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 50cd0d8d (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Thu, 6 May 2021 22:55:19 +0000 (UTC) References: <8735v13vsi.fsf@latte.josefsson.org> <87pmy4mhbs.fsf@nckx> <87a6p82mek.fsf@latte.josefsson.org> From: Tobias Geerinckx-Rice In-reply-to: <87a6p82mek.fsf@latte.josefsson.org> BIMI-Selector: v=BIMI1; s=default; Date: Fri, 07 May 2021 00:55:06 +0200 Message-ID: <87eeejmq0l.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) 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: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Simon, Simon Josefsson =E5=86=99=E9=81=93=EF=BC=9A > Is there a lint-style tool to help me detect and/or fix that? You're probably already aware of =E2=80=98guix lint=E2=80=99, but maybe not= , since=20 it should have detected the tabs used instead of spaces. Please=20 let me know if you did and it didn't! The ordering isn't a hard policy, but I =E2=80=98strongly recommend=E2=80= =99 it=20 ;-) I've removed more than one duplicate input/import that would have=20 been trivially caught if the lists were sorted. In one case it=20 effectively masked a version mismatch bug. And it costs nothing=20 to sort new code, and keep existing sorted lists sorted... Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYJRzyg0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15qTgBAOUyqaD613T5kCUSXZXdEKiTgm9CY++8oZnPaeI+ 6y0DAP0dd2d1aGsd+7wWyKu8vmwipevPf1uhLUZEH6rEj4gwAw== =puFv -----END PGP SIGNATURE----- --=-=-=--