From: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
To: u-boot@lists.denx.de
Subject: [RFC PATCH 0/1] Anti rollback protection for FIT Images
Date: Mon, 14 Sep 2020 23:20:54 -0700 [thread overview]
Message-ID: <0f8b8caa-97ec-e901-ff6b-6c95e57709a1@linux.microsoft.com> (raw)
In-Reply-To: <5c749508-d9e9-4ef4-37ef-8aa153bc296a@prevas.dk>
On 9/7/2020 11:15 PM, Rasmus Villemoes wrote:
> On 02/09/2020 09.58, Rasmus Villemoes wrote:
>> On 01/09/2020 22.48, Thirupathaiah Annapureddy wrote:
>>> Anti rollback protection is required when there is a need to retire
>>> previous versions of FIT images due to security flaws in them.
>>> Currently U-Boot Verified boot does not have rollback protection to
>>> protect against known security flaws.
>>
>> This is definitely something we've had on our todo-list/wishlist. But we
>> haven't had the time to sit down and work out the semantics and
>> implementation, so thanks for doing this.
>
> ...
>
>> The board callbacks would simply be given a pointer to the data part of
>> that node; that would make the versioning scheme rather flexible instead
>> of being limited to a single monotonically increasing u32 (hence also
>> the comparison logic should be in the board callbacks, instead of a
>> "get/set" interface).
>
> Oh, and another reason for having the board callbacks being responsible
> for the Yay/Nay verdict is that that makes it possible to hook up a gpio
> that can be used to say "ignore rollback version check" - immensely
> useful during development, and might also come in handy for the end
> products.
This is not a good idea from security point of view as that would lead
to physical present attacks.
>
> Rasmus
>
next prev parent reply other threads:[~2020-09-15 6:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-01 20:48 [RFC PATCH 0/1] Anti rollback protection for FIT Images Thirupathaiah Annapureddy
2020-09-01 20:48 ` [RFC PATCH 1/1] image: add anti " Thirupathaiah Annapureddy
2020-09-07 1:43 ` Simon Glass
2020-09-15 6:18 ` Thirupathaiah Annapureddy
2020-09-15 13:40 ` Tom Rini
2020-09-15 19:46 ` Thirupathaiah Annapureddy
2020-09-15 21:18 ` Simon Glass
2020-09-02 7:58 ` [RFC PATCH 0/1] Anti " Rasmus Villemoes
2020-09-08 6:15 ` Rasmus Villemoes
2020-09-15 6:20 ` Thirupathaiah Annapureddy [this message]
2020-09-15 6:53 ` Rasmus Villemoes
2020-09-15 5:22 ` Thirupathaiah Annapureddy
2020-09-15 7:59 ` Rasmus Villemoes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0f8b8caa-97ec-e901-ff6b-6c95e57709a1@linux.microsoft.com \
--to=thiruan@linux.microsoft.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox