Skip to content

Keep the tolerance reasoning out of the package - #115

Merged
Automation51D merged 1 commit into
mainfrom
docs/51did-tolerance-reasoning
Aug 30, 2026
Merged

Keep the tolerance reasoning out of the package#115
Automation51D merged 1 commit into
mainfrom
docs/51did-tolerance-reasoning

Conversation

@jwrosewell

Copy link
Copy Markdown
Contributor

The javadoc above BOUNDARY_TOLERANCE explained what the allowance is
for and what a key belonging to its own period protects against. The
figure itself cannot be hidden in a public repository, so the
explanation is what turned a duration into a described security
parameter. The constant and its value stay, without a comment, because
the name says what it is.

The candidatesFor javadoc keeps the sentence naming which entries are
tried and loses the one spelling out that accepting any earlier entry
would let one leaked period of key material sign something dated later.
It now says the rule is not one to relax here because the cloud applies
the same one, which stops a maintainer widening it without describing
the attack to a reader.

The verifySignatureDetailed javadoc is unchanged, because it names the
behaviour rather than the purpose.

The other five 51Did packages had the same change made before their
pull requests merged. This one arrives separately because pull request
113 merged at the previous commit while the change was being made.

No behaviour, no value and no test changed. Module suite 99 with 2
skipped, and the Java 8 signature check passes.

Produced with AI assistance under James Rosewell's direction and needs
human review before merge.

The javadoc above BOUNDARY_TOLERANCE explained what the allowance is for
and what a key belonging to its own period protects against. The figure
itself cannot be hidden in a public repository, so the explanation is
what turned a duration into a described security parameter. The constant
and its value stay, without a comment, because the name says what it is.

The candidatesFor javadoc kept the sentence naming which entries are
tried and lost the one spelling out that accepting any earlier entry
would let one leaked period of key material sign something dated later.
It now says the rule is not one to relax here because the cloud applies
the same one, which stops a maintainer widening it without describing
the attack to a reader.

The verifySignatureDetailed javadoc is unchanged, because it names the
behaviour rather than the purpose. No behaviour, no value and no test
changed. Module suite 99 with 2 skipped, Java 8 signature check passing.
@Automation51D
Automation51D merged commit 7af794e into main Aug 30, 2026
1 check passed
@Automation51D
Automation51D deleted the docs/51did-tolerance-reasoning branch August 30, 2026 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants