On reflection suspect you'd rather #16227 (moved) to be specifically about documenting future expansion. Spec 228 doesn't include a proposal for what would be added to the dir-spec. As such controllers like Stem, metrics-lib, and BridgeDB don't have a clear description on how they should be parsing this new content.
Happy to review it when we have a proposed spec addition.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
Should the priority of this be bumped? Proposal 228 was incomplete, and if this wasn't an important security improvement I'd argue we should be rolling it back until that's fixed.
Karsten is moving forward with descriptor sanitation. The following was my reply to his request for comment...
Hi Karsten. My thought is that the existing ED stuff doesn't have aspecification, I don't know what it does, and think that should befixed before we worry about how it's sanitized. The spec wasincomplete and personally think we should either prioritize that orroll back the feature. But maybe that's impractical. I already voicedthis earlier so feel free to proceed as you'd like. You have mycomplete confidence. :P
Documenting (or rolling back) this feature should be easy so I'm surprised this is still an issue.
Apologies if this ruffles feathers, but personally I think the proposal process for this was mishandled. We shouldn't be merging major features that lack a spec, then leave them undocumented for a full month afterward. :(
On reflection think I was looking at the wrong proposal. Proposal 220 discusses the descriptor fields, though it also lists itself as being a draft (not merged) so still tad confused about the state of things. :)
Ok, think I'm gonna be a madman and bump the severity on this. Unless I'm missing something we merged a major feature and have left it completely out of the spec for months. I know we're all kept busy but this feels like a miss, and a tad frustrated it's been six weeks of hearing crickets.
Tweaking the ticket description to be more precise about what I care about. I'm waiting for this before Stem will recognize the new descriptor fields. Presently there's 45 server descriptors with the new fields...
Presently only spot this is mentioned is spec 220...
% torspec$ grep -R 'identity-ed25519' ./*./proposals/220-ecc-id-keys.txt: "identity-ed25519" NL "-----BEGIN ED25519 CERT-----" NL certificate./proposals/220-ecc-id-keys.txt: When an identity-ed25519 element is present, there must also be a./proposals/220-ecc-id-keys.txt: * If the identity-ed25519 line is present, it must be well-formed,./proposals/220-ecc-id-keys.txt: Extra-info documents now include "identity-ed25519" and
Trac: Summary: Proposal 228 needs spec documentation to identity-ed25519 is undocumented
"identity-ed25519" NL "-----BEGIN ED25519 CERT-----" NL certificate "-----END ED25519 CERT-----" NL [At most once, in second or first position in document]
Above the 'router' says it's at the start and appears exactly once. How can identity-ed25519 be in the first position? Is there a reason we care about its position in the server descriptor? If not then might as well just say "[At most once]" like everything else.
"id" SP "ed25519" SP base64-encoded-ed25519-identity NL [At most once]
Lets merge this with the above entry for 'id rsa1024'. Can microdescriptors and router status entries have multiple 'id' lines? This makes it sound like it can but Stem assumed from the rsa id line's wording that it wouldn't.
Trac: Resolution: implemented toN/A Status: closed to reopened
Just for the future the prior reading of the 'id rsa1024' lines read to me as 'there is only one id line'...
"id" SP "rsa1024" SP base64-encoded-identity-digest NL [At most once]...
Not at all a big whoop, but I'll need to rejigger things a bit in Stem in ways I try to avoid. For me how many times a field appears is important since it determines the data structures I use. If we can keep forward comparability in mind early it's helpful.
The field as it is now is perfect though - thanks!