openpgp-pqc / draft-openpgp-pqc

Repository of the WIP draft-ietf-openpgp-pqc
Other
8 stars 2 forks source link

should we use forward reference? #13

Closed falko-strenzke closed 1 year ago

falko-strenzke commented 1 year ago

Falko's original remark

In Section 4.2.3 we have a forward reference to Section 4.3.2. I think normally in a specification one would only make backwards references to things already defined. Thus the referenced section specifying the packet structure should better be moved in front IMO.

(Section 4.2.4 also has a similar forward reference)

Comment on this from Aron (from previous issue):

forward reference

I personally don't have anything against forward references. I usually like even the backrefs, so that you can navigate the spec in both directions. Generally, when implementing, I don't use the spec linearly

falko-strenzke commented 1 year ago

Meeting 2023-01-19:

fluppe2 commented 1 year ago

Non-local forward references:

§1.2.3 --> §9.1 §1.3.3 --> Table 6, 7, 11 §1.4.2 --> §3.2 and §3.4 §4.2.1 --> §8.2 §4.2.3 --> §4.3.1 and §4.3.2 §4.2.4 --> §4.3.1 and §4.3.2 §5.2.2 --> §5.3.1 §6.1.2 --> §8.3

To summarize the types of forward references:

TJ-91 commented 1 year ago

We have a circular reference for the wrapped session key between ({#ecc-kyber-pkesk} and {#ecc-kyber-encryption} (5.3.1. and 5.2.4). Both say "as specified in" or "as described in" the respective other section.

I think it's not a real problem and it's easy enough to understand as it is, but we might consider to resolve such circular references.

falko-strenzke commented 1 year ago

Meeting 2023-06-05: