From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MA1YEDFVxV97fQAA0tVLHw (envelope-from ) for ; Mon, 30 Nov 2020 20:25:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OJ4nDDFVxV+kHQAA1q6Kng (envelope-from ) for ; Mon, 30 Nov 2020 20:25:21 +0000 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 0BFEA94011C for ; Mon, 30 Nov 2020 20:25:21 +0000 (UTC) Received: from localhost ([::1]:34910 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjpjb-0006Lg-UZ for larch@yhetil.org; Mon, 30 Nov 2020 15:25:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjpjM-00062y-8J for guix-patches@gnu.org; Mon, 30 Nov 2020 15:25:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45254) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjpjM-0000ua-0Y for guix-patches@gnu.org; Mon, 30 Nov 2020 15:25:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjpjL-0001xl-Te for guix-patches@gnu.org; Mon, 30 Nov 2020 15:25:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44969] [PATCH 5/7] gnu: Added go-github-com-gorilla-csrf. Resent-From: Martin Becze Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Nov 2020 20:25:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44969 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44969@debbugs.gnu.org Cc: Martin Becze Received: via spool by 44969-submit@debbugs.gnu.org id=B44969.16067678907477 (code B ref 44969); Mon, 30 Nov 2020 20:25:03 +0000 Received: (at 44969) by debbugs.gnu.org; 30 Nov 2020 20:24:50 +0000 Received: from localhost ([127.0.0.1]:56792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjpj7-0001wR-Rt for submit@debbugs.gnu.org; Mon, 30 Nov 2020 15:24:50 -0500 Received: from mx1.riseup.net ([198.252.153.129]:42264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjpiy-0001vw-GE for 44969@debbugs.gnu.org; Mon, 30 Nov 2020 15:24:40 -0500 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4ClGtJ0kCkzDsY0 for <44969@debbugs.gnu.org>; Mon, 30 Nov 2020 12:24:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1606767880; bh=AwNC+CTadhvbqlqVucOc3Gt/apXK1mH8wZmAVWsZHqQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W1zznkPojgUoG2HvjMHHQNx2C6Soa/uT1zYhH5DbjIiuAzGrcnGNJtbmor+eywgGd bPKLA37sqw9Sy4Zwj0rCGIHQ328kKdaPF/oxZ/h5soemvnETHp4ua6Ayu22fbXmsko IHntK6jjyhsmjRWnocwWPcozW3nhrnEkTQuhHoE4= X-Riseup-User-ID: DC88C66A7E476ADF55CB681114263FA9643EEA7BDC8274633817BA4D39E3D996 Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 4ClGtH0qfbzJp5b; Mon, 30 Nov 2020 12:24:38 -0800 (PST) From: Martin Becze Date: Mon, 30 Nov 2020 14:24:06 -0600 Message-Id: <20201130202408.27437-5-mjbecze@riseup.net> In-Reply-To: <20201130202408.27437-1-mjbecze@riseup.net> References: <20201130201757.27248-1-mjbecze@riseup.net> <20201130202408.27437-1-mjbecze@riseup.net> 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" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 3.82 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=riseup.net header.s=squak header.b=W1zznkPo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 0BFEA94011C X-Spam-Score: 3.82 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: Ctm44/C8N+LW * gnu/packages/golang.scm (go-github-com-gorilla-csrf): New variable. --- gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 7a2d62a752..78bbf2453d 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1380,6 +1380,33 @@ and web applications.") encrypted cookie values for Go web applications.") (license license:bsd-3))) +(define-public go-github-com-gorilla-csrf + (package + (name "go-github-com-gorilla-csrf") + (version "1.7.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gorilla/csrf") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0iryq0z48yi7crfbd8jxyn7lh1gsglpiglvjgnf23bz6xfisssav")))) + (build-system go-build-system) + (propagated-inputs + `(("github.com/gorilla/securecookie" ,go-github-com-gorilla-securecookie) + ("github.com/pkg/errors" ,go-github-com-pkg-errors))) + (arguments + '(#:import-path "github.com/gorilla/csrf")) + (home-page "https://github.com/gorilla/csrf") + (synopsis "Cross Site Request Forgery (CSRF) prevention middleware") + (description + "Gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention +middleware for Go web applications and services.") + (license license:bsd-3))) + (define-public go-github-com-jonboulle-clockwork (let ((commit "e3653ace2d63753697e0e5b07b9393971c0bba9d") (revision "0")) -- 2.29.2