From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 21 19:14:37 2023 Received: (at submit) by debbugs.gnu.org; 22 Nov 2023 00:14:37 +0000 Received: from localhost ([127.0.0.1]:57700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5at2-0003ci-BP for submit@debbugs.gnu.org; Tue, 21 Nov 2023 19:14:36 -0500 Received: from lists.gnu.org ([2001:470:142::17]:58584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5ZF5-0000ng-4S for submit@debbugs.gnu.org; Tue, 21 Nov 2023 17:29:16 -0500 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 1r5ZEw-0001tr-Hx for guix-patches@gnu.org; Tue, 21 Nov 2023 17:29:06 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r5ZEu-0004vq-B6 for guix-patches@gnu.org; Tue, 21 Nov 2023 17:29:06 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id CA7F1240103 for ; Tue, 21 Nov 2023 23:29:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1700605740; bh=VCfCUUv8R+Z96UnCiNRysgslKXkPXqPc6e9rWD2LIXs=; h=MIME-Version:Content-Transfer-Encoding:Date:From:To:Subject: Message-ID:From; b=jTMcDj2Ti1qeSv/3AZ3YFXvIzZzvuP1Nx0ZWjAAhBvikrHij4Zk+iRRsEMdPuDtjJ PbklXIJ2mDYKX4VFFmJ4rliLCcAXD0WXQaor9O/pM9L3ht16I/S7qD430z18rXZd5i z89Gv+jTL1Z3vPUIAhrENv+bEp4EG8Q2+xwPsrRcN+vAhky1n5E7+4o8mOEH391K9h 7WqxDO2pqWnoz3VSKiqpVREYeP7ZL5yXFOWSYDn3Sk+beSaRlQugCpDEMs8v4b+0E5 GsWwmMa/quke3GpBMHotSPRvez1JeKteTNETxOOoGNOjUmKZl61jK+eGwa+S9AxO3Y BAa3rjHzJM0Ow== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SZfDX3mXhz6trs for ; Tue, 21 Nov 2023 23:29:00 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 21 Nov 2023 22:29:00 +0000 From: jrballesteros05@posteo.net To: Guix patches Subject: [PATCH 0/2] Add solo2-cli to manage "solokeys" Message-ID: Received-SPF: pass client-ip=185.67.36.66; envelope-from=jrballesteros05@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 21 Nov 2023 19:14:35 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello Guix team, this is my first code contribution in a libre software project so I would have a lot of mistakes despite I read the documentation, if I make so many mistakes I am so sorry but many of the stuffs from documentation are too advance for me. I bought a couple of solokeys and I packaged the cli tool https://github.com/solokeys/solo2-cli. I hope this contribution will be accepted. Jrballesteros05 (2): added solo2-cli software to manage solokeys gnu: contributing: solo2 library and CLI gnu/packages/crates-graphics.scm | 20 + gnu/packages/crates-io.scm | 933 +++++++++++++++++++++++++++++++ gnu/packages/security-token.scm | 79 +++ 3 files changed, 1032 insertions(+) base-commit: 42be8fa560a7554ac35801b46c3a0a007fd742ce -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 22 03:43:31 2023 Received: (at 67356) by debbugs.gnu.org; 22 Nov 2023 08:43:31 +0000 Received: from localhost ([127.0.0.1]:57983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5ipV-0003TL-Eq for submit@debbugs.gnu.org; Wed, 22 Nov 2023 03:43:31 -0500 Received: from mout02.posteo.de ([185.67.36.66]:51035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5ipR-0003T4-8B for 67356@debbugs.gnu.org; Wed, 22 Nov 2023 03:43:28 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 87DD3240105 for <67356@debbugs.gnu.org>; Wed, 22 Nov 2023 09:43:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1700642595; bh=KpHVYIIu1RiDoC2pYO/wAykyRyoBin5nOokwmkPxAfw=; h=MIME-Version:Content-Transfer-Encoding:Date:From:To:Subject: Message-ID:From; b=AGGppGQmvFE/sU/GZtGu3cdkqjgr+Ia9YmPHdootg5fMTaZnsatYsvY42DXJdvCF2 9h5phhsUcUCFRG9HDHJMgN9SrgIc+/piHZX3z+LaHN2aVErtXhAKKcsKCV+yPmyKmW 0CBJXb3c9e/dfA7CKlr9Ss0g0G5jfD/TnXmFczfP9Gn46PHB/QUmtzxi8Vwn0sKDVc BmzIbVwVYO2Y9hV+y7ICEW5Xl9GNahwgo4vKSqlTjonpc6y57M15TXvNovNIV/Ym11 RXnwUGl96FGiLPY6NIGknm/mfv9qCH//q/D/OjjTaA/w91C7+YGeq8rqkqZR1XsMzl mLyzq5VvHr27w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SZvsG6W3bz6twF for <67356@debbugs.gnu.org>; Wed, 22 Nov 2023 09:43:14 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Wed, 22 Nov 2023 08:43:14 +0000 From: jrballesteros05@posteo.net To: 67356@debbugs.gnu.org Subject: [PATCH 1/2] added solo2-cli software to manage solokeys Message-ID: <51a722a63aaeb687f9fea98e64b7a132@posteo.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67356 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Change-Id: I08d61bee1d39066b6f2bfee35413e3963341c3f0 --- gnu/packages/crates-graphics.scm | 20 + gnu/packages/crates-io.scm | 933 +++++++++++++++++++++++++++++++ gnu/packages/security-token.scm | 78 +++ 3 files changed, 1031 insertions(+) diff --git a/gnu/packages/crates-graphics.scm=20 b/gnu/packages/crates-graphics.scm index 22b77121e9..957ab53d39 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -198,6 +198,26 @@ (define-public rust-ansi-term-0.9 "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13")))) (arguments `()))) +(define-public rust-ansi-term-0.7 + (package + (inherit rust-ansi-term-0.11) + (name "rust-ansi-term") + (version "0.7.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "ansi_term" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "03gpxx3vf9mlc1q5xa31dpbvf1k07k9ggcz3vl31rv44mp85l9rh")))) + (arguments + `()) + (home-page "https://github.com/ogham/rust-ansi-term") + (synopsis "A library for controlling colours and formatting") + (description + "This is a library for controlling colours and formatting, such as=20 red bold text or blue underlined text, on ANSI terminals.") + (license license:expat))) + (define-public rust-aom-sys-0.3 (package (name "rust-aom-sys") diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d42ff60a20..d0a42e60de 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6854,6 +6854,29 @@ (define-public rust-base16ct-0.2 embedded-friendly no_std support.") (license (list license:asl2.0 license:expat)))) +(define-public rust-base16ct-0.1 + (package + (inherit rust-base16ct-0.2) + (name "rust-base16ct") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "base16ct" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1klccxr7igf73wpi0x3asjd8n0xjg0v6a7vxgvfk5ybvgh1hd6il")))) + (home-page=20 "https://github.com/RustCrypto/formats/tree/master/base16ct") + (synopsis + "Rust implementation of Base16 a.k.a hexadecimal") + (description + "This package provides a pure Rust implementation of Base16 a.k.a +hexadecimal (RFC 4648) which avoids any usages of data-dependent=20 branches/LUTs +and thereby provides portable \"best effort\" constant-time operation=20 and +embedded-friendly no_std support.") + (license (list license:expat + license:asl2.0)))) + (define-public rust-base32-0.4 (package (name "rust-base32") @@ -8405,6 +8428,29 @@ (define-public rust-bitflags-0.7 (base32 "0v8hh6wdkpk9my8z8442g4hqrqf05h0qj53dsay6mv18lqvqklda")))))) +(define-public rust-bitflags-0.4 + (package + (inherit rust-bitflags-1) + (name "rust-bitflags") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bitflags" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "18q4xvy9m7lhqwx46x1gzy5ywvpb6h4yb89ig5iwy9qi3i3dgsld")))) + (home-page "https://github.com/bitflags/bitflags") + (synopsis + "Generates flags enums with well-defined semantics and ergonomic=20 end-user APIs.") + (description + "Generates flags enums with well-defined semantics and ergonomic=20 end-user APIs. + You can use bitflags to: + provide more user-friendly bindings to C APIs where flags may or=20 may not be fully known in advance. + generate efficient options types with string parsing and=20 formatting support.") + (license (list license:expat + license:asl2.0)))) + (define-public rust-bitflags-0.2 (package (inherit rust-bitflags-1) @@ -12983,6 +13029,60 @@ (define-public rust-clap-derive-3 ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-clap-verbosity-flag-2.1 + (package + (name "rust-clap-verbosity-flag") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "clap-verbosity-flag" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1n5lpxkvv6yyaza8smizn9i0z4gbigqxvhx7xfm61r5bg5dj92d5")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-clap-builder" ,rust-clap-builder-4) + ("rust-clap" ,rust-clap-4) + ("rust-log" ,rust-log-0.4) + ("rust-ansi-term" ,rust-ansi-term-0.7) + ("rust-bitflags" ,rust-bitflags-0.4) + ("rust-strsim" ,rust-strsim-0.4) + ("rust-vec-map" ,rust-vec-map-0.4)))) + (home-page "https://github.com/clap-rs/clap-verbosity-flag") + (synopsis "Easily add a `--verbose` flag to CLIs using Clap ") + (description "Easily add a `--verbose` flag to CLIs using Clap ") + (license (list license:expat + license:asl2.0)))) + +(define-public rust-clap-verbosity-flag-2.0 + (package + (name "rust-clap-verbosity-flag") + (version "2.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "clap-verbosity-flag" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1pp7zrchy9cgn0jz03v09jhp7n7sww9lcfqwxgr3sl89j1v0bvqy")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-clap-builder" ,rust-clap-builder-4) + ("rust-clap" ,rust-clap-4) + ("rust-log" ,rust-log-0.4) + ("rust-ansi-term" ,rust-ansi-term-0.7) + ("rust-bitflags" ,rust-bitflags-0.4) + ("rust-strsim" ,rust-strsim-0.4) + ("rust-vec-map" ,rust-vec-map-0.4)))) + (home-page "https://github.com/clap-rs/clap-verbosity-flag") + (synopsis "Easily add a `--verbose` flag to CLIs using Clap ") + (description "Easily add a `--verbose` flag to CLIs using Clap ") + (license (list license:expat + license:asl2.0)))) + (define-public rust-clap-4 (package (name "rust-clap") @@ -15091,6 +15191,26 @@ (define-public rust-const-oid-0.9 ;; The user can choose either license. (license (list license:asl2.0 license:expat)))) +(define-public rust-const-oid-0.7 + (package + (inherit rust-const-oid-0.9) + (name "rust-const-oid") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "const-oid" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1wwl3cncd8p2fa54vzmghflh4nh9ml02xfbv38nf5ziifh28riz4")))) + (home-page=20 "https://github.com/RustCrypto/formats/tree/master/const-oid") + (synopsis "Implementation of the ISO/IEC Object Identifier (OID)") + (description + "This package is a const-friendly implementation of the ISO/IEC=20 Object +Identifier (OID) standard as defined in ITU X.660, with support for=20 BER/DER +encoding/decoding as well as heapless no_std (i.e., embedded)=20 support.") + (license license:expat))) + (define-public rust-const-oid-0.6 (package (inherit rust-const-oid-0.9) @@ -17785,6 +17905,51 @@ (define-public rust-crypto-bigint-0.5 using const generics.") (license (list license:asl2.0 license:expat)))) +(define-public rust-crypto-bigint-0.4 + (package + (inherit rust-crypto-bigint-0.5) + (name "rust-crypto-bigint") + (version "0.4.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto-bigint" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1vqprgj0aj1340w186zyspi58397ih78jsc0iydvhs6zrlilnazg")))) + (home-page "https://github.com/RustCrypto/crypto-bigint") + (synopsis + "Big integer library designed for use in cryptography") + (description + "This crate is a pure Rust implementation of a big integer library=20 which +has been designed from the ground-up for use in cryptographic=20 applications. +Provides constant-time, no_std-friendly implementations of modern=20 formulas +using const generics.") + (license (list license:expat + license:asl2.0)))) + +(define-public rust-crypto-bigint-0.3 + (package + (inherit rust-crypto-bigint-0.5) + (name "rust-crypto-bigint") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto-bigint" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "08gx92sj93hk2smqy4nvk8lmpjjjqm7a9ps22q3pxqqxzbas3ih3")))) + (home-page "https://github.com/RustCrypto/crypto-bigint") + (synopsis + "Pure Rust implementation of a big integer library which has been=20 designed from the ground-up for use in cryptographic applications.=20 Provides constant-time, no_std-friendly implementations of modern=20 formulas using const generics.") + (description + "Pure Rust implementation of a big integer library which has been=20 designed from the ground-up for use in cryptographic applications. + Provides constant-time, no_std-friendly implementations of modern=20 formulas using const generics.") + (license (list license:expat + license:asl2.0)))) + + (define-public rust-crypto-bigint-0.2 (package (inherit rust-crypto-bigint-0.5) @@ -19793,6 +19958,29 @@ (define-public rust-dbus-tree-0.9 "This crate is a framework for writing D-Bus method handlers=20 (legacy).") (license (list license:asl2.0 license:expat)))) +(define-public rust-delog-0.1 + (package + (name "rust-delog") + (version "0.1.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "delog" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "13xckqdw8b4s47sfqmq9lm0vdl808n11n9a18jfhqd32h8v96axg")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-log" ,rust-log-0.4)))) + (home-page "https://delog.rs/") + (synopsis + "Deferred logging, an implementation and extension of Rust's=20 standard logging facade.") + (description + "Deferred logging, an implementation and extension of Rust's=20 standard logging facade.") + (license (list license:expat + license:asl2.0)))) + (define-public rust-deadpool-0.7 (package (name "rust-deadpool") @@ -20289,6 +20477,32 @@ (define-public rust-der-0.6 (("rust-hex-literal" ,rust-hex-literal-0.3) ("rust-proptest" ,rust-proptest-1)))))) +(define-public rust-der-0.5 + (package + (inherit rust-der-0.7) + (name "rust-der") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "der" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "0p3h7nszn7jhjacpmkjrcyx5g8p3ma1qhxfy3397m7l3fdfq26b9")))) + (arguments + (list + #:cargo-inputs `(("rust-const-oid" ,rust-const-oid-0.7) + ("rust-crypto-bigint" ,rust-crypto-bigint-0.3) + ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.3)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/der") + (synopsis + "Pure Rust embedded-friendly implementation of the Distinguished=20 Encoding Rules (DER) for Abstract Syntax Notation One (ASN.1) as=20 described in ITU X.690 with full support for heapless no_std targets") + (description + "Pure Rust embedded-friendly implementation of the Distinguished=20 Encoding Rules (DER) for Abstract Syntax Notation One (ASN.1) as=20 described in ITU X.690.") + (license (list license:expat + license:asl2.0)))) + + (define-public rust-der-0.4 (package (inherit rust-der-0.7) @@ -22774,6 +22988,30 @@ (define-public rust-ecdsa-0.16 support for added entropy.") (license (list license:asl2.0 license:expat)))) +(define-public rust-ecdsa-0.15 + (package + (inherit rust-ecdsa-0.16) + (name "rust-ecdsa") + (version "0.15.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ecdsa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "0zk3nz2qlczayd8w7zp3nh1skxh5nvrk1l16m62l3msab50l310j")))) + (arguments + (list + #:cargo-inputs `(("rust-rfc6979" ,rust-rfc6979-0.3) + ("rust-signature" ,rust-signature-2.0)))) + (home-page=20 "https://github.com/RustCrypto/signatures/tree/master/ecdsa") + (synopsis + "Pure Rust implementation of the Elliptic Curve Digital Signature=20 Algorithm (ECDSA) as specified in FIPS 186-4 (Digital Signature=20 Standard), providing RFC6979 deterministic signatures as well as support=20 for added entropy.") + (description + "Elliptic Curve Digital Signature Algorithm (ECDSA) as specified=20 in FIPS 186-4 (Digital Signature Standard).") + (license (list license:expat + license:asl2.0)))) + (define-public rust-ecies-ed25519-0.5 (package (name "rust-ecies-ed25519") @@ -23053,6 +23291,35 @@ (define-public rust-elliptic-curve-0.13 curve forms, scalars, points, and public/secret keys composed=20 thereof.") (license (list license:asl2.0 license:expat)))) +(define-public rust-elliptic-curve-0.12 + (package + (inherit rust-elliptic-curve-0.13) + (name "rust-elliptic-curve") + (version "0.12.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "elliptic-curve" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1lwi108mh6drw5nzqzlz7ighdba5qxdg5vmwwnw1j2ihnn58ifz7")))) + (arguments + `(#:cargo-inputs (("rust-base16ct" ,rust-base16ct-0.1) + ("rust-crypto-bigint" ,rust-crypto-bigint-0.4) + ("rust-ff" ,rust-ff-0.12) + ("rust-group" ,rust-group-0.12) + ("rust-sec1" ,rust-sec1-0.3)))) + (home-page + "https://github.com/RustCrypto/traits/tree/master/elliptic-curve") + (synopsis + "General purpose Elliptic Curve Cryptography (ECC) support") + (description + "This package provides general purpose @dfn{Elliptic Curve=20 Cryptography} +(ECC) support, including types and traits for representing various=20 elliptic +curve forms, scalars, points, and public/secret keys composed=20 thereof.") + (license (list license:expat + license:asl2.0)))) + (define-public rust-emacs-0.18 (package (name "rust-emacs") @@ -23829,6 +24096,49 @@ (define-public rust-enum-map-derive-0.4 @code{#[derive(Enum)]}.") (license (list license:expat license:asl2.0)))) +(define-public rust-enum-iterator-derive-1 + (package + (name "rust-enum-iterator-derive") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "enum-iterator-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1jzxgfhz4i0hvnw5qzqhwscky8vsmxljv89g0navisacay4qbkzf")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/stephaneyfx/enum-iterator.git") + (synopsis "Procedural macro to derive Sequence.") + (description "Procedural macro to derive Sequence") + (license license:bsd-0))) + +(define-public rust-enum-iterator-1 + (package + (name "rust-enum-iterator") + (version "1.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "enum-iterator" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "12g63d7w5vpq964f7fbnahw2qiqsml3f9j3rxrk6f1yxnmrkipbs")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-enum-iterator-derive"=20 ,rust-enum-iterator-derive-1)))) + (home-page "") + (synopsis + "Tools to iterate over all values of a type (e.g. all variants of=20 an enumeration)") + (description "Tools to iterate over the values of a type.") + (license license:bsd-0))) + (define-public rust-enum-map-0.6 (package (name "rust-enum-map") @@ -25727,6 +26037,25 @@ (define-public rust-ff-0.13 interfacing with finite fields.") (license (list license:expat license:asl2.0)))) +(define-public rust-ff-0.12 + (package + (inherit rust-ff-0.13) + (name "rust-ff") + (version "0.12.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ff" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "0q3imz4m3dj2cy182i20wa8kbclgj13ddfngqb2miicc6cjzq4yh")))) + (home-page "https://github.com/zkcrypto/ff") + (synopsis "Library for building and interfacing with finite=20 fields.") + (description + "ff is a finite field library written in pure Rust, with no=20 unsafe{} code.") + (license (list license:expat + license:asl2.0)))) + (define-public rust-ff-derive-0.13 (package (name "rust-ff-derive") @@ -26221,6 +26550,30 @@ (define-public rust-flate2-1 streams.") (license (list license:expat license:asl2.0)))) +(define-public rust-flexiber-0.1 + (package + (name "rust-flexiber") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "flexiber" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1r9qg4bsdhl7p9hxn435lahhnnlpk65kin28b0zv1izfcqa5ppz3")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-delog" ,rust-delog-0.1)))) + (home-page "https://github.com/nickray/flexiber") + (synopsis + "Encoding and decoding of BER-TLV as described in ISO 7816-4,=20 without allocations.") + (description + "Encoding and decoding of BER-TLV as described in ISO 7816-4,=20 without allocations. + Follows the approach taken in der, and then in simple-tlv.") + (license (list license:expat + license:asl2.0)))) + (define-public rust-float-cmp-0.9 (package (name "rust-float-cmp") @@ -30317,6 +30670,25 @@ (define-public rust-group-0.13 (description "Elliptic curve group traits and utilities.") (license (list license:expat license:asl2.0)))) +(define-public rust-group-0.12 + (package + (inherit rust-group-0.13) + (name "rust-group") + (version "0.12.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "group" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1ixspxqdpq0hxg0hd9s6rngrp6rll21v4jjnr7ar1lzvdhxgpysx")))) + (home-page "https://github.com/zkcrypto/group") + (synopsis "Elliptic curve group traits and utilities") + (description + "group is a crate for working with groups over elliptic curves.") + (license (list license:expat + license:asl2.0)))) + (define-public rust-groupable-0.2 (package (name "rust-groupable") @@ -30590,6 +30962,28 @@ (define-public rust-half-1 ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) ("rust-rand" ,rust-rand-0.8)))))) +(define-public rust-hidapi-2 + (package + (name "rust-hidapi") + (version "2.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hidapi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "0ydgyvs1bilc50xn7x8m7jk0p563v1mljiy9mqq5gk0d7ck7fdvj")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-winapi" ,rust-winapi-0.3) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/ruabmbua/hidapi-rs") + (synopsis "Rust-y wrapper around hidapi") + (description + "This crate provides a rust abstraction over the features of the C=20 library hidapi. Based off of hidapi-rs by Osspial.") + (license license:expat))) + (define-public rust-home-0.5 (package (name "rust-home") @@ -31553,6 +31947,26 @@ (define-public rust-hex-literal-0.3 (base32 "1q54yvyy0zls9bdrx15hk6yj304npndy9v4crn1h1vd95sfv5gby")))))) +(define-public rust-hex-literal-0.3.1 + (package + (inherit rust-hex-literal-0.3) + (name "rust-hex-literal") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hex-literal" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1j0ri05s2r5870v4mj13j019x069w6zkdccjhgblbi8vxwszdwas")))) + (home-page "https://github.com/RustCrypto/utils") + (synopsis + "Macro for converting hexadecimal string to a byte array at=20 compile time.") + (description + "This crate provides the hex! macro for converting hexadecimal=20 string literals to a byte array at compile time.") + (license (list license:expat + license:asl2.0)))) + (define-public rust-hex-literal-0.2 (package (inherit rust-hex-literal-0.3) @@ -33914,6 +34328,25 @@ (define-public rust-indicatif-0.15 Rust.") (license license:expat))) +(define-public rust-indicatif-0.17 + (package + (inherit rust-indicatif-0.16) + (name "rust-indicatif") + (version "0.17.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "indicatif" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "098ggvg7ps4097p5n9hmb3pqqy10bi8vjfzb7pci79xrklf78a7v")))) + (home-page "https://github.com/console-rs/indicatif") + (synopsis "A progress bar and cli reporting library for Rust") + (description + "A Rust library for indicating progress in command line=20 applications to users. + This currently primarily provides progress bars and spinners as=20 well as basic color support, but there are bigger plans for the future=20 of this!") + (license license:expat))) + (define-public rust-indoc-2 (package (name "rust-indoc") @@ -34991,6 +35424,28 @@ (define-public rust-iso8601-0.3 (description "Parsing ISO8601 dates using nom.") (license license:expat))) +(define-public rust-iso7816-0.1 + (package + (name "rust-iso7816") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "iso7816" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "0lpnwfn63hvfwywhvv5q8agybyzwpf8cx5amhsvlk4sh7msarrp7")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-delog" ,rust-delog-0.1) + ("rust-heapless" ,rust-heapless-0.7)))) + (home-page "https://github.com/ycrypto/iso7816") + (synopsis "Types for ISO 7816") + (description "Types for ISO 7816") + (license (list license:expat + license:asl2.0)))) + (define-public rust-itertools-0.11 (package (name "rust-itertools") @@ -39128,6 +39583,46 @@ (define-public rust-lopdf-0.26 ("rust-rayon" ,rust-rayon-1) ("rust-time" ,rust-time-0.2)))))) +(define-public rust-lpc55-0.2 + (package + (name "rust-lpc55") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "lpc55" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1idixv6hfbrpivhl27cbnzjqmivphknzjgim3ivcr3gjqkmzpv7j")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-delog" ,rust-delog-0.1) + ("rust-aes" ,rust-aes-0.8) + ("rust-anyhow" ,rust-anyhow-1) + ("rust-atty" ,rust-atty-0.2) + ("rust-base64" ,rust-base64-0.21) + ("rust-bitflags" ,rust-bitflags-1.2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-ctr" ,rust-ctr-0.9) + ("rust-delog" ,rust-delog-0.1) + ("rust-enum-iterator" ,rust-enum-iterator-1) + ("rust-pem" ,rust-pem-1) + ("rust-pkcs11" ,rust-pkcs11-0.5) + ("rust-pkcs11-uri" ,rust-pkcs11-uri-0.1) + ("rust-rsa" ,rust-rsa-0.6) + ("rust-serde-yaml" ,rust-serde-yaml-0.9) + ("rust-signature" ,rust-signature-1) + ("rust-tiny-http" ,rust-tiny-http-0.12) + ("rust-ecdsa" ,rust-ecdsa-0.15)))) + (home-page "https://github.com/lpc55/lpc55-host") + (synopsis + "Host-side tooling to interact with LPC55 chips via the ROM=20 bootloader") + (description + "Host-side tooling to interact with LPC55 chips via the ROM=20 bootloader") + (license (list license:expat + license:asl2.0)))) + (define-public rust-lru-0.7 (package (name "rust-lru") @@ -48103,6 +48598,30 @@ (define-public rust-p256-0.13 ECDH, ECDSA signing/verification, and general purpose curve=20 arithmetic.") (license (list license:asl2.0 license:expat)))) +(define-public rust-p256-0.12 + (package + (inherit rust-p256-0.13) + (name "rust-p256") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "p256" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "0m8f1d0n69bvm4xpranhwv3nrvcq3lcfqn4cqsxbqhyfrfrj9ha9")))) + (arguments + `(#:cargo-inputs (("rust-elliptic-curve"=20 ,rust-elliptic-curve-0.12) + ("rust-primeorder" ,rust-primeorder-0.12)))) + (home-page + "https://github.com/RustCrypto/elliptic-curves/tree/master/p256") + (synopsis "Pure Rust implementation of the NIST P-256") + (description + "This package provides a pure Rust implementation of the NIST=20 P-256 (a.k.a. +secp256r1, prime256v1) elliptic curve as defined in SP 800-186, with=20 support for +ECDH, ECDSA signing/verification, and general purpose curve=20 arithmetic.") + (license (list license:expat license:asl2.0)))) + (define-public rust-p384-0.13 (package (name "rust-p384") @@ -49792,6 +50311,72 @@ (define-public rust-pcre2-sys-0.2 (description "Low level bindings to PCRE2.") (license (list license:expat license:unlicense)))) +(define-public rust-pcsc-sys-1.2 + (package + (name "rust-pcsc-sys") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pcsc-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1si37v9n07r3csqcnnqn4i82j75b6dssyz0fzdg1n3rcpbnbzdz1")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-pkg-config" ,rust-pkg-config-0.3)))) + (home-page "https://github.com/bluetech/pcsc-rust") + (synopsis "Low-level bindings to the PC/SC C API") + (description "Low-level bindings to the PC/SC C API.") + (license (list license:expat + license:asl2.0)))) + +(define-public rust-pcsc-2.8 + (package + (name "rust-pcsc") + (version "2.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pcsc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1d5smcr9irdppl20r7wg2s5xqwfdxx5sb7q5v2l0is04knzb1jip")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-pcsc-sys" ,rust-pcsc-sys-1.2)))) + (home-page "https://delog.rs/") + (synopsis "Bindings to the PC/SC API for smart card communication") + (description "Bindings to the PC/SC API for smart card=20 communication.") + (license license:expat))) + +(define-public rust-pcsc-2.4 + (package + (name "rust-pcsc") + (version "2.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pcsc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "10vcnmxrpscg0fcrzz0r1klgiqzgh2axvyg1zyqwk8h5hy6rmq48")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-pcsc-sys" ,rust-pcsc-sys-1.2)))) + (home-page "https://github.com/bluetech/pcsc-rust") + (synopsis "Bindings to the PC/SC API for smart card=20 communication.") + (description "Rust bindings to the PC/SC API for smart card=20 communication. + Nice, safe API. + Tested on Linux, Windows, macOS. + Mostly zero overhead.") + (license license:expat))) + (define-public rust-pdcurses-sys-0.7 (package (name "rust-pdcurses-sys") @@ -50105,6 +50690,26 @@ (define-public rust-pem-rfc7468-0.6 (arguments `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))))) +(define-public rust-pem-rfc7468-0.3 + (package + (inherit rust-pem-rfc7468-0.7) + (name "rust-pem-rfc7468") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pem-rfc7468" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "0c7vrrksg8fqzxb7q4clzl14f0qnqky7jqspjqi4pailiybmvph1")))) + (home-page=20 "https://github.com/RustCrypto/formats/tree/master/pem-rfc7468") + (synopsis + "PEM Encoding (RFC 7468) for PKIX, PKCS, and CMS Structures,=20 implementing a strict subset of the original Privacy-Enhanced Mail=20 encoding.") + (description + " PEM Encoding (RFC 7468) for PKIX, PKCS, and CMS Structures,=20 implementing a strict subset of the original Privacy-Enhanced Mail=20 encoding intended specifically for use with cryptographic keys,=20 certificates, and other messages. Provides a no_std-friendly,=20 constant-time implementation suitable for use with cryptographic private=20 keys.") + (license (list license:expat + license:asl2.0)))) + (define-public rust-pem-rfc7468-0.2 (package (inherit rust-pem-rfc7468-0.7) @@ -51361,6 +51966,29 @@ (define-public rust-pkcs1-0.7 (RFC 8017).") (license (list license:asl2.0 license:expat)))) +(define-public rust-pkcs1-0.3 + (package + (inherit rust-pkcs1-0.7) + (name "rust-pkcs1") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pkcs1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "0813szfx13n4xl6l19m3lwj7pqgljqwc6ipxhr2dv0yc9k06d3x7")))) + (arguments + (list + #:cargo-inputs `(("rust-der" ,rust-der-0.5)))) + (home-page=20 "https://github.com/RustCrypto/formats/tree/master/pkcs1") + (synopsis + "Pure Rust implementation of Public-Key Cryptography Standards=20 (PKCS) #1: RSA Cryptography Specifications Version 2.2 (RFC 8017)") + (description + "Pure Rust implementation of Public-Key Cryptography Standards=20 (PKCS) #1: RSA Cryptography Specifications Version 2.2 (RFC 8017).") + (license (list license:expat + license:asl2.0)))) + (define-public rust-pkcs1-0.2 (package (inherit rust-pkcs1-0.7) @@ -51519,6 +52147,29 @@ (define-public rust-pkcs8-0.9 (("rust-hex-literal" ,rust-hex-literal-0.3) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-pkcs8-0.8 + (package + (inherit rust-pkcs8-0.10) + (name "rust-pkcs8") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pkcs8" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1l29h4mrgi2kpsl98jzky3ni5by3xa1sc6db9yd8l1i1p0zxmavw")))) + (arguments + (list + #:cargo-inputs `(("rust-spki" ,rust-spki-0.5)))) + (home-page=20 "https://github.com/RustCrypto/formats/tree/master/pkcs8") + (synopsis + "Pure Rust implementation of Public-Key Cryptography Standards=20 (PKCS) #8: Private-Key Information Syntax Specification (RFC 5208), with=20 additional support for PKCS#8v2 asymmetric key packages (RFC 5958)") + (description + "Pure Rust implementation of Public-Key Cryptography Standards=20 (PKCS) #8: Private-Key Information Syntax Specification (RFC 5208), with=20 additional support for PKCS#8v2 asymmetric key packages (RFC 5958)") + (license (list license:expat + license:asl2.0)))) + (define-public rust-pkcs8-0.7 (package (inherit rust-pkcs8-0.10) @@ -51542,6 +52193,53 @@ (define-public rust-pkcs8-0.7 ("rust-spki" ,rust-spki-0.4) ("rust-zeroize" ,rust-zeroize-1)))))) +(define-public rust-pkcs11-0.5 + (package + (name "rust-pkcs11") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pkcs11" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1bqhdd4w0ymvv6zzc090vy2mywq07lix16am8pz3nqf8wiknvjis")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-libloading" ,rust-libloading-0.5) + ("rust-num-bigint" ,rust-num-bigint-0.2)))) + (home-page "https://github.com/mheese/rust-pkcs11") + (synopsis "Rust PKCS#11 Library") + (description + "This is a library which brings support for PKCS#11 to Rust. It is=20 aiming at having both a very low-level API to map the PKCS#11=20 functionality to Rust as well as having a higher-level API for more easy=20 usage as well as bringing more safety for programming against PKCS#11.") + (license license:asl2.0))) + +(define-public rust-pkcs11-uri-0.1 + (package + (name "rust-pkcs11-uri") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pkcs11-uri" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "0nkl6l0r70cfdm1grlkwlk2g5s1sg6n80ris905np6rjmswqnvdr")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-pkcs11" ,rust-pkcs11-0.5) + ("rust-anyhow" ,rust-anyhow-1) + ("rust-log" ,rust-log-0.4) + ("rust-percent-encoding"=20 ,rust-percent-encoding-2) + ("rust-uriparse" ,rust-uriparse-0.6)))) + (home-page "https://nickray.github.io/pkcs11-uri/pkcs11_uri/") + (synopsis "PKCS #11 URI parser") + (description "PKCS #11 URI parser") + (license (list license:expat + license:asl2.0)))) + (define-public rust-pkg-config-0.3 (package (name "rust-pkg-config") @@ -52902,6 +53600,29 @@ (define-public rust-primeorder-0.13 provides a generic over field elements and curve equation=20 coefficients.") (license (list license:asl2.0 license:expat)))) +(define-public rust-primeorder-0.12 + (package + (inherit rust-primeorder-0.13) + (name "rust-primeorder") + (version "0.12.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "primeorder" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1cn5lh5pb1g7x9l0cq888qp6im36bg95pkqlyji6bfix3c9zfm0b")))) + (home-page + =20 "https://github.com/RustCrypto/elliptic-curves/tree/master/primeorder") + (synopsis + "Rust implementation of addition formulas for prime order elliptic=20 curves") + (description + "This package contains a pure Rust implementation of complete=20 addition +formulas for prime order elliptic curves (Renes-Costello-Batina 2015). =20 It +provides a generic over field elements and curve equation=20 coefficients.") + (license (list license:expat + license:asl2.0)))) + (define-public rust-print-bytes-1 (package (name "rust-print-bytes") @@ -56859,6 +57580,24 @@ (define-public rust-rcgen-0.11 (description "Rust X.509 certificate generator") (license (list license:expat license:asl2.0)))) +(define-public rust-rcgen-0.10 + (package + (inherit rust-rcgen-0.11) + (name "rust-rcgen") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rcgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "0nvqgr697xzdzaavkcwcl59kxw7xfx9zdhdzx49fm3gkwbpq9gpz")))) + (home-page "https://github.com/est31/rcgen") + (synopsis "Rust X.509 certificate generator") + (description "Simple Rust library to generate X.509 certificates.") + (license (list license:expat + license:asl2.0)))) + (define-public rust-rcgen-0.8 (package (inherit rust-rcgen-0.11) @@ -58122,6 +58861,26 @@ (define-public rust-rfc6979-0.4 Digital Signature Algorithm} (ECDSA).") (license (list license:asl2.0 license:expat)))) +(define-public rust-rfc6979-0.3 + (package + (inherit rust-rfc6979-0.4) + (name "rust-rfc6979") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rfc6979" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1fzsp705b5lhwd2r9il9grc3lj6rm3b2r89vh0xv181gy5xg2hvp")))) + (home-page=20 "https://github.com/RustCrypto/signatures/tree/master/rfc6979") + (synopsis + "Pure Rust implementation of RFC6979: Deterministic Usage of the=20 Digital Signature Algorithm (DSA) and Elliptic Curve Digital Signature=20 Algorithm (ECDSA)") + (description + "Pure Rust implementation of RFC6979: Deterministic Usage of the=20 Digital Signature Algorithm (DSA) and Elliptic Curve Digital Signature=20 Algorithm (ECDSA)") + (license (list license:expat + license:asl2.0)))) + (define-public rust-ring-0.16 (package (name "rust-ring") @@ -58912,6 +59671,29 @@ (define-public rust-rsa-0.9 (description "This package provides a pure Rust RSA=20 implementation.") (license (list license:expat license:asl2.0)))) +(define-public rust-rsa-0.6 + (package + (inherit rust-rsa-0.9) + (name "rust-rsa") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rsa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "02viiiylxpk2hx5h5qrpm4lcd8ildvafbw0rn6rx44wnqia2gwjc")))) + (arguments + (list + #:cargo-inputs `(("rust-pkcs1" ,rust-pkcs1-0.3) + ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8) + ("rust-pkcs8" ,rust-pkcs8-0.8)))) + (home-page "https://github.com/RustCrypto/RSA") + (synopsis "Pure Rust RSA implementation") + (description "A portable RSA implementation in pure Rust.") + (license (list license:expat + license:asl2.0)))) + (define-public rust-rsa-0.5 (package (inherit rust-rsa-0.9) @@ -62849,6 +63631,27 @@ (define-public rust-sec1-0.7 well as the Elliptic-Curve-Point-to-Octet-String encoding.") (license (list license:asl2.0 license:expat)))) +(define-public rust-sec1-0.3 + (package + (inherit rust-sec1-0.7) + (name "rust-sec1") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sec1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "0a09lk5w3nyggpyz54m10nnlg9v8qbh6kw3v1bgla31988c4rqiv")))) + (home-page=20 "https://github.com/RustCrypto/formats/tree/master/sec1") + (synopsis + "Rust implementation of SEC1: Elliptic Curve Cryptography encoding=20 formats") + (description + "This package procides a pure Rust implementation of SEC1:=20 Elliptic Curve +Cryptography encoding formats including ASN.1 DER-serialized private=20 keys as +well as the Elliptic-Curve-Point-to-Octet-String encoding.") + (license (list license:expat license:asl2.0)))) + (define-public rust-seccomp-sys-0.1 (package (name "rust-seccomp-sys") @@ -66010,6 +66813,27 @@ (define-public rust-signature-2 for generating and verifying digital signatures.") (license (list license:asl2.0 license:expat)))) +(define-public rust-signature-2.0 + (package + (inherit rust-signature-2) + (name "rust-signature") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "signature" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "0zg534qaa8cl5spq8d0rs0jq6km4w9vil69148awiy9khg4mir4g")))) + (home-page=20 "https://github.com/RustCrypto/traits/tree/master/signature") + (synopsis + "Traits for cryptographic signature algorithms (e.g. ECDSA,=20 Ed25519)") + (description + "This crate contains traits which provide generic, object-safe=20 APIs for generating and verifying digital signatures. + Used by the dsa, ecdsa, ed25519, and rsa crates maintained by the=20 RustCrypto organization, as well as ed25519-dalek.") + (license (list license:expat + license:asl2.0)))) + (define-public rust-signature-1 (package (inherit rust-signature-2) @@ -68125,6 +68949,26 @@ (define-public rust-spki-0.7 OIDs)") (license (list license:asl2.0 license:expat)))) +(define-public rust-spki-0.5 + (package + (inherit rust-spki-0.7) + (name "rust-spki") + (version "0.5.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "spki" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "09qaddm4kw01xm9638910bm4yqnshzh2p38lvc3kxkvc5b01ml24")))) + (home-page=20 "https://github.com/RustCrypto/formats/tree/master/spki") + (synopsis + "X.509 Subject Public Key Info (RFC5280) describing public keys as=20 well as their associated AlgorithmIdentifiers (i.e. OIDs)") + (description + "X.509 Subject Public Key Info types describing public keys as=20 well as their associated AlgorithmIdentifiers (i.e. OIDs). Specified in=20 RFC 5280 =C2=A7 4.1.") + (license (list license:expat + license:asl2.0)))) + (define-public rust-spki-0.6 (package (inherit rust-spki-0.7) @@ -69509,6 +70353,35 @@ (define-public rust-strsim-0.5 (base32 "0z3zzvmilfldp4xw42qbkjf901dcnbk58igrzsvivydjzd24ry37")))))) +(define-public rust-strsim-0.4 + (package + (inherit rust-strsim-0.9) + (name "rust-strsim") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "strsim" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "11g9rdaqh6yqhb28vcj8j5zdq1xrv9ij316bqjjk8rpdbifmfpqd")))) + (home-page "https://github.com/dguo/strsim-rs") + (synopsis "Rust implementations of string similarity metrics") + (description + "Rust implementations of string similarity metrics: + + Hamming + Levenshtein - distance & normalized + Optimal string alignment + Damerau-Levenshtein - distance & normalized + Jaro and Jaro-Winkler - this implementation of Jaro-Winkler does=20 not limit the common prefix length + S=C3=B8rensen-Dice + + The normalized versions return values between 0.0 and 1.0, where=20 1.0 means an exact match. + + There are also generic versions of the functions for non-string=20 inputs.") + (license license:expat))) + (define-public rust-structmeta-0.1 (package (name "rust-structmeta") @@ -80149,6 +81022,29 @@ (define-public rust-ureq-2 (description "This package provides minimal request library in=20 Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-uriparse-0.6 + (package + (name "rust-uriparse") + (version "0.6.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "uriparse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1zsjwc715x4720y4b3dsdras50imvaakqgyl59n3j2fq0kyd0002")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-fnv" ,rust-fnv-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/sgodwincs/uriparse-rs") + (synopsis "A URI parser including relative references") + (description + "Implementation of RFC3986 including URIs and URI references.") + (license license:expat))) + (define-public rust-url-2 (package (name "rust-url") @@ -80797,6 +81693,24 @@ (define-public rust-vec-map-0.8 (license (list license:asl2.0 license:expat)))) +(define-public rust-vec-map-0.4 + (package + (inherit rust-vec-map-0.8) + (name "rust-vec-map") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "vec_map" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "00lgjk07wdggvq0b21y78a4yijcyai5i7j6rx4kx8wkw1n51218q")))) + (home-page "https://github.com/contain-rs/vec-map") + (synopsis "Simple map based on a vector for small integer keys.") + (description "This package provides a simple map based on a vector=20 for small integer keys.") + (license (list license:expat + license:asl2.0)))) + (define-public rust-vec1-1 (package (name "rust-vec1") @@ -84325,6 +85239,25 @@ (define-public rust-x509-parser-0.15 5280 certificates).") (license (list license:expat license:asl2.0)))) +(define-public rust-x509-parser-0.14 + (package + (inherit rust-x509-parser-0.15) + (name "rust-x509-parser") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "x509-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32=20 "1j7b3xxpwik38y9rajglmhis551gj3zz5irw1vj1bqkwnsvvxv70")))) + (home-page "https://github.com/rusticata/x509-parser.git") + (synopsis "X.509 parser written in pure Rust") + (description "This crate provides a parser for the X.509 v3 format=20 (RFC +5280 certificates).") + (license (list license:expat + license:asl2.0)))) + (define-public rust-x509-parser-0.12 (package (inherit rust-x509-parser-0.15) diff --git a/gnu/packages/security-token.scm=20 b/gnu/packages/security-token.scm index a1fc058db8..1e77e01374 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -90,6 +90,7 @@ (define-module (gnu packages security-token) #:use-module (gnu packages suckless) #:use-module (gnu packages web) #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xorg) #:use-module (gnu packages xml)) (define-public ccid @@ -1105,3 +1106,80 @@ (define-public pcsc-cyberjack contactless (RFID) and contact USB chipcard readers.") (home-page "http://www.reiner-sct.com/") (license license:lgpl2.1+))) + +(define-public solo2-cli + (package + (name "solo2-cli") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/solokeys/" name + "/archive/refs/tags/v" version ".tar.gz")) + (sha256 + ;; (base32=20 "0ck95limlnkva3vg3mcmnpa2y1n9dnka6d8njja852sa2zfzk7mf")))) + (base32=20 "1d2z6glya1axnbr6p3p926b0jdmrz10rf210lmlfk2zkwrg0r8s9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-clap" ,rust-clap-4) + ("rust-log" ,rust-log-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-clap-verbosity-flag"=20 ,rust-clap-verbosity-flag-2.0) + ("rust-ctrlc" ,rust-ctrlc-3) + ("rust-dialoguer" ,rust-dialoguer-0.10) + ("rust-flexiber" ,rust-flexiber-0.1) + ("rust-hex" ,rust-hex-0.4) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-hidapi" ,rust-hidapi-2) + ("rust-indicatif" ,rust-indicatif-0.17) + ("rust-iso7816" ,rust-iso7816-0.1) + ("rust-lpc55" ,rust-lpc55-0.2) + ("rust-p256" ,rust-p256-0.12) + ("rust-pcsc" ,rust-pcsc-2.8) + ("rust-pkcs8" ,rust-pkcs8-0.9) + ("rust-pretty-env-logger"=20 ,rust-pretty-env-logger-0.4) + ("rust-rcgen" ,rust-rcgen-0.10) + ("rust-ureq" ,rust-ureq-2) + ("rust-webbrowser" ,rust-webbrowser-0.8) + ("rust-x509-parser-0.14" ,rust-x509-parser-0.14) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10)) + #:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-sha-1-crate + ;;=20 https://github.com/solokeys/solo2-cli/pull/106/commits/c7cfa7698c9cb9a78b8e= a5f1039d096d994ecd60 + (lambda _ + ;; The sha-1 crate was depecrated. + (substitute* "Cargo.toml" + (("sha-1") + "sha1")))) + (add-after 'unpack 'fix-udev-rules + ;;=20 https://github.com/solokeys/solo2-cli/issues/9#issuecomment-969197785 + (lambda _ + ;; There is a typo in the udev rules that must be=20 fixed. + (substitute* "70-solo2.rules" + (("b000") + "beee")))) + (add-before 'install 'install-udev-rules + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (mkdir-p (string-append out=20 "/lib/udev/rules.d")) + (copy-file "70-solo2.rules" + (string-append out=20 "/lib/udev/rules.d/" + "70-solo2.rules"))=20 #t))) + (add-before 'install 'install-bash-completions + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (mkdir-p (string-append out + =20 "/share/bash-completion/completions")) + (copy-file "target/release/solo2.bash" + (string-append out + =20 "/share/bash-completion/completions/" + "solo2.bash")) #t)))))) + (home-page "https://github.com/solokeys/solo2-cli") + (native-inputs (list perl pkg-config)) + (inputs (list libevdev libgudev pcsc-lite)) + (synopsis "solo2 library and cli") + (description "This provides the tools to manage solokeys 2=20 devices") + (license (list license:expat license:asl2.0)))) --=20 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 22 03:44:16 2023 Received: (at 67356) by debbugs.gnu.org; 22 Nov 2023 08:44:16 +0000 Received: from localhost ([127.0.0.1]:57988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5iqF-0003Up-U6 for submit@debbugs.gnu.org; Wed, 22 Nov 2023 03:44:16 -0500 Received: from mout02.posteo.de ([185.67.36.66]:34099) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5iqE-0003Uc-6v for 67356@debbugs.gnu.org; Wed, 22 Nov 2023 03:44:14 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6BD26240101 for <67356@debbugs.gnu.org>; Wed, 22 Nov 2023 09:44:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1700642645; bh=w3v7GXXZYW8rJD7hEOGXDl4GwYpbYFpUhECuw6GbCzQ=; h=MIME-Version:Content-Transfer-Encoding:Date:From:To:Subject: Message-ID:From; b=jKmUMj3MthU5KpoYkoN4u9DWjEWT6qS27XrrXyHzUC25yq3mXgPeg+1IggMSbAGhM +hCHQAPwub2t78iQXlUIGMfzDgaSfGCU9L+ngceonwVrnwezN9mqs1ZhPtxpS0LbW3 HSnphOFRO2tqQCJlACxwFnQBbkQiKjkdSMRRH5LeoCW5fJv9thAZZEHs/F2zw9Vmat k43RprDhPJcfx/qk9lXDvUiDAHvrrDyYMlhiDWADate+tSZND6GETUHtVtn+bywNqH IhyOBrX5eoQdJBjQQn9p4QLxYsmJvH6gqf7hnkaB3FY8RHFUMbOksjvzRuFVPjaun3 dfus6A9WzNtQg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SZvtF1V2Dz6tx0 for <67356@debbugs.gnu.org>; Wed, 22 Nov 2023 09:44:05 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 22 Nov 2023 08:44:05 +0000 From: jrballesteros05@posteo.net To: 67356@debbugs.gnu.org Subject: [PATCH 2/2] gnu: contributing: solo2 library and CLI Message-ID: <89b2f7b1ff7eb23b1bb537f2f8417995@posteo.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67356 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Change-Id: Id3173e3eaf1f89eb6c799ae27dc69afc7f929f16 --- gnu/packages/security-token.scm | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index 1e77e01374..bf1c43f054 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -1110,15 +1110,16 @@ (define-public pcsc-cyberjack (define-public solo2-cli (package (name "solo2-cli") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://github.com/solokeys/" name - "/archive/refs/tags/v" version ".tar.gz")) - (sha256 - ;; (base32 "0ck95limlnkva3vg3mcmnpa2y1n9dnka6d8njja852sa2zfzk7mf")))) - (base32 "1d2z6glya1axnbr6p3p926b0jdmrz10rf210lmlfk2zkwrg0r8s9")))) + (version "v0.2.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/solokeys/solo2-cli") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "14jzc3kpr3850lg22xwbxrfvyy1xqjf39x3h4l565npq5bk4xnpf")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) @@ -1180,6 +1181,6 @@ (define-public solo2-cli (home-page "https://github.com/solokeys/solo2-cli") (native-inputs (list perl pkg-config)) (inputs (list libevdev libgudev pcsc-lite)) - (synopsis "solo2 library and cli") + (synopsis "Solo2 library and cli") (description "This provides the tools to manage solokeys 2 devices") (license (list license:expat license:asl2.0)))) -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 08 04:22:34 2024 Received: (at control) by debbugs.gnu.org; 8 Oct 2024 08:22:34 +0000 Received: from localhost ([127.0.0.1]:50791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sy5UI-0007D0-Ex for submit@debbugs.gnu.org; Tue, 08 Oct 2024 04:22:34 -0400 Received: from mailtransmit05.runbox.com ([185.226.149.38]:58120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sy5UG-0007Cg-9O for control@debbugs.gnu.org; Tue, 08 Oct 2024 04:22:33 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1sy5U1-00EYXa-7X for control@debbugs.gnu.org; Tue, 08 Oct 2024 10:22:17 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=futurile.net; s=selector1; h=Content-Type:MIME-Version:Message-ID:Subject: Cc:To:From:Date; bh=HFfdepjHQJGQ+ov3ZUCBv/zcBVgerpkSao85BQYS9f8=; b=Dezu/z9p0 eFfqK14ZNKu0obmE6RJ0hVP+YhO/7khGxPGx/uR6IYnoUvfrElsV1U5/nksLgUKjMb+ztRCBAdvuJ /3IPErG9Fu10a9vdkDQ5pGEAbiGkDowKWlruJ3owiF2AdaR/usLVgq2nId+RIa1d23KvslgQ3jOA7 xiY0hyHZ3umfMlPA9ordwGT5moe7A8LOzKXfDaQiCr4MtoAce+7ItY0ZcVt6XH5UCcE21M7B1hYQ2 swIGRYbQt5tTAGh8D0iZfbTZLZ0mBdzR+toqbLblaWNBSemb3oH5txioNt8w3Ug35OEHRFDqxB57V raL9Z9Tlmtbp9uWXAu8Vf8wvA==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1sy5Tz-0001ed-Rg; Tue, 08 Oct 2024 10:22:16 +0200 Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1sy5Tr-00G6X1-FG; Tue, 08 Oct 2024 10:22:07 +0200 Date: Tue, 8 Oct 2024 09:22:06 +0100 From: Steve George To: control@debbugs.gnu.org Subject: closing 67356 Message-ID: <1728375619-719-bts-steve@futurile.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: devscripts bts/2.22.1ubuntu1 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control Cc: 67356-submitter@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 67356 # Hi - sorry this didn't get picked up when you sent it. It looks like solokeys.io is abandoned at this point, so I'm going to close. Thanks for making the effort to contribute a patch to Guix though! thanks From unknown Wed Jul 23 10:42:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 05 Nov 2024 12:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator