From: Wolfgang Denk Date: Mon, 05 May 2014 19:55:04 +0200 Subject: [U-Boot] booting signed Images In-Reply-To: References: <53673F4F.3070503@denx.de> Message-ID: <20140505175504.9FE723809DA@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon, In message you wrote: > > > Should we not prevent booting uImages or not signed FIT Images when > > CONFIG_FIT_SIGNATURE is defined? > > Or at least prevent booting such unsigned images through an U-Boot > > env variable. > > > > What Do you think? > > There is a 'required' property in the public keys which is intended to > support this. If you mark a key as 'required then it will need to be > verified by any image that is loaded. There is a test for this case, > but it may not be comprehensive. But what about legacy uImage files? It appears nothing would stop booting one of those? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Accident: A condition in which presence of mind is good, but absence of body is better.