Message ID | 20240801171228.7527-1-jan.vermaete@gmail.com |
---|---|
State | Rejected |
Delegated to: | Stefano Babic |
Headers | show
Return-Path: <swupdate+bncBDRIPN7U2AIBBBEEV62QMGQESJB5VTA@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=O2K9ybnB; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=EwuJgHj8; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::43a; helo=mail-wr1-x43a.google.com; envelope-from=swupdate+bncbdripn7u2aibbbeev62qmgqesjb5vta@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-wr1-x43a.google.com (mail-wr1-x43a.google.com [IPv6:2a00:1450:4864:20::43a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WZbBR1JZlz1yZv for <incoming@patchwork.ozlabs.org>; Fri, 2 Aug 2024 03:12:45 +1000 (AEST) Received: by mail-wr1-x43a.google.com with SMTP id ffacd0b85a97d-36835daf8b7sf4445219f8f.2 for <incoming@patchwork.ozlabs.org>; Thu, 01 Aug 2024 10:12:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1722532360; cv=pass; d=google.com; s=arc-20160816; b=qieF3kzppybkUT4MKNngqCqW9cqxYpzx5cm7cTFJhl3VSKu36pRcIHbC13fhsTKe1H McbdjN9nX9KJAhe+kpunejroKf7m7Xmm1aeB6SISegvfGIlfLBBU9zQTWt7+eRZn4hn8 S3u3GU6af/oaUAlUzkr8knkPD+lyWB9m7f1o4DFNJHmThagdguDocOUSq6hRVdWU1weD kyHvtEZ+XcWtiFSissDKjD04n/iPh8Xf+fVmNGOr6+1vHPyVsq0cAYTB4DtWtN82iujv BNseKwcHux8yktOltiUZc6RNhVs0+aB7NlZanB8cvZwVA5i5C3BBIgOU2soU9xHrCZWJ J1fg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature:dkim-signature; bh=+rJsC2LxlNUYQXCCFLImopHKuX7mhlfh1JYquEl5up4=; fh=yqqVZgFlO/ILmlPx7s495Rvev3Niyj4Gi6QnkGSu2Fs=; b=gUvbwZRQQnqgSrDnT2264OspYiXw0Nh2E4CnfQusiOcYHBMP1igUIv08w2u3tHTwEe 55MnK7v2TmeED9p1Ij95vNo/ZV9NYLijYkey1Zz5FnkAYnzhuYzPbKLbQxoAMJeHkQAV z/87hdL6RfRbwvFfXIDbtIYimL2lVfr1XOIPgl8J7tmgnz2Jjt1PL1ZO/eWtc0i1C1WQ I4yWfjEUVbyfe94xY1q2BzEiMxMIuU0h9ok681wRa70cva8L/uF1HBGEJzRY659lesTk VKec6gF1BePirCe4ceegtLg6ZjKBU/5aVAyS3h+56opLQ5Nn9M1Q8cIYSosLFO0NznsE noyA==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Aud3pspv; spf=pass (google.com: domain of jan.vermaete@gmail.com designates 2a00:1450:4864:20::32c as permitted sender) smtp.mailfrom=jan.vermaete@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1722532360; x=1723137160; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=+rJsC2LxlNUYQXCCFLImopHKuX7mhlfh1JYquEl5up4=; b=O2K9ybnBvjrPa/cZhF3tTb7gsPfFhDXpUSDJLdkRF351GHZvVPAQaz0rrVB9BiOVUU QBbb0ZNiilH7WhcFhr8eZEwJKybYs3GVRZWT1uds0uP7nRmH0swDKEhuMPTxsU3vBytP /FipssdU7M0OVTWWQS3kQzSX9d7no3clzXItbHzqU7Kqn6pZjtcAKGdVo1auYpiAM9KJ 6qRR0mPZ7GgwsU6oemYBV0P1UjJuYDj7xz7GjerHi4QhzO7O1WZaUNHFNspWB/4y9zt9 drgDU2OkZnU+suJot9OIyc9AKMGFJiEC16ELngvWnJwm62ChP+xKGG3mqPZFFhA53A3H a8OQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722532360; x=1723137160; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=+rJsC2LxlNUYQXCCFLImopHKuX7mhlfh1JYquEl5up4=; b=EwuJgHj8l62rSyNJF02Viv0TeM5hbMObL2XJUz36yAZzeoFG39AuR7RHgKKiPSYQpa yanWWOVQH5QPI0Au3NP0FnCofAdSNI7dPcGCpLWeAddRqj1s+txdDZCXVDsmuWpclt4f jxzrjP/goRlDBgo8tOOKv9RId3s4rJPKMu+J9Ca0Kgaqe3tpuUqAQxbO/UkP2nhU0XZg G+7MGiw32HIUjTr3yrx5zXRQHuXeGP2ti74vtmzRzpWhZ3rHyOd7Eb7PKeiYI0E8CMmS fX1Y2S0WCihnlFOq446mh0hPpCy6N1lFGfl5ohzmR0ZSFRsif6h+5Qs+01k8Ed9OyOaD O0ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722532360; x=1723137160; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=+rJsC2LxlNUYQXCCFLImopHKuX7mhlfh1JYquEl5up4=; b=gdo33xO5QlXMBPqDy8J2ccwoZoBXAtUB+ePLg0CIdKX5esvJVYzd8pkFhpblHxEZ3K lf6Sl2vgn0/XBZCxwvEE5lyn9ACLU5EmqAKkT8KIobJaNJkcOM0rhR2ZNxDY9LsLmq/4 U5ZQ/k9yZGakn8OJzuzuRpaTmXFq1j1qoXIG9DNuxzRbhJgVtUamkoBGs03sIEcGFalE qf3cp9Bqn3OmVfkyVsSK9VQ93Vv75iGGBpVchEniIiH1neNyey7J57vAf5SVzeLnsszS Fprt2amLRn1sJHI+sSzTAR09h/k38KoVlVNxVBMUyzI8gJi+Hy8oRJfl3LROOrgX4hxH vAfA== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUtaBZ0bd61pr+gMdct7dMaJe5HQkFZTGME4vT0DrKASG8di6c4H3I2GZ2hSsu3fftlAFPGj4fNNEJShHpCa9A1XLf3CoqFeeoVHX3UYA== X-Gm-Message-State: AOJu0Yzg0EFzlskv4IqUb8r75Cp/49khl1baKDYzE3XMfgShWTuuM4Es UmNVL/sIwx544uWP6S+ekp0uHJdUWvdB0KSWx+h8Q99hHOmCxDC4 X-Google-Smtp-Source: AGHT+IGB5qACdsAI5UFRyJ+U9OSkkZKvaqixdmz9SQCP6qdF1otY/M6dsg8Fxdni3lBbmC+BarJfBg== X-Received: by 2002:adf:e94b:0:b0:368:6596:edba with SMTP id ffacd0b85a97d-36bbc1a5586mr437200f8f.39.1722532358653; Thu, 01 Aug 2024 10:12:38 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6000:1041:b0:35f:1b09:66d4 with SMTP id ffacd0b85a97d-36b31978220ls3419851f8f.0.-pod-prod-05-eu; Thu, 01 Aug 2024 10:12:35 -0700 (PDT) X-Received: by 2002:a5d:424a:0:b0:368:7868:2d76 with SMTP id ffacd0b85a97d-36bbc1c4198mr429762f8f.51.1722532354773; Thu, 01 Aug 2024 10:12:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1722532354; cv=none; d=google.com; s=arc-20160816; b=0eIA4cOQA/5e/5Aq3uAq8eNQu6NZuzdqwvZDZ5Xa629qC9mdsMIN8PFNg3nCdD71Bj XcuPvHAYzhu5ub9+85QVJKI72nItUzREn/4ojQt16YMofpbIX6vIEUmFPZjBvxTF/XY9 YHyAkNPpWYnQKidEt0+2aY8po4Z5VDsoU21n5e4cH7HvGfv/eGZkJn9FZWgnu5AaGyFf rXOHd1fv1HcXxn9iQwwjOXxGuVEiWLn0FO+eL+2D2b/RZecPgNy6FWm8XpGIoM421amQ woV8VsWcl/RuFiKboiyUUgiYyoQJVRIIwCFCztxd1UkCAgk+IJXCWXX966ooFA9Y4gse OA7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=ggth2tyUzpoiWM9Cj6bnOUZRkmLsUzlcDLTg5veMDzo=; fh=sTkoT2Z4dfX+jxmzlIMqEU4YHqfrOjFJUnMHKfxZihE=; b=GehFoyj2yR0MUAd5FaGP/owAe/rH7k5DxfGQJPq9iuzjPXuNKLFTzjCE99XHtoA+KU /fhtsk+QETJiavPyamokzoAndF9E10GFe2ZpapHOEisxxZLAp3HITnrKCuWPvkjWHOQ1 FqobQN6akZXcYYwl7Vz/DB4nPmpW/Nc58gSg8TNY0+d+G02DUZy9f4rhkF+oK6p/E5Ub w7OoCeoKw47dk5QPCzhxBP+36Lnrh6PbXQFn6R5cnEkIx0suDPW7GXXCWVDfZSVdjy1j n0ZHQxRFl2WXgBSaq73koigd/W4B/Q0gAHqFZyp7RlzBfSmzyGVxyyxZGDp4gYSv38c3 znOQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Aud3pspv; spf=pass (google.com: domain of jan.vermaete@gmail.com designates 2a00:1450:4864:20::32c as permitted sender) smtp.mailfrom=jan.vermaete@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com. [2a00:1450:4864:20::32c]) by gmr-mx.google.com with ESMTPS id ffacd0b85a97d-36bbd0569acsi1455f8f.6.2024.08.01.10.12.34 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Aug 2024 10:12:34 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.vermaete@gmail.com designates 2a00:1450:4864:20::32c as permitted sender) client-ip=2a00:1450:4864:20::32c; Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-42803bbf842so63417335e9.1 for <swupdate@googlegroups.com>; Thu, 01 Aug 2024 10:12:34 -0700 (PDT) X-Received: by 2002:a05:600c:154c:b0:426:62c5:4731 with SMTP id 5b1f17b1804b1-428e6b7ea40mr6043735e9.29.1722532353630; Thu, 01 Aug 2024 10:12:33 -0700 (PDT) Received: from localhost.localdomain (ptr-fij45qxtdobqrxrcewr.18120a2.ip6.access.telenet.be. [2a02:1812:512:2c00:6021:e9a4:5aa0:257b]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-428e6e9d1b4sm3226515e9.39.2024.08.01.10.12.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Aug 2024 10:12:33 -0700 (PDT) From: Jan Vermaete <jan.vermaete@gmail.com> To: swupdate@googlegroups.com Cc: Jan Vermaete <jan.vermaete@gmail.com> Subject: [swupdate] [PATCH] doc: adding -p option to openssl enc to return 3 lines (salt, key, iv) Date: Thu, 1 Aug 2024 19:12:28 +0200 Message-Id: <20240801171228.7527-1-jan.vermaete@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Original-Sender: jan.vermaete@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Aud3pspv; spf=pass (google.com: domain of jan.vermaete@gmail.com designates 2a00:1450:4864:20::32c as permitted sender) smtp.mailfrom=jan.vermaete@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
doc: adding -p option to openssl enc to return 3 lines (salt, key, iv)
|
expand
|
diff --git a/doc/source/encrypted_images.rst b/doc/source/encrypted_images.rst index c70ed784..f70a6f28 100644 --- a/doc/source/encrypted_images.rst +++ b/doc/source/encrypted_images.rst @@ -28,7 +28,7 @@ Then, encrypt an image using this information via :: - openssl enc -aes-256-cbc -in <INFILE> -out <OUTFILE> -K <KEY> -iv <IV> + openssl enc -aes-256-cbc -in <INFILE> -out <OUTFILE> -K <KEY> -iv <IV> -p where ``<INFILE>`` is the unencrypted source image file and ``<OUTFILE>`` is the encrypted output image file to be referenced in ``sw-description``.
I assume the documetation about the 2nd and 3rd line is written for the openss enc command with the option -p. from `openssl enc -h`: -p Print the iv/key example: openssl enc -aes-256-cbc -in /tmp/test -out /tmp/test.enc -K `openssl rand -hex 32` -iv `openssl rand -hex 16` -p salt=C169F1C114560000 key=66EBC15025E9B4D0D455A8805E2B51EF4A155B216729AF986305AC7E76B65C4F iv =EB79A2D4BB540033E91960DAAA445BC3 Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> --- doc/source/encrypted_images.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)