apologies for the delay (I was away, and then catching up - a forlorn
hope)
This draft is progressively better and better. Now if I didn't have
to re-review the history of it for each update....
My responses w/ [DC] below. Note: I only have one suggested change.
Otherwise it looks good.
Deb
On Wed, Sep 9, 2026 at 7:48 AM Esko Dijk <[email protected]>
wrote:
Here's a detailed reply to the COMMENT part of your mail of August
21. See replies and questions below inline marked with [ED] !
I've removed any text/discussions that appear to be resolved or
were in the DISCUSS part, which we've mailed about earlier.
There's now also the -36 version that includes all the commits
mentioned below.
This is also for my co-authors to review.
In the next revision we will hopefully tackle the overall scope
and clarity as discussed for the "DISCUSS" part.
Esko
On 8/21/26 20:12, Deb Cooley wrote:
Section 2, Malicious Registrar: What is the entity seeking to
do, presumably
to the Pledge?
[DC] meh
[ED] Now explained in new text. Section 11.4 of RFC 8995 lists
one intended attack in more detail, so the text now refers to
that. This commit
<https://github.com/anima-wg/voucher/commit/37c96a7daf6c9a7e9f681f39b70cbfde9d598bd3>has
most of the changes.
The simplest attack would be to just lure the Pledge into a
malicious Domain and let the device operate there. (E.g. while
another party, the intended target Domain, has paid for the device!)
The one in Section 11.4 is more sophisticated: first lure the
Pledge, exploit its vulnerabilities to install malicious software,
then re-onboard that compromised device into a 'real' target Domain.
My goal is that Malicious Registrar should cover any of these cases.
[DC] so much better. TYVM
Section 2: I'm not sure the terminology could be more
confusing. For example:
"Voucher: a Voucher Artifact, not a Voucher Request...", while
"Voucher
Request: a signed artifact...." But while a Voucher Request is
a signed
artifact (does lower case make it different?), it is not a
Voucher. I don't
even know what to suggest.
[DC] better?
[ED] I struggled with the terminology also; and it was far worse
even before we introduced "Voucher Artifact" :(
Now the naming itself can be confusing, because "Voucher Data" for
example does not only refer to the payload of the Voucher, but to
the payload contained within a Voucher Artifact in general. So a
Voucher Request also contains "Voucher Data". And a Voucher is
itself always a Voucher Artifact; and a Voucher Request is also
always a Voucher Artifact.
Proposal 1: keep current terms and correct editorially where it's
used inconsistently. For example the word "artifact" versus
"Voucher Artifact" is intended to be different, where "artifact"
is the more general category. Every Voucher Artifact is an
artifact. (Caps used intentionally like this. We should not have
an Artifact.)
Proposal 2: use the term "Signed Artifact" instead of "Voucher
Artifact"; a larger change.
[DC] I'm not sure what to suggest, but being ruthless in the effort
to use the terms consistently will go a long way.
Section 4, Assertion Basis: what is 'measured boot'? (I know
what 'secure
boot' is)
[DC] I suggest referencing where 'measured boot' is defined.
[ED] Now added a reference (commit
<https://github.com/anima-wg/voucher/commit/38a8ff6488db8ba15d0a50eb06486def5e44fb11>).
The term isn't directly defined in RFC 9334, but it's the best
reference I think for the overall mechanism. "Measurements" are
performed each boot phase and securely stored for post-facto
audits, without necessarily blocking the boot if any one step
fails (that would be 'secure boot').
[DC] this works. TY
Section 4: It is really unclear exactly how the use of nonces or
time limits
blocks a malicious registrar. This is especially true if the
nonces are
transmitted in the clear.
[DC] unchanged
[ED] The Malicious Registrar (as now clarified per above Section
2 comment) can still trick the Pledge to onboard with its
malicious Domain, in case of nonce used in PVR. No change there.
Also time limits by itself don't help there.
These attacks work as long as the MASA trusts the Malicious
Registrar's domain. Now why would a MASA trust this domain? BRSKI
provides the MASA also with the option to only issue a Voucher to
a trusted party/Domain. But this is about the case of MASA
applying a "first come" policy, so that anyone who can come up
with a valid PVR + RVR from a genuine Pledge will get a Voucher
issued by MASA. This policy is less secure, but ideal if the
vendor sells IoT devices to 10,000s of customers without even
knowing who these customers are. (Sold via resellers etc.)
So both nonce and time limits do protect against re-use of a
Voucher that was issued earlier. It prevents the case where one
Domain gets a Voucher once and can re-use it an unlimited number
of times or for an unlimited period. Also prevents cases where a
Malicious Actor steals a bunch of old Vouchers, sets up a
Malicious Registrar, then forces IoT devices to redo the
onboarding (via factory reset) to their Malicious Registrar.
So would we need some text to explain what nonce and time-limits
protect against? Or leave that to the protocols (like BRSKI) using
these mechanisms?
[DC] OK... two mechanisms... That's fine, just be sure to keep
those mechanisms aligned and consistent. I think the rest can be
left to the protocols that use this.
[DC] Section 8, after para 7 to the end of Section 8.1 is all new
text:
-------------------------
Section 8, last couple of paragraphs: The issue with pinned
public keys is not going to be the hash (SHA256), it is going to
be the actual public key.
[ED] I've made some text updates on Section 8 in this commit
<https://github.com/anima-wg/voucher/commit/4d0331583c75cdff38cdc3d70720b2a7f59e1c79>.
(Among other changes.) It explains better it's a new hash
algorithm that could be added.
If the concern is that the actual public key shouldn't be exposed,
while the hash can be exposed, then no new fields are needed: just
use the hash fields. It's up to the specific protocol to define a
"MUST use SHA256 hash" then.
To me not clear what the issue is with storing the actual public
key in a Voucher. Everyone on the Domain network can potentially
attempt a handshake with the Registrar and thus learn its public
key. And the Voucher is logged/stored by the Registrar, that is
part of the Domain. So it's not public knowledge even though it's
not end-to-end secured between Pledge and MASA.
[DC] MCR did point to my original concern - a change in the public key
being pinned. The transition mechanisms are rudimentary at best.
Same goes for changing the hash algorithm. I suspect that one could
make this change, 'Should the SHA256 algorithm or public key need to
be replaced in the future...' That would cover both cases.
Section 8, last paragraph: If there is a nonce-less option for a
voucher, then the risks of that need to be added to Section 12
(sec consid).
[ED] I've now added a section on that in this commit
<https://github.com/anima-wg/voucher/commit/3a0040f222ae8ddd141a32aad66cab97e9396b5a>.
This risks are quite low it seems, unless the attacker is the
customer (Domain) itself. The scenario is then to keep onboarding
the device while the validity period is long passed. (And the
subscription for the device is not paid for example.) But that
won't succeed if the manufacturer implemented the clock accuracy
measures in Section 12.1. (11.1 in the new text).
[DC] Better!
Section 8.1, para 1 and 3: recalling inventory to replace f/w
and update doesn't seem like a useful transition strategy.
Note: para 1 and 3 are largely repetitive.
-------------------
[ED] Repetition is resolved in this commit.
<https://github.com/anima-wg/voucher/commit/d57df1d4d6d70257140a1e03336f1c21c7f673ea>
The section is also reworded a bit for clarify; and to say that
there are more strategies possible. We did discuss some clever
things for that (in ANIMA WG scope) but not in scope of this
document I think. What's possible really depends on the onboarding
protocol itself.
[DC] better! (clever isn't always the easiest to implement... only
my opinion)
Section 9.1: 'manufacturer-private?'. Does this imply the
manufacturer's
private key? Surely this isn't sent to anyone.
[DC] now changed to 'manufacturer-proprietary'? I'm not sure
that is better. So now
we specify manufacturer proprietary things?
[ED] Objectively it's better: 'private' would be restricted
access to the information by only the manufacturer, which isn't
the case here - the data is not encrypted. 'Proprietary' means the
format and contents, and the process used to create it, is under
control by a manufacturer. (Even though a specific instance of
such data may be public.)
Why we specify it: there is some explanation in the "Voucher
Extensions" section. The original RFC 8366 is based on the idea
that manufacturers can add proprietary data to their Voucher - to
be read and acted upon by the Pledge. To prevent these
manufacturers from adding the data in arbitrary attributes, which
could clash with the ones we have standardized and will produce a
Voucher that's invalid when doing YANG validation, this attribute
was added. While the "extensions" attribute also allows adding
proprietary information, there is some overhead involved like
defining a YANG model. This attribute has zero overhead; that's
why we also have it.
So yes, we do specify for manufacturer-proprietary things to be in
Vouchers and not being able to have that would greatly diminish
the value of Vouchers. It would be perhaps like having checked
luggage on a flight, where the suitcase only can store items from
a pre-approved list.
Next to identify: is there something that could be better
explained? One clarification made related to the final point of
this email is that none of these fields can carry data that would
require confidentiality.
[DC] Oh proprietary data or whatever the right words are. This is
much better.
Section 10.1, para 3: Updating a short-lived certificate
requires the same
care as the initial certification. It is more than merely
'updates the
Voucher's validity period'. One needs to ensure that the entity
that holds the
private key still possesses it, and hasn't disclosed it.
[DC] not done
[ED] I see the problem in the text - it was suggesting the MASA
could do something without checks, which contradicts many other
parts of the document.
I've now rephrased this part in the commit here
<https://github.com/anima-wg/voucher/commit/819ebb24b000c2c49e67e376f8e3addaadf172dd>.
[DC] much better.
Section 11.2: Why not MUST? What are the circumstances in which
is it ok to
not store that private key in an HSM?
[DC] not done?
[ED] Now updated in this commit
<https://github.com/anima-wg/voucher/commit/eb20bbf9f4ce4282e8399f66b3d4aa13c81ebbaa>
to MUST and reworded to require the HSM's properties, without
mandating the specific implementation choice of HSM. A HSM is
still mentioned as the canonical way to meet the requirement.
HSM could imply a specific "implementation style" for which
normative language needs to be avoided. There's also various
keywords like MPC, TEE, KMS which suggests it's different from
HSM, but could still achieve the same goals.
[DC] that is a nice way to phrase it.
Section 11.4: For sensitive data fields which are distributed, I
would expect
these structures to be encrypted as well as signed. Nonces and
other private
values should not be distributed in the clear (or merely
signed). I would have
preferred to see the carefully constructed paragraph which is
normally standard
in Yang specifications.
[DC] changed, but not the standard Sec Consid...
[ED] On the nonce value: this is a nonce as defined by RFC 4949;
with cryptographic randomness requirements per RFC 4086. I've now
added a commit that clarifies
<https://github.com/anima-wg/voucher/commit/b5408787d19365501fecbbb508d7667a656cb95d>
this requirement.
The nonce is in the clear because there's no value an attacker
could possibly gain by inspecting the nonce or a previous series
of nonces sent by a Pledge. Provided that it's randomness is
cryptographically sound! That's why I added the reference.
A nonce in general is not subject to the constraint that it must
be secret (which may be the case in some specific protocols that
use nonces).
About other values that might be exposed publicly in the
Voucher/Voucher-Request: I've now added some
security/confidentiality related requirements in this commit
<https://github.com/anima-wg/voucher/commit/4d0331583c75cdff38cdc3d70720b2a7f59e1c79>.
Basically, nothing that requires strict confidentiality can be
stored in the Voucher/Voucher-Request. Because in this draft we
don't specify yet how the artifacts are being used; it could be
always in a TLS session (BRSKI/cBRSKI) but it might be otherwise.
Are there attributes that we need really to keep private? If we
know your concerns here we could mention these specifically in the
section. The nonce value is the least of these concerns I think.
Or would we need text for each attribute stored in the Voucher
Data and discuss it's security implications? I'm not aware of what
"standard YANG Sec Cons" is.
[DC] Mahesh can point you to where the standard Sec Cons are kept. I
only see it in Yang drafts.... maybe in RFC 9907?