Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge challtestsrv package into Pebble #466

Draft
wants to merge 27 commits into
base: main
Choose a base branch
from

Commits on Dec 5, 2018

  1. Initial commit

    cpu committed Dec 5, 2018
    Configuration menu
    Copy the full SHA
    12823ae View commit details
    Browse the repository at this point in the history
  2. Initial challtestsrv package & vendored deps.

    Boulder has a nice handy [`challtestsrv` package and
    command](https://github.com/letsencrypt/boulder/tree/9e39680e3f78c410e2d780a7badfe200a31698eb/test/challtestsrv)
    used for integration tests. Its small and useful enough to live in its
    own repo. This will make it easy for Boulder's load-generator to use the
    common package and for Pebble's pebble-challtestsrv command to use it as
    well.
    
    The `challtestsrv` package is ported over from Boulder mostly-as is with
    a few small improvements. Notably:
    
    * The TLS-ALPN-01 and HTTPS HTTP-01 features were split into two
    separate binds. This helps us preserve strict TLS-ALPN-01 challenge
    responses while also supporting HTTP-01 -> HTTPS HTTP-01 redirects. (See
    letsencrypt/boulder#3962)
    * The "FAKE_DNS" env var is removed. Now there is a default IPv4 and
    a default IPv6 address that can be set via the management API. These
    default addresses are used for A/AAAA query responses when there is not
    a more specific mock.
    * Hardcoded Boulder specific mock DNS data is removed. In its place are
    new management API functions for adding/removing mock A, AAAA, and CAA
    records
    * The output is less noisy now. The DNS server no longer prints a line
    per reply.
    Daniel committed Dec 5, 2018
    Configuration menu
    Copy the full SHA
    5002395 View commit details
    Browse the repository at this point in the history
  3. go mod tidy results

    Daniel committed Dec 5, 2018
    Configuration menu
    Copy the full SHA
    ede5da4 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2018

  1. Initial challtestsrv package & vendored deps. (letsencrypt#1)

    Boulder has a nice handy [`challtestsrv` package and command][1] used for integration tests.
    It's small, stand-alone, and useful enough to live in its own repo. This will make it
    easy for Boulder's load-generator to use the common package and for Pebble's
    pebble-challtestsrv command to use it as well.
    
    The `challtestsrv` package is ported over from Boulder mostly-as is with a few
    small improvements. Notably:
    
    * The TLS-ALPN-01 and HTTPS HTTP-01 features were split into two separate binds.
      This helps us preserve strict TLS-ALPN-01 challenge responses while also supporting
      HTTP-01 -> HTTPS HTTP-01 redirects. (See letsencrypt/boulder#3962)
    * The "FAKE_DNS" env var is removed. Now there is a default IPv4 and a default
      IPv6 address that can be set via the management API. These default addresses are
      used for A/AAAA query responses when there is not a more specific mock.
    * Hardcoded Boulder specific mock DNS data is removed. In its place are new
      management API functions for adding/removing mock A, AAAA, and CAA records
    * The output is less noisy now. The DNS server no longer prints a line per reply.
    
    [1]: https://github.com/letsencrypt/boulder/tree/9e39680e3f78c410e2d780a7badfe200a31698eb/test/challtestsrv
    jsha committed Dec 6, 2018
    Configuration menu
    Copy the full SHA
    73f3082 View commit details
    Browse the repository at this point in the history
  2. Comment tweaks and delete fixes.

    Fix some style/clarity things in the comments.
    
    Also, remove the "if" guards around several delete statements. The
    delete builtin is a no-op if the field doesn't exist, so we don't need
    those guards.
    jsha committed Dec 6, 2018
    Configuration menu
    Copy the full SHA
    6d791a1 View commit details
    Browse the repository at this point in the history
  3. Merge pull request letsencrypt#2 from letsencrypt/followups

    Comment tweaks and delete fixes.
    cpu committed Dec 6, 2018
    Configuration menu
    Copy the full SHA
    495441a View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2018

  1. Track challenge server request history. (letsencrypt#3)

    Its useful for testing purposes to be able to find out what requests have been processed by the challenge test servers.
    
    For example it may be useful to see that redirects were properly followed or that CAA tree climbing resulted in the expected DNS queries.
    cpu committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    17a3d10 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2019

  1. fix: don't panic with unknown DNS question type. (letsencrypt#4)

    * fix: don't panic with unknown DNS question type.
    * fix: typos.
    * refactor: use dns.Fqdn
    ldez authored and cpu committed Jan 4, 2019
    Configuration menu
    Copy the full SHA
    37390bc View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2019

  1. Add linting, README badges, code coverage, code of conduct. (letsencr…

    …ypt#5)
    
    This PR breaks API compatibility by renaming the exported `IdPeAcmeIdentifier` field to `IDPeAcmeIdentifier`.
    
    I'll cut a new major release the next time something beyond tidying up comes along.
    cpu authored and jsha committed Feb 27, 2019
    Configuration menu
    Copy the full SHA
    618ad7c View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2019

  1. CI: use latest stable Go version (letsencrypt#6)

    cpu authored and jsha committed Mar 15, 2019
    Configuration menu
    Copy the full SHA
    26580cb View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2019

  1. Add simple support for CNAMEs as DNS aliases (letsencrypt#7)

    - supports create/read/destroy and DNS lookup of CNAME record for hosts
    - supports one level of "aliasing" by resolving CNAME in mock DNS server
    ryansouza authored and cpu committed Mar 29, 2019
    Configuration menu
    Copy the full SHA
    285efd6 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2019

  1. dns: add support for mocking SERVFAIL responses. (letsencrypt#10)

    Daniel McCarney authored and jsha committed Aug 27, 2019
    Configuration menu
    Copy the full SHA
    749354b View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2019

  1. CI: Fixes for Go 1.13 (letsencrypt#11)

    Daniel McCarney authored and jsha committed Sep 6, 2019
    Configuration menu
    Copy the full SHA
    0dd24b5 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2020

  1. ci: update golangci-lint and check go modules (letsencrypt#12)

    * chore: update golangci-lint.
    * chore: validate go modules and vendor.
    * fix: go modules files.
    * fix: vendor folder content.
    ldez committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    5b8a09a View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2021

  1. Avoid logging on a clean server shutdown. (letsencrypt#15)

    Go's ListenAndServe methods return an error with the text "Server
    close", even on a clean shutdown. We should suppress this spurious error
    so it doesn't mask more meaningful ones.
    
    Also, update to a more recent golangci-lint and exempt some lints in order
    to fix the build.
    jsha committed Oct 19, 2021
    Configuration menu
    Copy the full SHA
    ff9b44b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fdd87b4 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2021

  1. Configuration menu
    Copy the full SHA
    c35d6f4 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2022

  1. Reduce TLS support in HTTPS redirection path (letsencrypt#19)

    This allows testing Boulder's code to log when old TLS versions are
    used.
    jsha committed Mar 19, 2022
    Configuration menu
    Copy the full SHA
    9c61e5c View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. Configuration menu
    Copy the full SHA
    6b7134b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6944a39 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Configuration menu
    Copy the full SHA
    986f82c View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

  1. Move code to subdirectory

    mcpherrinm committed May 24, 2024
    Configuration menu
    Copy the full SHA
    e5e8a88 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e73ff76 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3a2c27a View commit details
    Browse the repository at this point in the history
  4. Fix linter complaints

    mcpherrinm committed May 24, 2024
    Configuration menu
    Copy the full SHA
    4f2f91a View commit details
    Browse the repository at this point in the history
  5. More linter fixes

    mcpherrinm committed May 24, 2024
    Configuration menu
    Copy the full SHA
    ed41b53 View commit details
    Browse the repository at this point in the history
  6. Use latest golangci-lint

    mcpherrinm committed May 24, 2024
    Configuration menu
    Copy the full SHA
    59e2782 View commit details
    Browse the repository at this point in the history