-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename Feed to Subject #114
Rename Feed to Subject #114
Conversation
Signed-off-by: steve lasker <[email protected]>
Signed-off-by: steve lasker <[email protected]>
…iscussion Signed-off-by: steve lasker <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small but important nit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
draft-ietf-scitt-architecture.md
Outdated
@@ -655,7 +655,7 @@ Protected_Header = { | |||
4 => bstr ; Key ID | |||
; TBD, Labels are temporary | |||
391 => tstr ; DID of Issuer | |||
392 => tstr ; Feed | |||
2 => tstr ; Subject |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the subject (old feed) is mandatory?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't make that explicit change, but yes an issuer of a signed statement must have a subject.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't 2 'crit`? Shouldn't 'sub' be nested in a 13 (see https://www.ietf.org/archive/id/draft-ietf-cose-cwt-claims-in-headers-06.html#name-representation)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh, yes, I incorrectly pulled 2
from the CWT spec.
In this PR, we're not pulling in CWT. That is deferred to #108
This PR renames Feed
to Subject
, aligning with the definition of Subject, within CWT.
Can we agree with this incremental step? If so, what tag should we use? I can repurpose 392, but I think we agree cbor-tags should have a common tag for subject
, which is outside the scope of this PR.
- Do we agree with the rename?
- What CBOR tag should we use?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Above reference is outdated. Please see updated line 658
392 => bstr ; Subject
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With #108 merged, removing this entry.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
PR addressing the conversation around Feed is redundant with Subject, as defined in CWT
This PR intentionally contrasts #108
Choice for folks to vote upon:
Fixes #11