From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id mA5yCkpYMWZYfwEA62LTzQ:P1 (envelope-from ) for ; Tue, 30 Apr 2024 22:44:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id mA5yCkpYMWZYfwEA62LTzQ (envelope-from ) for ; Tue, 30 Apr 2024 22:44:58 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Y8JVszMa; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714509898; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=8e+ASdgueNAN8oBAY3ErSwJBsi/NaDno5On2Zp1RzWo=; b=G4pg6ejgFMXTX24Rf6GusULOfuY+OSBbfROz+NdhX0s/RxUZlSt7RiGrA1PwaneQo4DgDg 8skGnpVanbPpp62pOkog1T7KWHrjsY5n9gYq3rTlSgBYgWUm/oZZ64Xhvkm0EauR/5ZvaN rzux5JiA1sKHD2XSseR5aprRUGUFT3RrWpfSE/H/ZQ1CtUIm2X6c56gHvmC/q79LPcvhmh luZGc6bQNehH+a8EPL1aug9xR/tibk75YsAKobRRfXZ5qjC1ujYjAE0RTk2ACe6Pjfsa9p 631hYGzZ+V8MV8W0l5Q4tbh0X0BAF7Ouuhp71tQRzYiFGOfXGKTmgb9O8xDulg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Y8JVszMa; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714509898; a=rsa-sha256; cv=none; b=f7klBhWrF8riI+6/Xte+ggBt/eIdCfcYDU8ddVLdIUSPwVg8y3m5uglyWTq4gHjtOYMR0p 8lv4gpPq/PLbhUojJ6oU1/9rXQU9u/UicNAagDOL9Wfujibga9ekKee3ncRtj9jjIJiRi1 9Mh2SW8Unvnl8LQISInnTRxLjC4iCNWjeG9Tiohw1T2QceaAB5/SsvOUCTS61jVr79X1ZK Vcz6SSBKn4IDV4clLPBVQ0ruCL6sYqihhJg437bdOc6SaAoNwnYGxJt2qdwEsHpFlwkvZK b/v1ZCroMAcWpL/0fWrbGVlIO5655lCZ8jo7E3eiHXwt/eX+Cw/d7u2oS4pU2w== 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 DA4631175D for ; Tue, 30 Apr 2024 22:44:57 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1uLL-0003fL-SX; Tue, 30 Apr 2024 16:44:51 -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 1s1uLD-0003eV-2V for guix-patches@gnu.org; Tue, 30 Apr 2024 16:44:43 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s1uLC-0000kv-Q2 for guix-patches@gnu.org; Tue, 30 Apr 2024 16:44:42 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s1uLX-0000EJ-HB; Tue, 30 Apr 2024 16:45:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70684] [PATCH go-team 5/6] gnu: Add go-github-com-go-webauthn. Resent-From: Rodion Goritskov Original-Sender: "Debbugs-submit" Resent-CC: cox.katherine.e+guix@gmail.com, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Tue, 30 Apr 2024 20:45:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70684 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70684@debbugs.gnu.org Cc: Rodion Goritskov , cox.katherine.e+guix@gmail.com, sharlatanus@gmail.com X-Debbugs-Original-Xcc: cox.katherine.e+guix@gmail.com, sharlatanus@gmail.com Received: via spool by 70684-submit@debbugs.gnu.org id=B70684.1714509857830 (code B ref 70684); Tue, 30 Apr 2024 20:45:03 +0000 Received: (at 70684) by debbugs.gnu.org; 30 Apr 2024 20:44:17 +0000 Received: from localhost ([127.0.0.1]:33194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1uKm-0000DK-QI for submit@debbugs.gnu.org; Tue, 30 Apr 2024 16:44:17 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:60600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1uKh-0000Cz-Ub for 70684@debbugs.gnu.org; Tue, 30 Apr 2024 16:44:12 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-41a72f3a20dso43525525e9.0 for <70684@debbugs.gnu.org>; Tue, 30 Apr 2024 13:43:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714509825; x=1715114625; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8e+ASdgueNAN8oBAY3ErSwJBsi/NaDno5On2Zp1RzWo=; b=Y8JVszMau+FgQkg7wR7zUJz+DaQ6BtDzQxfuktYUUJMoVj5/VrvbB6e6WyoYsyRx6k 3EVclu2gMyaeY2NJ3F/fJ9TU+5u8g9T6eCXaIaS23xZycpwmuW9mJSLLCQROn8RNgsN0 qcT9iOYGttxPRWPSTtpTyNF72nUphKtbHgAJNKdE5ss+HTvm9Rf3FP/2lnArS9jZ9kJ0 Vp7Lidy7kUcZ7nBccxaxRxQ/iJWhCRohY/KU7HzxJFEztAchLHQp8LIokvmJ4Esmrv4+ LJYilNWsAkC3k184/89zHsXWueSl9YIykFaAPqXza/nunLw0KrO0Bw8hP5K9LuUzhZ9o cjdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714509825; x=1715114625; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8e+ASdgueNAN8oBAY3ErSwJBsi/NaDno5On2Zp1RzWo=; b=fSUgGBUOm3RxoYWN3+bqdyCesqKDZXSMcDO+UBgztjEA3TtpF5XFbcRpG9qtuNh35b iehLe/BD8hlDTMR+uuNcimLx8PlAgNMBMipipHZW8NaohSff6MQplBI/gG0mr+gvpDH4 iRHc4/DDwNYFOkGf5ckWvfN0+JyZVuNqEwhanXae5+4++1Yzlin1e/9aNXKoXFpdaCuB EQWeVO1liWH5s/0yXrBPdztLfpUpxMtjDZ1CEQZ5vuIvPGyLtJ08D7STaU56QQMymH7q GMRzlDK2b20F0L2X0ZlniWCIsmOamWDQjdHVOyrw6/ahaSYerJdFw8zMzXwjjNsezaeK 89WA== X-Gm-Message-State: AOJu0Yz4IxOS3jZ9r/V0YkeDMKM1bEj0V1LxreRMJuppPY3Uxgv/sSII URtFzLrlgmAhGcCz8OOiV0TjHuRIkfjxW4d/DZR7MfIdcEo76r0lsvI2ew== X-Google-Smtp-Source: AGHT+IHgK+e7b8PYUGtHD3XP35SCuAOLsX5LBpZKigU8C3tNoHGMFAe+aAh5p9mAiZg5Y8ZVHASldw== X-Received: by 2002:a05:600c:4f93:b0:41a:408b:dbaa with SMTP id n19-20020a05600c4f9300b0041a408bdbaamr470530wmq.0.1714509824844; Tue, 30 Apr 2024 13:43:44 -0700 (PDT) Received: from bumblebee-mighty.lan ([92.51.75.166]) by smtp.gmail.com with ESMTPSA id bh16-20020a05600c3d1000b00419f572671dsm40932wmb.20.2024.04.30.13.43.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 13:43:44 -0700 (PDT) From: Rodion Goritskov Date: Wed, 1 May 2024 00:42:45 +0400 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 3.11 X-Spam-Score: 3.11 X-Migadu-Queue-Id: DA4631175D X-Migadu-Scanner: mx13.migadu.com X-TUID: 6NP3I8DXjD5Y * gnu/packages/golang-web.scm (go-github-com-go-webauthn-x): New variable. * gnu/packages/golang-web.scm (go-github-com-go-webauthn-webauthn-protocol): New variable. * gnu/packages/golang-web.scm (go-github-com-go-webauthn-webauthn-metadata): New variable * gnu/packages/golang-web.scm (go-github-com-go-webauthn-webauthn-webauthn): New variable. Change-Id: Ife3cb2d50e0481fafc207ca819711b85d50d0c13 --- gnu/packages/golang-web.scm | 125 ++++++++++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 4f2c6f8c1a..500242ee98 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -964,6 +964,131 @@ (define-public go-github-com-gregjones-httpcache shared proxy).") (license license:expat)))) +(define-public go-github-com-go-webauthn-x + (package + (name "go-github-com-go-webauthn-x") + (version "0.1.9") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-webauthn/x") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1lxxd2xhb5iappn4w49z5ahin4xfn3rj04vkdzzipyvwfzlix2al")))) + (build-system go-build-system) + (arguments + (list + #:unpack-path "github.com/go-webauthn/x" + #:import-path "github.com/go-webauthn/x/revoke")) + (propagated-inputs (list go-golang-org-x-crypto)) + (home-page "https://github.com/go-webauthn/x") + (synopsis "Low level packages for Webauthn") + (description "Low level packages for Go Webauthn library.") + (license license:bsd-3))) + +(define-public go-github-com-go-webauthn-webauthn-protocol + (package + (name "go-github-com-go-webauthn-webauthn-protocol") + (version "0.10.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-webauthn/webauthn") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1jbx3cd8cr4aaqq9s1x4sd1rlcs3lmam5aavpl08s5rj18m7rivf")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.18 + ;; Tests are using external network address + #:tests? #f + #:unpack-path "github.com/go-webauthn/webauthn" + #:import-path "github.com/go-webauthn/webauthn/protocol")) + (native-inputs (list go-github-com-stretchr-testify)) + (propagated-inputs (list go-golang-org-x-crypto + go-github-com-mitchellh-mapstructure + go-github-com-google-uuid + go-github-com-google-go-tpm-tpmutil + go-github-com-google-go-tpm-legacy-tpm2 + go-github-com-golang-jwt-jwt-v5 + go-github-com-go-webauthn-x + go-github-com-fxamacker-cbor-v2)) + (home-page "https://github.com/go-webauthn/webauthn") + (synopsis "WebAuthn Library") + (description + "This library is meant to handle @@url{https://www.w3.org/TR/webauthn,Web +Authentication} for Go apps that wish to implement a passwordless solution for +users. This library conforms as much as possible to the guidelines and +implementation procedures outlined by the document.") + (license license:bsd-3))) + +(define-public go-github-com-go-webauthn-webauthn-metadata + (package + (inherit go-github-com-go-webauthn-webauthn-protocol) + (name "go-github-com-go-webauthn-webauthn-metadata") + (version "0.10.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-webauthn/webauthn") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1jbx3cd8cr4aaqq9s1x4sd1rlcs3lmam5aavpl08s5rj18m7rivf")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.18 + ;; Tests are using external network address + #:tests? #f + #:unpack-path "github.com/go-webauthn/webauthn" + #:import-path "github.com/go-webauthn/webauthn/metadata")) + (propagated-inputs (list go-golang-org-x-crypto + go-github-com-mitchellh-mapstructure + go-github-com-google-uuid + go-github-com-google-go-tpm-tpmutil + go-github-com-google-go-tpm-legacy-tpm2 + go-github-com-golang-jwt-jwt-v5 + go-github-com-go-webauthn-x + go-github-com-fxamacker-cbor-v2)) + (native-inputs (list go-github-com-stretchr-testify)))) + +(define-public go-github-com-go-webauthn-webauthn-webauthn + (package + (inherit go-github-com-go-webauthn-webauthn-protocol) + (name "go-github-com-go-webauthn-webauthn-webauthn") + (version "0.10.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-webauthn/webauthn") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1jbx3cd8cr4aaqq9s1x4sd1rlcs3lmam5aavpl08s5rj18m7rivf")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.18 + #:unpack-path "github.com/go-webauthn/webauthn" + #:import-path "github.com/go-webauthn/webauthn/webauthn")) + (propagated-inputs (list go-golang-org-x-crypto + go-github-com-mitchellh-mapstructure + go-github-com-google-uuid + go-github-com-google-go-tpm-tpmutil + go-github-com-google-go-tpm-legacy-tpm2 + go-github-com-golang-jwt-jwt-v5 + go-github-com-go-webauthn-x + go-github-com-fxamacker-cbor-v2)) + (native-inputs (list go-github-com-stretchr-testify)))) + (define-public go-github-com-hjson-hjson-go (package (name "go-github-com-hjson-hjson-go") -- 2.41.0