From: Michael Richardson <mcr@sandelman.ca>
To: Ed Tanous <ed@tanous.net>, Joseph Reynolds <jrey@linux.ibm.com>,
openbmc <openbmc@lists.ozlabs.org>
Subject: Re: Security Working Group - Wednesday July 22 - results
Date: Thu, 23 Jul 2020 15:05:26 -0400 [thread overview]
Message-ID: <8008.1595531126@localhost> (raw)
In-Reply-To: <CACWQX80aD212+JKwqGJoowyb4S7wLcnUCyVLwOMko8T_86yunA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2589 bytes --]
Ed Tanous <ed@tanous.net> wrote:
> One thing to note; At one point, I had talked through how to
> prototype ACME protocol replacement of certificates automatically, so,
> given an ACME server on the network, the BMC could essentially
> automatically provision itself and keep its certs up to date. If
> someone wanted to run with that, it might reduce some of the pain here
> (and be extremely cool).
I have running code, but to use ACME, requires some initial trust
relationship. The manufacturer can do that if they want.
One can also use draft-ietf-anima-bootstrapping-keyinfra + EST (RFC7030).
These two are not mutually exclusive.
I hope to clear my plate enough before the end of the year to demonstrate
this on OpenBMC.
> The above is all asking the wrong question: "Can we determine if the
> certificate is valid?" This is irrelevant, the question is: "Should
> we ever be replacing a user provided certificate with one generated on
> the BMC." The answer previously has been no. In almost all cases the
> user provided certificate, even an expired one, will still be better
> than one the BMC self signs. Between having an invalid certificate
> chain, and an invalid date, I'll take the invalid date every time.
I agree.
> It should be noted, most browsers (in my testing) seem to ignore the
> HTTP date header entirely, so the BMC doesn't even need the correct
> time to set up a proper encryption channel.
That's very surprising and counter to my experience.
The more likely case is that the OpenBMC has the wrong date.
>> Should “out of date” not be part of the
>> “unusable” definition? ⇒ Ideas: 1. If bmcweb finds a usable cert but is
>> out of date, that cert can still be used. 2. Leave the defective
>> certificate (do not delete it) and log an error.
> A lot of BMCs don't have a dedicated RTC, and rely on other systems
> (like the PCH or NTP) to get the correct time. bmcweb needs to come
> up long before the PCH or NTP (both of which are also optional) so as
> a general rule, using these for valid time is a non-starter. I could
> see logging an error _if_ you know time is valid, but I'm not sure how
> a bmc could know that.
Agreed.
--
] Never tell me the odds! | ipv6 mesh networks [
] Michael Richardson, Sandelman Software Works | IoT architect [
] mcr@sandelman.ca http://www.sandelman.ca/ | ruby on rails [
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2020-07-23 19:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-20 13:57 Security Working Group - Wednesday July 22 Joseph Reynolds
2020-07-23 14:11 ` Security Working Group - Wednesday July 22 - results Joseph Reynolds
2020-07-23 15:13 ` Ed Tanous
2020-07-23 16:04 ` Joseph Reynolds
2020-07-23 19:05 ` Michael Richardson [this message]
2020-07-23 20:09 ` Ed Tanous
2020-07-23 21:34 ` Michael Richardson
2020-08-04 9:36 ` Jayanth Othayoth
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=8008.1595531126@localhost \
--to=mcr@sandelman.ca \
--cc=ed@tanous.net \
--cc=jrey@linux.ibm.com \
--cc=openbmc@lists.ozlabs.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.