From patchwork Sat Apr 22 16:27:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 49412 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 5A02927BBEA; Sat, 22 Apr 2023 17:30:26 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS 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 9580D27BBE2 for ; Sat, 22 Apr 2023 17:30:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqG7B-0005Gc-VS; Sat, 22 Apr 2023 12:29:33 -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 1pqG6j-000527-GQ for guix-patches@gnu.org; Sat, 22 Apr 2023 12:29:12 -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 1pqG6j-0000vc-89 for guix-patches@gnu.org; Sat, 22 Apr 2023 12:29:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pqG6j-0008Nh-4f for guix-patches@gnu.org; Sat, 22 Apr 2023 12:29:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63017] [PATCH 12/24] gnu: Add go-github-com-jcmturner-gokrb5-v8. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 22 Apr 2023 16:29:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63017 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63017@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 63017-submit@debbugs.gnu.org id=B63017.168218090432037 (code B ref 63017); Sat, 22 Apr 2023 16:29:05 +0000 Received: (at 63017) by debbugs.gnu.org; 22 Apr 2023 16:28:24 +0000 Received: from localhost ([127.0.0.1]:43992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqG64-0008KX-5E for submit@debbugs.gnu.org; Sat, 22 Apr 2023 12:28:24 -0400 Received: from 14.mo584.mail-out.ovh.net ([46.105.40.29]:33875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqG5l-0008Hr-5F for 63017@debbugs.gnu.org; Sat, 22 Apr 2023 12:28:06 -0400 Received: from director3.ghost.mail-out.ovh.net (unknown [10.108.4.85]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 1690324F52 for <63017@debbugs.gnu.org>; Sat, 22 Apr 2023 16:28:04 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-jpn9b (unknown [10.110.115.73]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id D2FAF1FD3B; Sat, 22 Apr 2023 16:28:03 +0000 (UTC) Received: from ngraves.fr ([37.59.142.105]) by ghost-submission-6684bf9d7b-jpn9b with ESMTPSA id qehYMRMLRGTG4QQA8mYJyQ (envelope-from ); Sat, 22 Apr 2023 16:28:03 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-105G0069c782d1b-08bb-4969-8d89-b0393b880274, E9913F706B0966FB98C2C1C62831F8C2A85A18CE) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 Date: Sat, 22 Apr 2023 18:27:38 +0200 Message-Id: <20230422162750.17012-12-ngraves@ngraves.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230422162750.17012-1-ngraves@ngraves.fr> References: <20230422162750.17012-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 798263034614309602 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfedtiedguddttdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutdehnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeifedtudejseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeegpdhmohguvgepshhmthhpohhuth 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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.scm (go-github-com-jcmturner-gokrb5-v8): New variable. --- gnu/packages/golang.scm | 48 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index b7fd5f6736..2a518356da 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1505,6 +1505,54 @@ (define-public go-github-com-jcmturner-gofork arounds until issues are addressed in the official distribution.") (license license:bsd-3))) +(define-public go-github-com-jcmturner-gokrb5-v8 + (package + (name "go-github-com-jcmturner-gokrb5-v8") + (version "8.4.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jcmturner/gokrb5") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0w9d1pa3r6qmdblk25bghf78ncs03l15l1sxnh4n536c356rzq4b")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/jcmturner/gokrb5/v8" + #:unpack-path "github.com/jcmturner/gokrb5")) + (propagated-inputs (list go-golang-org-x-net + go-golang-org-x-crypto + go-github-com-stretchr-testify + go-github-com-jcmturner-rpc-v2-ndr + go-github-com-jcmturner-rpc-v2-mstypes + go-github-com-jcmturner-goidentity-v6 + go-github-com-jcmturner-gofork + go-github-com-jcmturner-dnsutils-v2 + go-github-com-jcmturner-aescts-v2 + go-github-com-hashicorp-go-uuid + go-github-com-gorilla-sessions)) + (home-page "https://github.com/jcmturner/gokrb5") + (synopsis "Pure Go Kerberos library for clients and services") + (description "This package provides a pure Go Kerberos library. It +features: +@itemize +@item Kerberos libraries for custom integration +@item Parsing Keytab files +@item Parsing krb5.conf files +@item Parsing client credentials cache files such as /tmp/krb5cc_$(id -u $(whoami)) +@end itemize + +On the client side, it provides a client that can authenticate to an SPNEGO +Kerberos authenticated web service, and the ability to change client's +password. + +On the server side, the library provides a HTTP handler wrapper implements +SPNEGO Kerberos authentication, as well as a HTTP handler wrapper decodes +Microsoft AD PAC authorization data.") + (license license:asl2.0))) + (define-public go-github-com-jcmturner-rpc (package (name "go-github-com-jcmturner-rpc")