From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cENRFIlsemQV6gAASxT56A (envelope-from ) for ; Sat, 03 Jun 2023 00:26:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kM1HFIlsemTt5gAA9RJhRA (envelope-from ) for ; Sat, 03 Jun 2023 00:26:17 +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 EB06C13C6C for ; Sat, 3 Jun 2023 00:26:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5DDm-00083z-G9; Fri, 02 Jun 2023 18:26:10 -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-0007zH-GR 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 1q5DDe-0006Dn-88 for guix-patches@gnu.org; Fri, 02 Jun 2023 18:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5DDe-0001Wh-3q for guix-patches@gnu.org; Fri, 02 Jun 2023 18:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63859] [PATCH 1/2] gnu: Add libcotp. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 02 Jun 2023 22:26:02 +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.16857447285817 (code B ref 63859); Fri, 02 Jun 2023 22:26:02 +0000 Received: (at 63859) by debbugs.gnu.org; 2 Jun 2023 22:25:28 +0000 Received: from localhost ([127.0.0.1]:40973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5DD5-0001Vf-Io for submit@debbugs.gnu.org; Fri, 02 Jun 2023 18:25:27 -0400 Received: from mail-ej1-f66.google.com ([209.85.218.66]:42369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5DD2-0001VH-09 for 63859@debbugs.gnu.org; Fri, 02 Jun 2023 18:25:26 -0400 Received: by mail-ej1-f66.google.com with SMTP id a640c23a62f3a-974638ed5c5so214426766b.1 for <63859@debbugs.gnu.org>; Fri, 02 Jun 2023 15:25:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685744718; x=1688336718; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=xBOerl0XDzNUhMktWcC5Utin05tCeo2Bo/4NgJgybQU=; b=bimNN5ojgHu1TNdK7du9bNW8zfuS6GMdXjlbZgacXBQwUoIh71Id1QtWfaGJYGKTxN 4/3aGE/7dFyQzfRKQI41XBplYN3b6nl/dC57gEgtFfpKSazSiMcaq0uBZ+3dzEhwhh+Y tOCYJR+EBkms+F79S/vhJBO9WTPu6U1ZImDCXCbHIh6wpQH3Fipo/D916iPu169DkfiG r+uGkEuJelE5ydCcRQw1sg7S4NOOPth1g/DqdobE0jStZrfdyd/iR+EtKGdAEYo8FfxN fqCHEyLL9CDWxdzWoyhSxMI+/3BC/2WZCW8fOoCIHiNe253l3S9mtDjLtjkerm1cQe4e G9eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685744718; x=1688336718; 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=xBOerl0XDzNUhMktWcC5Utin05tCeo2Bo/4NgJgybQU=; b=GbYpd0NJJnmNcQv5LutoFDN8r5+qcPfwLgaro8//KB2y0hShJ2Pywcp9JGi5utf6sz rU7YrRNB//BVLMK5ASq2YurJJt4YPK6fluBKMfwM188fB8wTTGvCsxIMpRYprf5QTdYN eRmexp8V2a5O7V2jEgbwrTvazyzg1MrznS8SjQ6X7aBHCZV3yfKE0+HHiDqBKpd6aA4B X6V+gt2KzkGHTO6LaglbG5+zLEOd5otOvHhQmuzpMQHxgdK3pCs0OPr0EmSPxHNzkdnL QsogJc9y+9xxsYoYboZSNn7LxnZCHwx+wWq/Wak5u0vANnzkrHuuNBSvQVsFxWNA0EQP CU9g== X-Gm-Message-State: AC+VfDwFtLJCLcbw+E6GLUQae0YOAOMukRElFqZoqZdD+o7InkpaJf+l h1ETocOUOLt/tcdNFUdhJbjmqm0Qvd1/4NNj X-Google-Smtp-Source: ACHHUZ7dKVOtdPft5G1lFZN3kJB9pDR9i9PbEkR5/q52R6yGHpVMgFJ6yCkwwof2vYYMYHmZ5UVgxw== X-Received: by 2002:a17:907:9710:b0:970:6c71:729c with SMTP id jg16-20020a170907971000b009706c71729cmr6200036ejc.29.1685744718104; 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.17 for <63859@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 15:25:17 -0700 (PDT) Message-Id: In-Reply-To: References: From: Liliana Marie Prikler Date: Fri, 2 Jun 2023 23:39:07 +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=xBOerl0XDzNUhMktWcC5Utin05tCeo2Bo/4NgJgybQU=; b=MxUpBb9u1uoGQhEta+9bKyx2ElQIlBDpoHAW7V+UiO3ihx1x8+JswupGWIeKRp2oDNkQMX Lo7TZB5W9fpfE68nd1sIIWRCPxMEER6LXIOoCABsUNZGq0SHWiaw0qgP+4IXpa8DqjU3nk UIvNbV5esFv3rmtaOcUARiRGx+H0jPSo9pwHVZtLxk5aLdhRuA4hD4l9cR03CXsnOaQxiu yOllh2rlHg9yDdCgqW4l8KV1YNI+oqT4bI04duo59fG33113S7+xyVYx+eCqU//tHKRpV8 Ubs2SUpgENdnQNWifwnGG1ZgD/bwpx3Yr/zB8PuXhXXGDFAjEHj7ZdJFC4PEQg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=bimNN5oj; 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=bzChEYejsrGbYHQiBtuqZfnmMRlqwUkG7H69MoDJ9Xqn5Oyuj6TjP9YO2nTdJmPI1XJ77V Vq7rKn1Sx9VdR8Odzwkt+5ySiuFZu3mVtel8pPo7holT+wQ8qngFWdoRxKdThzrxR0TQU7 C1gDIjbDJNguGYCJgJ0mSjJ74C2b8YAVVjVmO9Gj2qE3z0VkFCO+eT0+TOROpRZGyETy7k tW2luWhRBB6uZW3UX/5XEX/MyE0ZVT45Qc+bcgSsGhQH+bI2qlZlKYHdlbBcQokUiugiiF /8IF5RtTwlVgl4067+XO4yX4B+Fd1Ww8Rg1OyTuDy//7bQDLTl5lYnmpAU+jEg== 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=bimNN5oj; 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: EB06C13C6C X-Spam-Score: -2.07 X-TUID: WQuPXxHOhUM+ * gnu/packages/authentication.scm (libcotp): New variable. --- gnu/packages/authentication.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/authentication.scm b/gnu/packages/authentication.scm index a73f2cbc14..de1769d65f 100644 --- a/gnu/packages/authentication.scm +++ b/gnu/packages/authentication.scm @@ -22,11 +22,13 @@ (define-module (gnu packages authentication) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages documentation) + #:use-module (gnu packages gnupg) #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config) #:use-module (gnu packages security-token) #:use-module (gnu packages tls) #:use-module (gnu packages xml) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix download) @@ -34,6 +36,29 @@ (define-module (gnu packages authentication) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages)) +(define-public libcotp + (package + (name "libcotp") + (version "2.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/paolostivanin/libcotp") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "12ps2msclcbv53gjf936cny10an8sc70b9frp6xxjirfn5jg2h63")))) + (build-system cmake-build-system) + (inputs (list libgcrypt)) + (native-inputs (list pkg-config)) + (home-page "https://github.com/paolostivanin/libcotp") + (synopsis "One-Time Passwords") + (description "This package provides a library to generate +@acronym{HOTP, HMAC-base One-Time Password}s as specified in RFC 4226 and +@acronym{TOTP, Time-based One-Time Password}s as specified in RFC 6238.") + (license license:asl2.0))) + (define-public oath-toolkit (package (name "oath-toolkit") -- 2.40.1