From patchwork Sun Feb 6 07:46:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 37016 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 EE0EB27BBEA; Sun, 6 Feb 2022 07:48:16 +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,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED 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 5E39327BBE9 for ; Sun, 6 Feb 2022 07:48:16 +0000 (GMT) Received: from localhost ([::1]:38646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGcHP-0000qx-Hq for patchwork@mira.cbaines.net; Sun, 06 Feb 2022 02:48:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGcHD-0000ow-16 for guix-patches@gnu.org; Sun, 06 Feb 2022 02:48:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42392) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGcHC-0006VX-IQ for guix-patches@gnu.org; Sun, 06 Feb 2022 02:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGcHC-0006LD-G5 for guix-patches@gnu.org; Sun, 06 Feb 2022 02:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53815] [PATCH 1/3] gnu: Add libnitrokey. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Feb 2022 07:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53815 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53815@debbugs.gnu.org X-Debbugs-Original-To: Guix Patches Received: via spool by submit@debbugs.gnu.org id=B.164413362624178 (code B ref -1); Sun, 06 Feb 2022 07:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Feb 2022 07:47:06 +0000 Received: from localhost ([127.0.0.1]:36289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGcGH-0006Hu-SZ for submit@debbugs.gnu.org; Sun, 06 Feb 2022 02:47:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:40642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGcGG-0006Hm-0C for submit@debbugs.gnu.org; Sun, 06 Feb 2022 02:47:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGcGB-0000g8-36 for guix-patches@gnu.org; Sun, 06 Feb 2022 02:47:01 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]:29758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGcG8-0006S9-Ro for guix-patches@gnu.org; Sun, 06 Feb 2022 02:46:58 -0500 Date: Sun, 06 Feb 2022 07:46:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1644133611; bh=WFAeFOLOrGphh4rKk2mnNAhjd4TVPW2rOik9570eDWw=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=uf1BxnF2Aworu6V/bjSWLsYPWSjhyI24EuKb+PNCIbnUS2WjF/8OMxfPnsP1Yc9R/ MvlJMfsNcnwkhqfkYyzF8GL3ZmJyz1ys12jRqcLSeGNYTst70RJ9zl8cEIs1B0lzOY Lj/lX6Weil7ozAT+oJb8qqkoq1dKbeyQ3s4fOjLrMdoKpxtEsDQ3zpa6gT3/bn5Q/D pET+m/mfIZzIFMWVlkShTEEfGS7xM0MZlV7hu1S/W7vLlcNYAJpmhGaZ4S83rdFmMp RICUQEgl9y2zGkj1dGaICCHcD42xaehYGBdzr9Ecq55dl6X/N3g2NY11qIz4KLAHT/ pJRVwJgbofSew== Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.134; envelope-from=phodina@protonmail.com; helo=mail-40134.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches Hi, Here are patches which add GUI tool to interface with Nitrokey hardware token. ---- Petr From eef718af2c1218aebb1999acab864e281a945ac9 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Sat, 5 Feb 2022 23:27:06 +0100 Subject: [PATCH 3/3] gnu: Add nitrokey-app. * gnu/packages/crates-io.scm (nitrokey-app): New variable. diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index 1188df5348..d7e39ad475 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -781,6 +781,36 @@ (define-public cppcodec encode/decode base64, base64url, base32, base32hex and hex.") (license license:expat))) +(define-public nitrokey-app + (package + (name "nitrokey-app") + (version "1.4.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Nitrokey/nitrokey-app") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1imbvaf0yncz36ckjr99x94jwg2hnid49hsiqlxsv7ccxgk058bk")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f)) ;no test suite + (native-inputs (list pkg-config qttools)) + (inputs (list cppcodec + hidapi + libnitrokey + libusb + qtbase-5 + qtsvg)) + (home-page "https://github.com/Nitrokey/nitrokey-app") + (synopsis "GUI tool for Nitrokey devices") + (description + "This package provides GUI tool that interfaces with Nitrokey Pro +v0.7/v0.8 and Nitrokey Storage devices.") + (license license:gpl3+))) + (define-public nitrocli (package (name "nitrocli") -- 2.34.0