From patchwork Thu Apr 25 09:22:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Tai X-Patchwork-Id: 63341 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 9F5D127BBE9; Thu, 25 Apr 2024 10:24:25 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable 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 016AA27BBE2 for ; Thu, 25 Apr 2024 10:24:24 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzvKi-0001bZ-Pq; Thu, 25 Apr 2024 05:24:00 -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 1rzvKe-0001bB-0v for guix-patches@gnu.org; Thu, 25 Apr 2024 05:23:57 -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 1rzvKd-0002eg-8D for guix-patches@gnu.org; Thu, 25 Apr 2024 05:23:55 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rzvKu-00049R-Ig for guix-patches@gnu.org; Thu, 25 Apr 2024 05:24:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70563] [PATCH] gnu: Add pkcs11-helper. Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Apr 2024 09:24:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70563 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70563@debbugs.gnu.org Cc: Andy Tai X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171403701115514 (code B ref -1); Thu, 25 Apr 2024 09:24:10 +0000 Received: (at submit) by debbugs.gnu.org; 25 Apr 2024 09:23:31 +0000 Received: from localhost ([127.0.0.1]:60502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rzvK9-00041V-Ln for submit@debbugs.gnu.org; Thu, 25 Apr 2024 05:23:29 -0400 Received: from lists.gnu.org ([2001:470:142::17]:51440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rzvJz-0003yy-Kn for submit@debbugs.gnu.org; Thu, 25 Apr 2024 05:23:21 -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 1rzvJX-00013K-1g for guix-patches@gnu.org; Thu, 25 Apr 2024 05:22:47 -0400 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rzvJT-0002T0-Ay for guix-patches@gnu.org; Thu, 25 Apr 2024 05:22:44 -0400 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1eab16c8d83so3953915ad.3 for ; Thu, 25 Apr 2024 02:22:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714036961; x=1714641761; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=XYbcjNb8HhXidx7xkn0cI/6RJ3Jf5PpZd3bkVwYMIr0=; b=X+5vnCbjb/rvswgxkAdjvOQ43DyVRTC4PjG1kh7Hly24ZD2vIaXqNnJE84UBOJdmbK zkK7GNPeeHLHDEKJPtJ3kFXiLutVgkjaBzsXlKx68lbXhgkiYBWT6UwynKL4TxnCAkQd ZlXb5yrF9scER/rWJfZyexvkSSgZUfMrf/o7ampmHRP/+hlfBWVL1gGelyxITJbgTWWv cN/hzhQyIisRe2zy4WYZzjEvPFPqhY+Ach1cDTOWytxoZXTLn9LubO5KMXMw5Owoy9cY XPOp4E6Wf9tkVRj7KY+cTb91K2ZAs7PgmFmbUv1HimgHPsVHKwWAGnctp8Ev2d8PhZIy hBpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714036961; x=1714641761; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=XYbcjNb8HhXidx7xkn0cI/6RJ3Jf5PpZd3bkVwYMIr0=; b=lDuY0n5K7/1QsKxr/vz9RQkxyjo5nMM+zXfqSlUyrT9OC7WMMxfocsKvsTmRkJZrrA xbBQGPoBd6gzcUkTSD3wKt+gXJxKD4Ja374dvyrYcP0pE0kz5SiSnCtO8GbHHltLdGjC gCQ8YEElJ1CV1Jx6ZSO9Rf1BvdTKDkkXwra9DIDicLp025IadY5mT1vDCBzlV1FGR5fF XhPP3JYJzK7Zs+/qbqPwTlEYVoOcTMoKmQBbddRTzNTqQ7h3Qe0yYR6QHqCd9+ZVm2gp fCH23pQS2VYGYDn4JVduVaDDMpYnoxku6ogNAHNUyqJtXpPN0k62EiPF5VZA3dlNCU21 V6kg== X-Gm-Message-State: AOJu0Ywyisyv7NQ7n86dTvbTIeNvIQLn8S7W2hXAeXHDyECVCoZBUTXQ M4+gQ3joqEqT5oV+oFLXiOckcupXzl9JagT36dldf7+ubWjSFe5LQlD11w== X-Google-Smtp-Source: AGHT+IFG83drmrcdz+MQ75ysJk15ZMT850LQfTyDmnviPwPYLRXohl9n93kPzWZzJbfjBld3AtlV2w== X-Received: by 2002:a17:902:c20d:b0:1e9:9fd4:e62d with SMTP id 13-20020a170902c20d00b001e99fd4e62dmr5043057pll.11.1714036960721; Thu, 25 Apr 2024 02:22:40 -0700 (PDT) Received: from DEskMiniX300.. (c-98-37-226-98.hsd1.ca.comcast.net. [98.37.226.98]) by smtp.gmail.com with ESMTPSA id kh5-20020a170903064500b001e4d22f828fsm13105508plb.33.2024.04.25.02.22.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 02:22:40 -0700 (PDT) From: Andy Tai Date: Thu, 25 Apr 2024 02:22:35 -0700 Message-Id: <356e77d1fbad51a042ebb8eaae2804bb74a30c9b.1714036907.git.atai@atai.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62e; envelope-from=lichengtai@gmail.com; helo=mail-pl1-x62e.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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/security-token.scm (pkcs11-helper): New variable. Change-Id: Ib17e0cf209a6fe797d0c797829ba91091b719028 --- gnu/packages/security-token.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) base-commit: 4514239971895fc7ad47c7752e30d98a0c44a154 diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index 00a7f97582..5e20424001 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -394,6 +394,30 @@ (define-public opensc #15 standard and the PKCS #11 API.") (license license:lgpl2.1+))) + +(define-public pkcs11-helper + (package + (name "pkcs11-helper") + (version "1.30.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/OpenSC/pkcs11-helper/releases/download/pkcs11-helper-" + version "/pkcs11-helper-" version ".tar.bz2")) + (sha256 + (base32 "1ac86jfj4qfwzbvsg6l9r4w4bbwxj2i9qi4dy1nz5aqcj6x1an2c")))) + (build-system gnu-build-system) + (inputs (list openssl-1.1 pcsc-lite)) + (native-inputs (list pkg-config)) + (home-page "https://github.com/OpenSC/pkcs11-helper") + (synopsis "Library that simplifies the interaction with PKCS#11 providers") + (description + "Pkcs11-helper is a library that simplifies the interaction with +PKCS#11 providers for end-user applications") + (license (list license:gpl2 license:bsd-3)))) + + (define-public yubico-piv-tool (package (name "yubico-piv-tool")