[{"id":1800119,"web_url":"http://patchwork.ozlabs.org/comment/1800119/","msgid":"<20171106232749.GZ32663@bill-the-cat>","list_archive_url":null,"date":"2017-11-06T23:27:49","subject":"Re: [U-Boot] tools: image: fix \"algo\" property of public key for\n\tverified boot","submitter":{"id":65875,"url":"http://patchwork.ozlabs.org/api/people/65875/","name":"Tom Rini","email":"trini@konsulko.com"},"content":"On Fri, Oct 27, 2017 at 01:25:21PM +0900, Masahiro Yamada wrote:\n\n> The \"algo_name\" points to a property in a blob being edited.  The\n> pointer becomes stale when fit_image_write_sig() inserts signatures.\n> Then crypto->add_verify_data() writes wrong data to the public key\n> destination.\n> \n> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\n\nApplied to u-boot/master, thanks!","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=konsulko.com header.i=@konsulko.com\n\theader.b=\"nkU8eRC6\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3yW86b0MHwz9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  7 Nov 2017 10:34:46 +1100 (AEDT)","by lists.denx.de (Postfix, from userid 105)\n\tid D8006C21F96; Mon,  6 Nov 2017 23:31:18 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 68FE5C21F47;\n\tMon,  6 Nov 2017 23:30:19 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 44913C21F97; Mon,  6 Nov 2017 23:27:57 +0000 (UTC)","from mail-yw0-f169.google.com (mail-yw0-f169.google.com\n\t[209.85.161.169])\n\tby lists.denx.de (Postfix) with ESMTPS id 3A769C21F98\n\tfor <u-boot@lists.denx.de>; Mon,  6 Nov 2017 23:27:53 +0000 (UTC)","by mail-yw0-f169.google.com with SMTP id l32so9348750ywh.13\n\tfor <u-boot@lists.denx.de>; Mon, 06 Nov 2017 15:27:53 -0800 (PST)","from bill-the-cat (cpe-65-184-142-68.ec.res.rr.com.\n\t[65.184.142.68]) by smtp.gmail.com with ESMTPSA id\n\tm8sm6591837ywd.30.2017.11.06.15.27.51\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 06 Nov 2017 15:27:51 -0800 (PST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com;\n\ts=google; \n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to:user-agent;\n\tbh=IkWo2+DzKIBB9E58VfYJoP5hU3NcDaWJjmPNw1jeRi8=;\n\tb=nkU8eRC6ekxmf9b+G7Goz2W79o0HAg8IfFEFG86yi7SOoK+BL/O6bwlGSC8uBoZZ+k\n\tsyB6krk1EYnyMhdQYxHJbiTQt4sBNuTlW/vb0/HEHbUw04dEqXnkjdSA4o/gCLfqH947\n\t8adsi24w2F3Qvk8Qf8uDioJ7j7ryNLqgxPyD8=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=IkWo2+DzKIBB9E58VfYJoP5hU3NcDaWJjmPNw1jeRi8=;\n\tb=Rw7sbrOXuk65fizr7G+hlE4Uzwpe5c0+ZU9J7RIxMCl3zR9gKEi/EjGiF5fr+LU0Un\n\tdzfGZiLC9kaovDXmKCZ56JdhkK09P3JfkVJlo+Oo7MNZA8vE2XUHGmoOyXcWKEN4+zLP\n\tbYrlN3lfZsszcBsbLN9UWVlimXTex/xd5MFuYJNgNlQ9wEbOwi2WRpQOcyDHxKfU4/gs\n\toRlfmyZ3o3stXnOJIiu5c3YViYOBaedogXBGhvYA/7aYgDi9P15towHOVRWlCuApHuLh\n\tU+Z/hbqXoOyTGufIzhoIQLFH8ZvJYMjNRuIAF3mB0SnQHhzZXn5b/6cx/IIZ1KzukZ13\n\t+nuw==","X-Gm-Message-State":"AMCzsaV52xEH6YffHkWU/mD8YoissWS3VTf0ttr1LJShRaHLZaAiWA6p\n\tIM7xoBEqEb4h/gDfw4NfBk4QKA==","X-Google-Smtp-Source":"ABhQp+TZLkn/jTQYNgwaRxKCHL1LNuO7/1oChCksvPNic7HilFoHHnFwU1jWucNZBnp15sBPvIfGQA==","X-Received":"by 10.13.248.132 with SMTP id\n\ti126mr10600317ywf.306.1510010872140; \n\tMon, 06 Nov 2017 15:27:52 -0800 (PST)","Date":"Mon, 6 Nov 2017 18:27:49 -0500","From":"Tom Rini <trini@konsulko.com>","To":"Masahiro Yamada <yamada.masahiro@socionext.com>","Message-ID":"<20171106232749.GZ32663@bill-the-cat>","References":"<1509078321-7694-1-git-send-email-yamada.masahiro@socionext.com>","MIME-Version":"1.0","In-Reply-To":"<1509078321-7694-1-git-send-email-yamada.masahiro@socionext.com>","User-Agent":"Mutt/1.5.24 (2015-08-30)","Cc":"u-boot@lists.denx.de","Subject":"Re: [U-Boot] tools: image: fix \"algo\" property of public key for\n\tverified boot","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"multipart/mixed;\n\tboundary=\"===============5788147843966853354==\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]