From patchwork Sat Apr 20 01:08:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Marusich X-Patchwork-Id: 9598 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 B06FC16EA1; Sat, 20 Apr 2019 02:09:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 0165A16EA1 for ; Sat, 20 Apr 2019 02:09:12 +0100 (BST) Received: from localhost ([127.0.0.1]:35157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHeVD-0001CD-Eb for patchwork@mira.cbaines.net; Fri, 19 Apr 2019 21:09:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHeV8-00018b-SG for guix-patches@gnu.org; Fri, 19 Apr 2019 21:09:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hHeV7-0003ey-IH for guix-patches@gnu.org; Fri, 19 Apr 2019 21:09:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59809) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hHeV7-0003es-Ey for guix-patches@gnu.org; Fri, 19 Apr 2019 21:09:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hHeV7-0006bS-8t for guix-patches@gnu.org; Fri, 19 Apr 2019 21:09:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#35333] [PATCH 6/6] gnu: Add python-yubikey-manager and python2-yubikey-manager. Resent-From: Chris Marusich Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 Apr 2019 01:09:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35333 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35333@debbugs.gnu.org Received: via spool by 35333-submit@debbugs.gnu.org id=B35333.155572252625302 (code B ref 35333); Sat, 20 Apr 2019 01:09:05 +0000 Received: (at 35333) by debbugs.gnu.org; 20 Apr 2019 01:08:46 +0000 Received: from localhost ([127.0.0.1]:45112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHeUo-0006Zx-DM for submit@debbugs.gnu.org; Fri, 19 Apr 2019 21:08:46 -0400 Received: from mail-pf1-f176.google.com ([209.85.210.176]:34058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHeUj-0006Yq-5R for 35333@debbugs.gnu.org; Fri, 19 Apr 2019 21:08:41 -0400 Received: by mail-pf1-f176.google.com with SMTP id b3so3208211pfd.1 for <35333@debbugs.gnu.org>; Fri, 19 Apr 2019 18:08:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iVaWN90250acOHJFFsiCsZ93ykCTIrfJH6rxExpyBBU=; b=i4n7RoDmaThNUyd2Cp4cwKEPxm5kDCHJjzfYCCEkRvmZM3AT2ZfQ+GpMfV+YYsT7G7 ormgEKckRsQU6zVn0Nv9SAxoWjHHiO3wTsQdtUjoFudsKbRze+o2PSWbBRS/alf2QgSi sPZ2VD8xyyR9xXQFSaPCRQmtxuooRzUk7csITttKbSkONNjjZ4WI5S6XpIroyt2faP3T o+HkFRmmB2hCM54aXE9oV8isrjj1Xzd5OSaUIcWzy8GYPDGTPR/3CaKci601Zap+biTG KYfCSYRpib2O850/2AVxHykWXQQ1fZBrNNCV2FT7sVewm5sSB2V25mr1h0AeNdc1cXXH Qohg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iVaWN90250acOHJFFsiCsZ93ykCTIrfJH6rxExpyBBU=; b=ng1KDz719s0AZ9CqoVUCa4py7o/Z1g8w2/khAU+MnLMF1+pklIrvXcPDTzoCdVJMsa u3oumJLJZUl0orOffSQegc1WIGReUOsQcngzvgyMxWN5LcgR/mhPSe/fGoVY2uXaTxrJ d4dsxrLYnwXIuX5oYAmWmugNphYuyOgD+WC1wbT9r3Zqty3FSRjV5QTiRldzo6uDKt01 Bm/sZNI9oNUmH0sBnfFGMz48QzKZ8w6b82CwuWMYueWeQfemsS2E8ZLIxvdMOmUSUcs5 v/VYuq71HLyTFSviIuw4F8Gaf6P03kEA7DENYlUWROZtJMt4hSt2Dkp4mOj61SGUfw5C IS+w== X-Gm-Message-State: APjAAAXACKZDLeDkBPGgjGQH+rN2m4a9eJQuWXMtnh9iZKOa+bIYujRj +Z9fALt0KiiBVB8acxOSm6CzvitH X-Google-Smtp-Source: APXvYqzzp0SFVQ8VgWiBWnWxLGk+XAVpM/UGNGhJTp+Le6Vkr1MRvgyjhl3XFXkXwl7sM4QL6FV6wQ== X-Received: by 2002:a62:47d0:: with SMTP id p77mr6980559pfi.95.1555722515066; Fri, 19 Apr 2019 18:08:35 -0700 (PDT) Received: from garuda.lan ([2601:601:9d80:25b2::fa8]) by smtp.gmail.com with ESMTPSA id h16sm8876885pgj.85.2019.04.19.18.08.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Apr 2019 18:08:34 -0700 (PDT) From: Chris Marusich Date: Fri, 19 Apr 2019 18:08:00 -0700 Message-Id: <20190420010800.5741-7-cmmarusich@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190420010800.5741-1-cmmarusich@gmail.com> References: <20190420003814.5120-1-cmmarusich@gmail.com> <20190420010800.5741-1-cmmarusich@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chris Marusich Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/security-token.scm (python-yubikey-manager) (python2-yubikey-manager): New variables. --- gnu/packages/security-token.scm | 40 +++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index 29c424d21d..95ef7975bd 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -510,3 +510,43 @@ implementing a Relying Party.") (define-public python2-fido2 (package-with-python2 python-fido2)) + +(define-public python-yubikey-manager + (package + (name "python-yubikey-manager") + (version "2.1.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://developers.yubico.com/yubikey-manager/Releases" + "/yubikey-manager-" version ".tar.gz")) + (sha256 + (base32 + "11rsmcaj60k3y5m5gdhr2nbbz0w5dm3m04klyxz0fh5hnpcmr7fm")))) + (build-system python-build-system) + (propagated-inputs + `(("python-six" ,python-six) + ("python-pyscard" ,python-pyscard) + ("python-pyusb" ,python-pyusb) + ("python-click" ,python-click) + ("python-cryptography" ,python-cryptography) + ("python-pyopenssl" ,python-pyopenssl) + ("python-fido2" ,python-fido2))) + (inputs + `(("yubikey-personalization" ,yubikey-personalization) + ("pcsc-lite" ,pcsc-lite) + ("libusb" ,libusb))) + (native-inputs + `(("swig" ,swig) + ("python-mock" ,python-mock))) + (home-page "https://developers.yubico.com/yubikey-manager/") + (synopsis "Command line tool and library for configuring a YubiKey") + (description + "Python library and command line tool for configuring a YubiKey. Note +that after installing this package, you might still need to add appropriate +udev rules to your system configuration to be able to configure the YubiKey as +an unprivileged user.") + (license license:bsd-2))) + +(define-public python2-yubikey-manager + (package-with-python2 python-yubikey-manager))