• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AxisCommunications / go-dpop / 11914554422
89%

Build:
DEFAULT BRANCH: main
Ran 19 Nov 2024 01:56PM UTC
Jobs 1
Files 4
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Nov 2024 01:55PM UTC coverage: 87.786% (-0.3%) from 88.123%
11914554422

push

github

web-flow
feat: separate future and expired checks (#18)

As the RFC says that proofs signed in the future MAY be accepted, the default behavior should then be that a proof signed in the future should NOT be accepted. [See section 11.1-4](https://datatracker.ietf.org/doc/html/rfc9449#section-11.1-4)

This PR adds a new default value for allowed proof age, `DEFAULT_ALLOWED_PROOF_AGE`, that is set to a more generous 5 minutes. It also changes the existing default time window into the future to 0 seconds.

Now if a `TimeWindow` is not set in the `ParseOptions`, future proofs will all be rejected. The functionality to control how long a proof is allowed to live is controlled by the new parse option `AllowedProofAge`.

4 of 5 new or added lines in 1 file covered. (80.0%)

230 of 262 relevant lines covered (87.79%)

0.96 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
84.36
-0.47% parse.go
Jobs
ID Job ID Ran Files Coverage
1 11914554422.1 19 Nov 2024 01:56PM UTC 4
87.79
GitHub Action Run
Source Files on build 11914554422
  • List 4
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9db9bdb6 on github
  • Prev Build on main (#10680552104)
  • Next Build on main (#11951394006)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc