public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Rafael Machado" <rafaelrodrigues.machado@gmail.com>
To: Sivaraman Nainar <sivaramann@ami.com>
Cc: "devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: Re: [edk2-devel] How to restrict HTTPS boot to a single address
Date: Mon, 29 Aug 2022 10:21:14 -0300	[thread overview]
Message-ID: <CACgnt7_=xiU7jwhjrbn3xQSMqW_CO61UrfkqdBy34R=s53GQdA@mail.gmail.com> (raw)
In-Reply-To: <BN0PR10MB498137AB121C5F0AEE9416CEC2779@BN0PR10MB4981.namprd10.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 2075 bytes --]

Thanks Andrew / Sivaraman for the guidance.
Definitely good places for me to start.

Thanks
Rafael


Em dom., 28 de ago. de 2022 às 08:25, Sivaraman Nainar <sivaramann@ami.com>
escreveu:

> Hello Rafael.
>
>
>
> HttpBootCheckUriScheme() in HttpBootDxe\HttpBootSupport.c should be the
> right place to filter the URI.
>
>
>
> Please give a try.
>
>
>
> -Siva
>
> *From:* devel@edk2.groups.io <devel@edk2.groups.io> * On Behalf Of *Rafael
> Machado via groups.io
> *Sent:* Friday, August 26, 2022 7:46 PM
> *To:* devel@edk2.groups.io
> *Subject:* [EXTERNAL] [edk2-devel] How to restrict HTTPS boot to a single
> address
>
>
>
>
>
> ***CAUTION:* The e-mail below is from an external source. Please exercise
> caution before opening attachments, clicking links, or following
> guidance.**
>
> Hello everyone.
>
>
>
> Quick question for the ones that understand better the HTTPBoot
> architecture at the edk2 structure.
>
>
>
> Suppose I have to restrict HTTPS boot to accept only the download of
> images from a specific url.
>
> For example, instead of allowing the download of images from any valid CA
> certificate address, I would like to restrict HTTPSBoot to allow only
> downloads from some specific domain I have.
>
>
>
> Probably filtering some information, CN or something like that, from the
> url certificate.
>
>
>
> What is the best way to do that?
>
> In which driver/library should this logic be added?
>
>
>
> Thanks
>
> Rafael
>
> 
> -The information contained in this message may be confidential and
> proprietary to American Megatrends (AMI). This communication is intended to
> be read only by the individual or entity to whom it is addressed or by
> their designee. If the reader of this message is not the intended
> recipient, you are on notice that any distribution of this message, in any
> form, is strictly prohibited. Please promptly notify the sender by reply
> e-mail or by telephone at 770-246-8600, and then delete or destroy all
> copies of the transmission.
>

[-- Attachment #2: Type: text/html, Size: 4305 bytes --]

      reply	other threads:[~2022-08-29 13:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-26 14:15 How to restrict HTTPS boot to a single address Rafael Machado
2022-08-26 16:02 ` [edk2-devel] " Andrew Fish
2022-08-28 11:25 ` Sivaraman Nainar
2022-08-29 13:21   ` Rafael Machado [this message]

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-list 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='CACgnt7_=xiU7jwhjrbn3xQSMqW_CO61UrfkqdBy34R=s53GQdA@mail.gmail.com' \
    --to=devel@edk2.groups.io \
    /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