From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KIfvBopsemTgWAAASxT56A (envelope-from ) for ; Sat, 03 Jun 2023 00:26:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aCILBopsemRQ+QAAG6o9tA (envelope-from ) for ; Sat, 03 Jun 2023 00:26:18 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AEE6B2FDA8 for ; Sat, 3 Jun 2023 00:26:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5DDi-00082W-L8; Fri, 02 Jun 2023 18:26:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5DDe-0007zG-3g for guix-patches@gnu.org; Fri, 02 Jun 2023 18:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5DDd-0006Dh-RN for guix-patches@gnu.org; Fri, 02 Jun 2023 18:26:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5DDd-0001Wa-NE for guix-patches@gnu.org; Fri, 02 Jun 2023 18:26:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63859] [PATCH 2/2] gnu: Add otpclient. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 02 Jun 2023 22:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63859 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63859@debbugs.gnu.org Received: via spool by 63859-submit@debbugs.gnu.org id=B63859.16857447275810 (code B ref 63859); Fri, 02 Jun 2023 22:26:01 +0000 Received: (at 63859) by debbugs.gnu.org; 2 Jun 2023 22:25:27 +0000 Received: from localhost ([127.0.0.1]:40971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5DD5-0001Vd-4k for submit@debbugs.gnu.org; Fri, 02 Jun 2023 18:25:27 -0400 Received: from mail-ej1-f65.google.com ([209.85.218.65]:61730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5DD2-0001VJ-PO for 63859@debbugs.gnu.org; Fri, 02 Jun 2023 18:25:25 -0400 Received: by mail-ej1-f65.google.com with SMTP id a640c23a62f3a-9745c5fed21so224128266b.3 for <63859@debbugs.gnu.org>; Fri, 02 Jun 2023 15:25:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685744719; x=1688336719; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=HF61y3JwPgHPxpAmgqSngS07T+gPQs60Twp9g+ILZFg=; b=auzJF2BvJGISnO6JxCI4kPU39vkTdMKVPGQk7JPRa9fWnUgZqzZm1VUi/YepJubswb dQefp8A/8lXvpWaWeQqzyMsbhAfI+4s2SIYhlrYqj2KheAmGxl6t/kz7yTncemvh6Yr7 rOaT4KABIm0O0YeKMSPHQvysRuiqK3OrS9Hspd+VAKVp1qd0wddkp1Zd5DX5DX1WlHad 4QvUo+VS5AESY5c4k0yVaFehgmRQGkEf8vEb7RCTHGbpygiBFQ4PKWuhT2eWwP21LhYA /Zr9R62QGg0w0DNH+xSSA+ndzPmJjDryUYWMDkgkugsOKNsvGUmXkU813E4K+NoNGA2d nVXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685744719; x=1688336719; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HF61y3JwPgHPxpAmgqSngS07T+gPQs60Twp9g+ILZFg=; b=lL1LjyAfPlFJ2ZOtjrXdCJqVFdMO797Nrh5ej5SC61QlHfAoHbnm0i/aQ9PRIHrg8+ p8d+DrpM7cAGrSWg2H2CPSdA/FeOZb8jLTKI+Poi5hRN3xnVH1813iTEwr2jLp9H1XLX Rz9lCBC01Bdffb3gY+cxevWYo1GauPn5Yuy+aD2oYqc67YYjC5Ke4ZnAi7ob5z6bSQm6 7zCXaW8DX3eNriY8SokeWtv1NwcZPhMKkJbURH6W8No0vdcgnmYqb8EDmYwT5cdSK8tn +f4oEbU9XhTe8+t9jk2/Aw2hGyB6Zwen+gQ5qYYDeFeLkNVhLFXJJ4rqj6FP5XXwtMN+ Gfvg== X-Gm-Message-State: AC+VfDwUI2tERORoabkrUQdDD9Q9ANmCNRPRt+3PUD7rxAOG0gaiheu3 ioUQDJtJBMCSbO4HKIzjfhHTYx+ezX/eZPwm X-Google-Smtp-Source: ACHHUZ7bN0uRLOpaKzx8sfGJW4Ut/APr3mVWgZ3W1tZSJIQq3JnyYbwslAmkm+7lmfEkyEGC9giIVA== X-Received: by 2002:a17:907:3689:b0:974:6176:2223 with SMTP id bi9-20020a170907368900b0097461762223mr3220161ejc.13.1685744718594; Fri, 02 Jun 2023 15:25:18 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id l14-20020a1709060e0e00b009745eddf997sm1226651eji.198.2023.06.02.15.25.18 for <63859@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 15:25:18 -0700 (PDT) Message-Id: <0622cb2ed6ec59903947c00bc6bea57d9a85497a.1685743497.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Fri, 2 Jun 2023 23:39:25 +0200 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685744777; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=HF61y3JwPgHPxpAmgqSngS07T+gPQs60Twp9g+ILZFg=; b=hwAlBlefR8INFDrU+EYjnnAqASil3HfK2l/1cl7NqnT3WaMeLNMTQZ3knR0HXeJPExguzZ 4uHf57oZlToceXNoyYj44LIaT4PXv1mcj5cAARTkOQ68hrH6SVtyHDrz6DXlV4gPn5MQVj AsCHohx08VXQ03T0o1exXe8wPAyrb/q/RhGJA9+5BeqswoY8whRyfC+OVwLQDXpUxo4W9j 6Vmn9gxO/Y/46LWVnMHWTmL/qMoH8KX8Fj7dTdT/0XdqYhTcRx1bqdFUj6a4P73Wk1nnq5 a2G+hpfedyqVm+pdwr1zcNgKxfTrcuH1CpNJdz2e24fpWdaqZzoi2RDnPj4Heg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=auzJF2Bv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685744777; a=rsa-sha256; cv=none; b=et1DP3POlheFUekPkkIjYjKo4+9YCAs1Br0iXmK4j4I0O0PdLG7jfYCplZGFyDzWtCWQ7t S7kZWhw2/QqUb1L7Zmhf32iU1oT6zshKe9IOwbHWlNmxVyVbdWSe6kplWcL6VBVb3Sx6aN g/umylkVzJwVkOP7gQlCJNNi7FA8DygBJwWWp15RkZxujCxyMCJ88keyur8CWyTzcDt5il MBDsbsT7diwrILoDhyo4sq1s19w8+1E5SJ/FrKbu4Gg7YkZfQ0FmKJz7cKk3AGHL2D72NI swPKZsGmPdMZ/qGXnchSC2iyaP7ATGdHLiKBu4QXwwDkaquG23exbAs59odogA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=auzJF2Bv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AEE6B2FDA8 X-Spam-Score: -2.07 X-TUID: eEPjPUCPTBxB * gnu/packages/password-utils.scm (otpclient): New variable. --- gnu/packages/password-utils.scm | 54 +++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index f5f301308a..cd77024e7e 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -102,6 +102,7 @@ (define-module (gnu packages password-utils) #:use-module (gnu packages opencl) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages protobuf) #:use-module (gnu packages python) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) @@ -114,6 +115,7 @@ (define-module (gnu packages password-utils) #:use-module (gnu packages tls) #:use-module (gnu packages qt) #:use-module (gnu packages version-control) + #:use-module (gnu packages web) #:use-module (gnu packages wxwidgets) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg) @@ -304,6 +306,58 @@ (define-public pwsafe-cli Counterpane's Passwordsafe.") (license license:gpl2+)))) +(define-public otpclient + (package + (name "otpclient") + (version "3.1.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/paolostivanin/OTPClient") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0cwn4spddhg099hcqcvzgbws3xpmnd29g1vayk36118x94wmajaf")))) + (build-system cmake-build-system) + (arguments + (list + #:modules `(((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:) + (guix build cmake-build-system) + (guix build utils)) + #:imported-modules `((guix build glib-or-gtk-build-system) + ,@%cmake-build-system-modules) + #:tests? #f ; No tests + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'generate-gdk-pixbuf-loaders-cache-file + (assoc-ref glib-or-gtk:%standard-phases + 'generate-gdk-pixbuf-loaders-cache-file)) + (add-after 'wrap 'glib-or-gtk-compile-schemas + (assoc-ref glib-or-gtk:%standard-phases + 'glib-or-gtk-compile-schemas)) + (add-after 'wrap 'glib-or-gtk-wrap + (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))))) + (inputs (list adwaita-icon-theme + libcotp + libgcrypt + libsecret + libzip + hicolor-icon-theme + gtk+ + jansson + protobuf + protobuf-c + qrencode + zbar)) + (native-inputs (list pkg-config protobuf)) + (home-page "https://github.com/paolostivanin/OTPClient") + (synopsis "Two-factor authentication client") + (description "OTPClient is a GTK+-based @acronym{OTP, One Time Password} +client, supporting @acronym{TOTP, Time-based one time passwords} and +@acronym{HOTP,HMAC-based one time passwords}.") + (license license:gpl3))) + (define-public shroud (package (name "shroud") -- 2.40.1