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

letsencrypt / boulder / 13368
66%
master: 66%

Build:
Build:
LAST BUILD BRANCH: ocsp-fail-stops-issuances
DEFAULT BRANCH: master
Ran 08 Feb 2021 08:53PM CUT
Jobs 1
Files 110
Run time 19s
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

08 Feb 2021 08:23PM CUT coverage: 65.292% (+0.003%) from 65.289%
13368

push

travis-pro

web-flow
Adding support for multiple issuers to publisher (#5272)

Publisher currently loads a PEM formatted certificate bundle from file
using LoadCertBundle a utility function in the core package.
LoadCertBundle parses the PEM file to a slice of x509.Certificates and
returns them to boulder-publisher (without checking validity). Using
these x509 Certificates, boulder-publisher to construct an ASN1Cert
bundle. This bundle is passed to each new publisher instance. When
publisher receives a request it unconditionally appends this bundle to
each end-entity precertificate for submission to CT logs.

This change augments this process to add support for multiple issuers
using the IssuerNameID concept in the Issuance package. Config field
Common.CT.CertificateBundleFilename has been replaced with the Chains
field. LoadChain, a utility function added in PR #5271, loads and
validates the chain (which nets us some added deploy-time safety) before
returning it to boulder-publisher. Using these x509 Certificates,
boulder-publisher constructs a mapping of IssuerNameID to ASN1Cert
bundle and passes this to each new publisher instance. When publisher
receives a request it determines the IssuerNameID of the precertificate
to select and append the correct ASN1Cert bundle for a given Issuer.

A followup issue #5269 has been created to address removal of the Common
field from the publisher configuration and code has been commented with
TODOs where code will need to be removed or refactored.

Fixes #1669

13394 of 20514 relevant lines covered (65.29%)

0.73 hits per line

Jobs
ID Job ID Ran Files Coverage
7 13368.7 (TESTFLAGS="--coverage" CONTAINER="netaccess") 08 Feb 2021 08:53PM CUT 0
65.29
Travis Job 13368.7
Source Files on build 13368
  • Tree
  • List 110
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
0.0
grpc/ca-wrappers.go70 30 0 30 0.0
0.0
grpc/publisher-wrappers.go53 18 0 18 0.0
0.0
cmd/boulder-wfe/main.go218 117 0 117 0.0
0.0
cmd/clock_generic.go15 3 0 3 0.0
0.0
db/transaction.go28 15 0 15 0.0
0.0
cmd/boulder-publisher/main.go128 + 1874 + 90 74 + 90.0
0.0
cmd/boulder-va/main.go185 117 0 117 0.0
0.0
cmd/boulder-sa/main.go103 68 0 68 0.0
0.0
cmd/boulder-ra/main.go267 147 0 147 0.0
0.0
grpc/ra-wrappers.go346 249 0 249 0.0
Showing 1 to 10 of 110 entries
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 11
  • Next
  • ►
    86.75
    akamai/
  • ►
    68.92
    bdns/
  • ►
    80.39
    ca/
  • ►
    100.0
    canceled/
  • ►
    43.26
    cmd/
  • ►
    69.79
    core/
  • ►
    91.23
    csr/
  • ►
    73.37
    ctpolicy/
  • ►
    74.51
    db/
  • ►
    10.0
    errors/
  • ►
    93.94
    features/
  • ►
    78.07
    goodkey/
  • ►
    30.4
    grpc/
  • ►
    100.0
    iana/
  • ►
    61.05
    issuance/
  • ►
    16.46
    lint/
  • ►
    91.0
    log/
  • ►
    69.7
    mail/
  • ►
    68.18
    metrics/
  • ►
    94.38
    nonce/
  • ►
    64.57
    ocsp/
  • ►
    62.9
    pkcs11helpers/
  • ►
    91.59
    policy/
  • ►
    54.5
    probs/
  • ►
    89.72
    publisher/
  • ►
    83.15
    ra/
  • ►
    68.82
    ratelimit/
  • ►
    89.8
    reloader/
  • ►
    77.96
    sa/
  • ►
    40.18
    test/
  • ►
    92.73
    va/
  • ►
    65.05
    web/
  • ►
    78.34
    wfe/
  • ►
    82.87
    wfe2/
  • Back to Repo
  • Travis Build #13368
  • 2efabf57 on github
  • Prev Build on main (#13366)
  • Next Build on main (#13374)
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