Message ID | 20210502142715.116650-3-toertel@gmail.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBCEMDFWL6ALRBTPNXKCAMGQEPWAZWBQ@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::437; helo=mail-wr1-x437.google.com; envelope-from=swupdate+bncbcemdfwl6alrbtpnxkcamgqepwazwbq@googlegroups.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20161025 header.b=gt0H5dZD; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=IVwN8hdw; dkim-atps=neutral Received: from mail-wr1-x437.google.com (mail-wr1-x437.google.com [IPv6:2a00:1450:4864:20::437]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FY7jb3fY4z9sCD for <incoming@patchwork.ozlabs.org>; Mon, 3 May 2021 00:27:29 +1000 (AEST) Received: by mail-wr1-x437.google.com with SMTP id a7-20020adfc4470000b029010d875c66edsf2344922wrg.23 for <incoming@patchwork.ozlabs.org>; Sun, 02 May 2021 07:27:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1619965645; cv=pass; d=google.com; s=arc-20160816; b=cBMhiUy1heQynnOCZSSr1z0168wX1h6G8SJmV3cd0CwDrgM0FG6tZkE/1t/bQBV3JY oBaAtNEDR/gMXbDtuvBD/qrjELWASdrXYIxfZ6u3Xcet3Zh7ucrIK5F30vDpui7mlcpu CGZ446H+domC6oBPPTSexruzYfTnvQenwLaGTYs/lxCqNkPlURBXUeM0zLxTWlPn6pnS XuOVTBB2OpaqcgogooLabHVukX2ONMnLHGMGyik8Y+41Na8bIBzlQ3dZZEuRDx1DQFVL dinXF7yAh1jJ/q7zYGcXeSLA5ZCnN50FWhxFH15FD4v7gyC89zoDjRyJANo3IBf9/IFE DZdQ== 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:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature :dkim-signature; bh=PMUI1G2x5798xMn+gtZFxOu0HtX/d/y+aNTusr1+WaQ=; b=TZZWlcUodkjGo5pq5uhbIgNYNQwGlQo6PNXN73gcNPaP9BdfJKqgo4A68RglCpkF2h q9Ynq4W5ergN0WpdNIsoi92L/cqPbZ6cPoM23qWUNysfgDYMRSY5j+7b24xslyuJtP/Y CX7rOWzAoyamRUKk3rEiDLSm5iHKEtw1lwt426wCVapezqaNsynzhV5VaH6oATzCIBtt QMXohUdvK2DT7WtoW6vbtFmaYId0z0mOPS/gTDqV1pKub0khN8OVf5lqQqj536mZ8QrH MqxsuEASZX3k/k9b6pTzyjnct7/bwwbWc0PmU4DGdmBHIoGGUVG4ob6BmWcZ4UaEE5OM SnAA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=c6iT30HC; spf=pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::62e as permitted sender) smtp.mailfrom=toertel@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=PMUI1G2x5798xMn+gtZFxOu0HtX/d/y+aNTusr1+WaQ=; b=gt0H5dZD0ga2ZT+aaxjDQPXXqx4KfyVKMx6NqEOMSwOaYDPQ0Ca8AFbS8i8EZhNTW1 lOxLGYAX3Cn/7a19PsmDx87aCW16C3DJp57Iv5nBbEnLrcL5SBw3nTZoKrh9l0pL/hcH AjlbAeoipO7d6xWwuDP3H3O9thUSxn9QvuQ9ALRwumk6LIRdYltRNCrlhJpf+s7FLvJV REwIgpm2XM4EkFogS7uqgeTlaUd3yFf5Bn7Q08CTmWD4uxJLWfE1GM/mF80+u4YVAeBA xTQgrr2TuJNArUMuG/hD/Gy7jBN1U6TAOtUdtCHqMSODZZ8//enK0QSqxABs8WWElKc0 klOw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=PMUI1G2x5798xMn+gtZFxOu0HtX/d/y+aNTusr1+WaQ=; b=IVwN8hdw6PLOfmXog5LIDk5qIJ0BOWOS54cxMgliPvbC2wIs8jfP5RBB6CX/xM4whA YS9R1eSXLBj0o1v1ZRyoQTTkbqRJb+WN0orkBRR+IPiAospYnxboaxlevy3ReZdZPHXw 4Q4LIMCzbh7yeX5htUY47xvdVy3cbBZNdR6ip0x0F9eAQNjLHS8O5+1Ln1w++VAR55rS aYUzZ1r8OiAlqP7cR2WxVifUscqgS17NEqhAm3h8OTGxjuUQwTL3eLVuJhPlmUfwJUv2 vnRszouje623aKzJ2/UI2W2q2RzN2x1ADTRQ+YXJLivCvHDkzsyaf4SoVvy/LOjtIbyI mihQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=PMUI1G2x5798xMn+gtZFxOu0HtX/d/y+aNTusr1+WaQ=; b=JdwxW/kBP8k8EseIl0q1wk5EljqK1W5qe3qHEl+mRS4SeIiopr5NIC6hGosiNlI7P7 Ex0IMwFE6Al7afDxPGhXVm1f9ORpG8i47JzbQ8m+IGSiQmymv1d7Ya7jt4AwjTDbDSLV QZp+PmXBCP4RIy6arhabCWvUeJYC6Y/t5be04VcaJ/YbeaPFOBrsUHEE6fFsCulz2rG7 XeiwG/VD/aJIaGjzwShQvTNL//MhEjAZO58rdsxiQd2RZASwvtf8s0qD8QCHlOCVB9mv 4Ia5a3ZhX3Ja71yaKuGE3Qg4ymSaNRdaNj+Pz2WoqAvMY+qybXPCEF35Il+A6gHL8+yZ KMIw== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM532HaSnLsZwu97mZC7Ab2a4hB4aobu7bVmBUflLY1tGd6vPHTGky zjChtrV9M2uL0Jh60LPjfUw= X-Google-Smtp-Source: ABdhPJyYbifSKSsocMkmazhwTwM4s/O643gj5kgMrWIgbGLXzwhx637eh70SqVE0s4oCTdCw5VErIg== X-Received: by 2002:adf:a116:: with SMTP id o22mr19404069wro.397.1619965645437; Sun, 02 May 2021 07:27:25 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a1c:e341:: with SMTP id a62ls5116981wmh.2.gmail; Sun, 02 May 2021 07:27:24 -0700 (PDT) X-Received: by 2002:a1c:4c07:: with SMTP id z7mr16662712wmf.96.1619965644607; Sun, 02 May 2021 07:27:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619965644; cv=none; d=google.com; s=arc-20160816; b=PwTYhRncgQtbDNlDbUFOMAe0xRYmFGCx3IOScA57jQfeDeXerGjzhjFnDyAQlfAGPD UQ+XhZH/h0J/7pZElybDJ6+Z95SO77EIgS9C17I/79kLXMCDqx5chu4srWH8uAi9qql4 z95w9qiRw9vjJ6lGXSu4S2syUb9BOwtrqnFe1nZlN9OUmrnR5nkpotafO9AEyyymLsyd TOFrV2qhjWyrFpwKgosgIOwbPi9iicerZczvDZce99O9NrQ/fxdyEjwFKnRW2FHRgCyz JS0tonr61HEJ0SanSDiiuMq8SUztTpBDvPA7EpL1YF14j09b8p+jCFGULCB+4bX/PNcr zFeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=XAC53YA991EvLKSuPgULGC0YTC70TPkWh6+4CuDQaS4=; b=LSi2LanlkBpGUxPy7VuC5t7lPsZ/iewJQc5ldPjYOT2BnsLdgsJOj76RetRKBctZ62 FeVlPWW844K30EJa1z6y+rHiDKCgZOeWLYb+Upf7niLEzhkGYX1nathCj+pRg/OaNwCb quhTJiUr4nGJ+LvczTq7EP/nlmD/mh7SGrYaDHcpbB3zpoDga8itd3qV2b8Sn2EFub/p RuuIIpPzT/XsO0Vdow74NkMDJwSfBcw6v4zrYfyG0DN3yLdZFbVVDdEK8ODVQeykVTwI Q/nInK9G6/PK9e6R33J2HhNSuDHzH4eyQ9U2/Kwc7qWQtJChrTSrYkVOAdc+MPP2k41q pOGg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=c6iT30HC; spf=pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::62e as permitted sender) smtp.mailfrom=toertel@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com. [2a00:1450:4864:20::62e]) by gmr-mx.google.com with ESMTPS id c4si352323wri.3.2021.05.02.07.27.24 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 May 2021 07:27:24 -0700 (PDT) Received-SPF: pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::62e as permitted sender) client-ip=2a00:1450:4864:20::62e; Received: by mail-ej1-x62e.google.com with SMTP id zg3so4061309ejb.8 for <swupdate@googlegroups.com>; Sun, 02 May 2021 07:27:24 -0700 (PDT) X-Received: by 2002:a17:907:3e23:: with SMTP id hp35mr13029482ejc.437.1619965644258; Sun, 02 May 2021 07:27:24 -0700 (PDT) Received: from gigabyte.fritz.box (p200300cfaf400300a5584971ef10103f.dip0.t-ipconnect.de. [2003:cf:af40:300:a558:4971:ef10:103f]) by smtp.gmail.com with ESMTPSA id gt35sm8851279ejc.57.2021.05.02.07.27.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 May 2021 07:27:24 -0700 (PDT) From: Mark Jonas <toertel@gmail.com> To: swupdate@googlegroups.com, sbabic@denx.de, michael.adler@siemens.com Cc: Mark Jonas <toertel@gmail.com> Subject: [swupdate][PATCH V2 2/2] configs: Add HASH_VERIFY to no_ssl_defconfig Date: Sun, 2 May 2021 16:27:15 +0200 Message-Id: <20210502142715.116650-3-toertel@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210502142715.116650-1-toertel@gmail.com> References: <20210502142715.116650-1-toertel@gmail.com> MIME-Version: 1.0 X-Original-Sender: toertel@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=c6iT30HC; spf=pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::62e as permitted sender) smtp.mailfrom=toertel@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 |
ci: Run all available tests
|
expand
|
diff --git a/configs/no_ssl_defconfig b/configs/no_ssl_defconfig index e25b688..8891bbb 100644 --- a/configs/no_ssl_defconfig +++ b/configs/no_ssl_defconfig @@ -6,6 +6,7 @@ CONFIG_LUAPKG="lua5.2" CONFIG_EXTRA_CFLAGS="-g" CONFIG_BOOTLOADER_NONE=y CONFIG_DOWNLOAD=y +CONFIG_HASH_VERIFY=y CONFIG_WEBSERVER=y CONFIG_JSON=y CONFIG_LUAEXTERNAL=y
The no_ssl_defconfig failed the ValidImageTest of the acceptance-tests. make V=1 shows that hash verification is missing: TRACE] : SWUPDATE running : [get_common_fields] : Version 0.2.2 [TRACE] : SWUPDATE running : [parse_hw_compatibility] : Accepted Hw Revision : 1 [TRACE] : SWUPDATE running : [_parse_files] : Found File: hello.txt --> /home/hello.txt (ROOTFS) [ERROR] : SWUPDATE failed [0] ERROR core/parser.c : check_hash_absent : 52 : hash verification not enabled but hash supplied for hello.txt [ERROR] : SWUPDATE failed [0] ERROR core/stream_interface.c : extract_files : 165 : Compatible SW not found [ERROR] : SWUPDATE failed [1] Image invalid or corrupted. Not installing ... This is fixed by adding HASH_VERIFY to the no_ssl_defconfig. Signed-off-by: Mark Jonas <toertel@gmail.com> --- configs/no_ssl_defconfig | 1 + 1 file changed, 1 insertion(+)