From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id sFFcJLGCIWZDTQEAqHPOHw:P1 (envelope-from ) for ; Thu, 18 Apr 2024 22:29:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sFFcJLGCIWZDTQEAqHPOHw (envelope-from ) for ; Thu, 18 Apr 2024 22:29:37 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=XCXn5JPp; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713472177; a=rsa-sha256; cv=none; b=Q4cn77zzKlXt+Q1vJL+FbrGquNSatPv15toBVI4NNgQ3zEWPLmLs4L0djrGHZYL+NuhjO0 XcwFRqtfMGu9F8wC/7xmlASIR45jzvpftBaoRFKy+IuPWyBfvK/weFJO+3OT1V/LaqbAMH uBMFP2nr8HfmQI7IVCU1yh6ClxQKw5bReuOU+otGxrSTQ1M/Wod7XcZiJIB5n0/GIdPBK+ lxhfG5mSERZ0BcvGRhvR1u973gJRvBv1ulOvmZExCmydK16k6XCBmpWHuixyKmc/uflKRH G77+e9RqD0d7GeBt4tmSKh2GvaelCxd1nj4nbK6VMQ84A2N0gvqIzkT2Es/FkA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=XCXn5JPp; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713472177; h=from:from:sender:sender: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=jqVxD8NW85e4hpF46KibfwBl6r2nSc9LK0kvcIVkJF0=; b=BRY2Y7ICRXb1xVEfhmDWSF+uyM5fCckiyY0GKtY7JZ9t/5VdHYQH5VurvShHkAeN6xlbwc R0PMt6k10reJpuJjeYNXT/GmOAY7g/pOP+4rcII7PB60d7QI58jjsj7/+Q3SG345E6klUY 64wGkyNFMCg6niJOKjo9wQHocPmlLKbK9U3MZNDaSaeL+MpTAESzE5gqThT/hpUgIvY3mC ZAmSovA46PNXIrZSmueZRUoXGTXvHlS00+eKunVO0tBWIkcbrNLGKvhrpswS15f/PeBLg+ 2qSCT4pbW2EWgTcnVKp5Yl2aJYMmWECK2F7GZu9+BdeiVwS0jSec3+POmADmug== 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 51FED7DEA5 for ; Thu, 18 Apr 2024 22:29:37 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxYNV-00075A-Cv; Thu, 18 Apr 2024 16:29:05 -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 1rxYNT-00072f-QS for guix-patches@gnu.org; Thu, 18 Apr 2024 16:29:03 -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 1rxYNT-0001bX-Fr for guix-patches@gnu.org; Thu, 18 Apr 2024 16:29:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rxYNg-0006y2-2R; Thu, 18 Apr 2024 16:29:16 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70461] [PATCH 06/10] gnu: Add rust-ssh-cipher-0.2.0. Resent-From: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 18 Apr 2024 20:29:15 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70461 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 70461@debbugs.gnu.org Cc: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 70461-submit@debbugs.gnu.org id=B70461.171347215026705 (code B ref 70461); Thu, 18 Apr 2024 20:29:15 +0000 Received: (at 70461) by debbugs.gnu.org; 18 Apr 2024 20:29:10 +0000 Received: from localhost ([127.0.0.1]:54496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxYNZ-0006wR-BG for submit@debbugs.gnu.org; Thu, 18 Apr 2024 16:29:10 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:48181) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxYNL-0006sR-Sd for 70461@debbugs.gnu.org; Thu, 18 Apr 2024 16:28:57 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-418c979ddf3so10284485e9.0 for <70461@debbugs.gnu.org>; Thu, 18 Apr 2024 13:28:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713472116; x=1714076916; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jqVxD8NW85e4hpF46KibfwBl6r2nSc9LK0kvcIVkJF0=; b=XCXn5JPp1nI0Dw1nkedzRAs2jRSyVt/ALzf/SCjSS853Y4gYUqIe84xLVcv+CbRawI XAcbrz5ZFMIIt49pgE70E1vrVnFLRRPm43Vin5ePz0J+/MjtUO+JfOIThkd5lrBk0tWB fnQWA8AaqGEyXoQpCTb/dQ0ynk7z+4ziqSGg0AFfjpU7Y6u6cTz0YXrg47Qh/LXjUx08 kvgUdal+lNsDTLpVDfYBrymjXwh9iy8uEXtCqXS7xusHD3yZKSn6GF1Cni5AakYmH6Yv a/hnVh2dHSBSzapSjYkt768vwL4FjKaTOZ88Buf6eaM5ucuj3LzQnRx0i4gOzPa5WTPC OspQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713472116; x=1714076916; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jqVxD8NW85e4hpF46KibfwBl6r2nSc9LK0kvcIVkJF0=; b=m7zG1epeuP6U+JAny3qVrgFQ5X/6x535lmhkS4ry9VWEU0Q3jTuj/NpPz/hLzc9zEQ bN2mnuulEjLg1pifNd/1RIGAvCL8jqv1+8yl1RKl3ioKeruFiAMNxhAE1zgszDXeta37 KPGrtWRWJ51BLoAk7vlyfhd93GAztlHau9drDvggp57ZNYNv9BvXWMBRCTpHUdfI1t++ 3VL2YawUONK6eSBR8FvoMD3XrZGe33d2qNLtSMisMt234kosHBjBhQy/VzVfTzPkaKfR b1XmoUZyFfkOhzioTJ1Wqr2fOmdbnT1UDJaJzYMhS5BavRwIUZfr983cjkuy/KARH9MP xLUg== X-Gm-Message-State: AOJu0Yxo98+ng2ufwJPBSbZ03QkrzocQOAdg30/TwzBa+1Ji/vmRGiUZ KitsUfaALnA8f15FtaK5DEGE4UJpXLu0L8NzltrMTTmwMI2A3/aa5L5XOsyu X-Google-Smtp-Source: AGHT+IHM/BnJqix5NPNdgBiRBgxx1R6R1IU6J8Hiq506GTV4KqeniqsMRGRSxZwimGq/FxJZFva26A== X-Received: by 2002:a5d:678e:0:b0:341:d912:1fec with SMTP id v14-20020a5d678e000000b00341d9121fecmr11281wru.49.1713472116416; Thu, 18 Apr 2024 13:28:36 -0700 (PDT) Received: from localhost (176-241-5-80.pool.digikabel.hu. [176.241.5.80]) by smtp.gmail.com with ESMTPSA id m18-20020adff392000000b00345920fcb45sm2664094wro.13.2024.04.18.13.28.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 13:28:36 -0700 (PDT) From: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= Date: Thu, 18 Apr 2024 22:28:31 +0200 Message-ID: <75a8671a646cb5bb735a0249fe7c4dfd0dec490d.1713472115.git.voroskoi@gmail.com> X-Mailer: git-send-email 2.41.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: , 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-Spam-Score: -2.28 X-Migadu-Queue-Id: 51FED7DEA5 X-Migadu-Spam-Score: -2.28 X-Migadu-Scanner: mx10.migadu.com X-TUID: MUq/TYgRhDgz * gnu/packages/crates-crypto.scm (rust-ssh-cipher): New variable. Change-Id: I3b25bb80bade833b4f289aeb24823fb38964c324 --- gnu/packages/crates-crypto.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index 898d9b8766..1e52f72ca5 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -6174,6 +6174,39 @@ (define-public rust-spki-0.4 (base32 "0ckgkcg6db5y94dqhmyikgn8yrsah6pyf4j197hv1c51bp0s00aw")))) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-der" ,rust-der-0.4)))))) +(define-public rust-ssh-cipher-0.2 + (package + (name "rust-ssh-cipher") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ssh-cipher" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kvq113x9fcy2jcxp00xk472zxm8d9zxxz2vyqx3rlzh88ki7b6a")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-aes" ,rust-aes-0.8) + ("rust-aes-gcm" ,rust-aes-gcm-0.10) + ("rust-cbc" ,rust-cbc-0.1) + ("rust-chacha20" ,rust-chacha20-0.9) + ("rust-cipher" ,rust-cipher-0.4) + ("rust-ctr" ,rust-ctr-0.9) + ("rust-des" ,rust-des-0.8) + ("rust-poly1305" ,rust-poly1305-0.8) + ("rust-ssh-encoding" ,rust-ssh-encoding-0.2) + ("rust-subtle" ,rust-subtle-2)))) + (home-page "https://github.com/RustCrypto/SSH/tree/master/ssh-cipher") + (synopsis + "Rust implementation of SSH symmetric encryption") + (description + "Pure Rust implementation of SSH symmetric encryption including support for the +modern aes128, aes256 and chacha20-poly1305 algorithms as well as legacy support for older +ciphers. Built on the pure Rust cryptography implementations maintained by the +@code{RustCrypto} organization.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-ssh-encoding-0.2 (package (name "rust-ssh-encoding") -- 2.41.0