From patchwork Tue Feb 13 22:37:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Troy Figiel X-Patchwork-Id: 60291 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7198727BBEA; Tue, 13 Feb 2024 22:42:57 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2E9E127BBE9 for ; Tue, 13 Feb 2024 22:42:56 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ra1UF-0001AS-FU; Tue, 13 Feb 2024 17:42:47 -0500 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 1ra1UD-00017U-FM for guix-patches@gnu.org; Tue, 13 Feb 2024 17:42:45 -0500 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 1ra1UD-0004fH-7A for guix-patches@gnu.org; Tue, 13 Feb 2024 17:42:45 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ra1UU-00034k-Jf for guix-patches@gnu.org; Tue, 13 Feb 2024 17:43:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69110] [PATCH] gnu: Add go-github-com-golang-jwt-jwt. Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Feb 2024 22:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69110 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69110@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170786417311805 (code B ref -1); Tue, 13 Feb 2024 22:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Feb 2024 22:42:53 +0000 Received: from localhost ([127.0.0.1]:48520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ra1UL-00034J-9U for submit@debbugs.gnu.org; Tue, 13 Feb 2024 17:42:53 -0500 Received: from lists.gnu.org ([209.51.188.17]:45594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ra1UI-000349-P2 for submit@debbugs.gnu.org; Tue, 13 Feb 2024 17:42:51 -0500 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 1ra1U0-0000uR-B1 for guix-patches@gnu.org; Tue, 13 Feb 2024 17:42:32 -0500 Received: from mout-p-201.mailbox.org ([80.241.56.171]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1ra1Ty-0004en-8h for guix-patches@gnu.org; Tue, 13 Feb 2024 17:42:32 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4TZGYB1Tmlz9t3n for ; Tue, 13 Feb 2024 23:42:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1707864142; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uF8pPaHwL991VsWnY7AmahnJoSTtVrkmQYfIBNMH/ig=; b=wylfiHyBAGYQF3RDkdtdVj3MFqDLOyYlhxBofGCb3JU/rZRBIaeBBM008AFposBM1A2aQY KSiM1Ciic9s87MgDAVp1b1HrLEdRYwr5iA94d8cYXa+PTR39cuAAzVZXaODfPbWO7Lk2rf ADHyUip3BbPWDpN3QdUJX1h5qUII92/3J8PPma6IMWod7K4Wpg2lx8S34JE2wUrK32OPIJ GZzyGoCczSKodoJ73MU0qdf0UIDiXuwANsp4QBsQWKRhf/uaqn8nd4SwZ4Ppf8z0NNrZH0 svzuOPCnDtqDpTRRibeF/lu7JPdCKkRREffjZsRlCb2hSLIVf5pZbtBBu9pNRQ== From: Troy Figiel Date: Tue, 13 Feb 2024 23:37:58 +0100 Message-ID: <87ttmcasvq.fsf@troyfigiel.com> MIME-Version: 1.0 Received-SPF: pass client-ip=80.241.56.171; envelope-from=troy@troyfigiel.com; helo=mout-p-201.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang-crypto.scm (go-github-com-golang-jwt-jwt): New variable. --- gnu/packages/golang-crypto.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) base-commit: ac470c516e19f194228edf9e348bdbc7fc10f97a diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index 0dd43e0e03..4581f26c02 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2023 Clément Lassieur ;;; Copyright © 2023 Felix Lechner ;;; Copyright © 2023 Jack Hill +;;; Copyright © 2024 Troy Figiel ;;; ;;; This file is part of GNU Guix. ;;; @@ -426,6 +427,33 @@ (define-public go-github-com-gaukas-godicttls for values.") (license license:bsd-3))) +(define-public go-github-com-golang-jwt-jwt + (package + (name "go-github-com-golang-jwt-jwt") + (version "4.5.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/golang-jwt/jwt") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1m7c9lwlmd0lnn0hyby1rb3f4nwn4xcjgca218frj0hi0krqn8kp")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/golang-jwt/jwt")) + (home-page "https://github.com/golang-jwt/jwt") + (synopsis "Go implementation of JSON Web Tokens") + (description + "This package provides a Go implementation of +@url{https://datatracker.ietf.org/doc/html/rfc7519, JSON Web Tokens} and +supports the parsing and verification as well as the generation and signing of +JSON Web Tokens. The currently supported signing algorithms are HMAC SHA, +RSA, RSA-PSS, and ECDSA, though hooks are present for adding your own.") + (license license:expat))) + (define-public go-github-com-gxed-hashland-keccakpg (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8") (revision "0"))