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

Switch to mainline certmagic (closes #19) #29

Merged
merged 6 commits into from
Feb 9, 2024
Merged

Commits on Jan 24, 2024

  1. feat: initial certmagic update work

    Still a lot to do. Everywhere that `context`s are used have currently
    been passed `context.TODO()`. A logger should be passed to certmagic's
    lock cleanup function. Most importantly, though, it doesn't seem to be
    possible to map certmagic's LibDNS providers to Lego's. In the next
    commit
    I will try to see how much work it is to switch to using LibDNS instead,
     which will work natively with Certmagic. The plugin registration will
     need to change, and constructors may need to be written for each
     provider. Best-case, there should be minimal changes to the
     configuration and documentation.
    Lemmmy committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    dd12a8a View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. feat: start switching to libdns, update go

    Updates go to 1.19. It's not the latest, but was the most compatible
    version I could bump up to while requiring the least changes. quic-go
    had to be updated a few versions (again, not the latest) and required
    minor changes.
    
    This PR updates all tests to work for the certmagic changes, and they
    are now all passing, except for the plugin count test.
    
    Next up is to change all of the DNS providers in tmpim/dnsproviders to
    use libdns. Eventually each provider should just become minimal glue
    that takes `credentials ...string`, and all the environment variables
    lego supported, and returns the configured libdns provider.
    
    A temporary Cloudflare provider has been added in
    `caskettls/dnsproviders.go` to show what that would look like. The
    Cloudflare provider update already has a breaking change; legacy auth
    tokens are no longer supported.
    Lemmmy committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    d529a84 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2024

  1. feat: finish libdns migration

    The config parser now supports nesting, and all of the DNS providers
    support configuration via blocks.
    Lemmmy committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    8cd4ce9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7487e09 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

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