From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0FRxLTI+LWd+UQEAqHPOHw:P1 (envelope-from ) for ; Thu, 07 Nov 2024 22:24:50 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0FRxLTI+LWd+UQEAqHPOHw (envelope-from ) for ; Thu, 07 Nov 2024 23:24:50 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=JHGGsnGt; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=PGT47pjX; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731018290; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Q8njJ58jU7p0NhR6mRT/SqM2eJowndKfyF9pTPrllTE=; b=MHAuAfht3rNEiPEvZaSZJ1EO6SlKroHrqW5i9JdrqGROAYnrWh2qW67IFYkec1BXD0K3cF rOBWeyGENLebh/Mf8kXrp1DuBqSVUbFhNbt7JqWftO2a/4AfhXms+qeFmcq/WQWp5KtJA7 O0jcDtYoO9mknghTWgLYb4Sh3VNfzmhs+9SpdsP/zEluIaBea4+zPZRWBnHdqanNmQrrzT QCFsTDBnTwqsfnyWcODYnqu51zs8Pgb16op7daMAb4wm4t+uGpGB5qNazfAY+2HJfv+b3e uD9lGVOvAwcdOEEUucd7V9g45+qhCQvC+JQie/Sq2gUEDGrmJxyGV1PHo+c7Sg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731018290; a=rsa-sha256; cv=none; b=sTId9OwNtzXpj6wYklcp2h6cSZ6UFmmpCKYYTYZjsZ8ZVL/Eb+0lNCK/lv0QRK8vYRkWFp mdlhj+BqJYHTk3jkOgVCV7mB7hGaue+/qqAWInxkhp7c1mqSpmepy8tpNnf8YX49SfLp2y 7JMkjol7c3OwP8NbrW0GFeUhky72XWumNNIYpPVzS6p37L5yXojo1cGxqgr2OsrDS4D/Zy qd4tseCaFY1R/soJxEA6jLu7ziOXB05zdZw3nXeBvMa5EeMPMF/0BXJg7jck3jHdxdk6Gl ewMxqCKec4xboRY7CTd8pT75aGVcDYY/MvE/RQJPQ4EMlqfbAY3jQbtfqgYk7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=JHGGsnGt; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=PGT47pjX; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org 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 A496E2B67 for ; Thu, 07 Nov 2024 23:24:50 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9AvQ-0005Ws-OZ; Thu, 07 Nov 2024 17:24:24 -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 1t9Av9-0005Ve-L5 for guix-patches@gnu.org; Thu, 07 Nov 2024 17:24:08 -0500 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 1t9Av5-0006qJ-NB for guix-patches@gnu.org; Thu, 07 Nov 2024 17:24:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Q8njJ58jU7p0NhR6mRT/SqM2eJowndKfyF9pTPrllTE=; b=JHGGsnGtrH1tyf9iS9N3pZGxO8Ht4bnB9Wn13DwGzrMJmbvLdx+RQ+0sKTB6RZlIjMmdbR+7xkCAg5ZomppPlNfgpaukxA49H8yib8O5lzvh3P9n5WYHG5WpAs7O0z89KdArNFmR5VLKVdCWfs3MyWzKcZu6bQbCjei551roZXTzH3ChU/bfVDRCX9VKyZM8P5Uqaoha7/mJH1MdXpR9OTkti0KqWszZQj48HXvfGbsNwlU2f7khfmmcwqYSsFX2fJvwbzGIGU1J/Ejf0CC6IPhXBJyC7gadwOkG+zRVklZoks9C648+tEWvLxxPK5vVKfpcVaoWAoXccEcTtnnHeQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9Av5-0007gq-HI; Thu, 07 Nov 2024 17:24:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74233] [PATCHv2 rust-team 02/40] gnu: Add rust-rust-argon2-2.0. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 07 Nov 2024 22:24:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74233@debbugs.gnu.org Cc: Giacomo Leidi , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 74233-submit@debbugs.gnu.org id=B74233.173101820929106 (code B ref 74233); Thu, 07 Nov 2024 22:24:03 +0000 Received: (at 74233) by debbugs.gnu.org; 7 Nov 2024 22:23:29 +0000 Received: from localhost ([127.0.0.1]:49927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9AuW-0007Z5-5S for submit@debbugs.gnu.org; Thu, 07 Nov 2024 17:23:29 -0500 Received: from confino.investici.org ([93.190.126.19]:32037) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9AuT-0007YP-BG for 74233@debbugs.gnu.org; Thu, 07 Nov 2024 17:23:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1731018204; bh=Q8njJ58jU7p0NhR6mRT/SqM2eJowndKfyF9pTPrllTE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PGT47pjXAarREqKz5aNjZIT8igJ72I4/K5UB77mapZafF/EcBWUCjA1ii4xHTDX4k dXHSscCl19nefRXHZhgx5eLbukq6ajSEdNqgRh3JGeQ8ib5NdUTF2YduRlOp8dt464 6T5Fpq/XVHc6QPZPZWX4vOLnpM0D0UQS1rFyCI/I= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkxRc6NTmz111v; Thu, 7 Nov 2024 22:23:24 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XkxRc5dFSz1111; Thu, 7 Nov 2024 22:23:24 +0000 (UTC) Date: Thu, 7 Nov 2024 23:21:47 +0100 Message-ID: <7fc9380a6c8d70d7fb620ba032336021a2360657.1731018145.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: 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: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches From: Giacomo Leidi via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.65 X-Spam-Score: -2.65 X-Migadu-Queue-Id: A496E2B67 X-Migadu-Scanner: mx13.migadu.com X-TUID: LV7hd8J/gsNR * gnu/packages/crates-crypto.scm (rust-rust-argon2-2.0): New variable; (rust-rust-argon2-0.8): inherit from rust-rust-argon2-2.0. Change-Id: I9636b29a24d317ddeb2b4284a0bdbe382e764a14 --- gnu/packages/crates-crypto.scm | 38 +++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index c8ead45efe..2b7a6be465 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -5138,26 +5138,27 @@ (define-public rust-rsa-0.5 ("rust-sha2" ,rust-sha2-0.9) ("rust-sha3" ,rust-sha3-0.9)))))) -(define-public rust-rust-argon2-0.8 +(define-public rust-rust-argon2-2.0 (package (name "rust-rust-argon2") - (version "0.8.3") + (version "2.0.0") (source (origin (method url-fetch) (uri (crate-uri "rust-argon2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b")))) + (base32 "0sp42kn06wm1mglrfxnv6js0fxjirgdjhhsakrv0xbmk44c9fw8y")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-base64" ,rust-base64-0.13) - ("rust-blake2b-simd" ,rust-blake2b-simd-0.5) - ("rust-constant-time-eq" ,rust-constant-time-eq-0.1) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) - ("rust-serde" ,rust-serde-1)))) + (("rust-base64" ,rust-base64-0.21) + ("rust-blake2b-simd" ,rust-blake2b-simd-1) + ("rust-constant-time-eq" ,rust-constant-time-eq-0.3) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-hex" ,rust-hex-0.4)))) (home-page "https://github.com/sru-systems/rust-argon2") (synopsis "Argon2 password hashing function in Rust") (description @@ -5165,6 +5166,27 @@ (define-public rust-rust-argon2-0.8 hashing function.") (license (list license:expat license:asl2.0)))) +(define-public rust-rust-argon2-0.8 + (package + (inherit rust-rust-argon2-2.0) + (name "rust-rust-argon2") + (version "0.8.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "rust-argon2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-base64" ,rust-base64-0.13) + ("rust-blake2b-simd" ,rust-blake2b-simd-0.5) + ("rust-constant-time-eq" ,rust-constant-time-eq-0.1) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-serde" ,rust-serde-1)))))) + (define-public rust-rust-argon2-0.7 (package (inherit rust-rust-argon2-0.8) -- 2.46.0