Giter VIP home page Giter VIP logo

Comments (8)

xenolf avatar xenolf commented on May 18, 2024

Yes... I also do not feel too good with all these dependencies directly in the acme package.

My thought was that I first wanted to get the feature stable and then do a clean up to structure it in a way I feel comfortable with.

As we progress on DNS-01 I think it is a good time to start thinking about this.

from lego.

xenolf avatar xenolf commented on May 18, 2024

That being said... I am in favor of packages per DNS provider and just having the manual provider in the acme package itself as it does not add a dependency but allows for completion of the challenge.

from lego.

mholt avatar mholt commented on May 18, 2024

I actually got an email from someone packaging Caddy for Debian and since Caddy uses the acme package, and mitchellh/goamz was one of them that was questioned as why it was being used. Also the miekg/dns package is cool but it's huuuge.

+1 to refactoring.

from lego.

jehiah avatar jehiah commented on May 18, 2024

related to dependencies, was there a specific motivation for using mitchellh/goamz over https://github.com/aws/aws-sdk-go?

from lego.

xenolf avatar xenolf commented on May 18, 2024

ping @janeczku

from lego.

janeczku avatar janeczku commented on May 18, 2024

+1 to the refactoring

related to dependencies, was there a specific motivation for using mitchellh/goamz over https://github.com/aws/aws-sdk-go?

Mostly that it seemed overkill to import such a huge library for basically just a single API method:

awsvsgoamz

from lego.

xenolf avatar xenolf commented on May 18, 2024

@jehiah #144 was merged and it removed most of the dependencies from the ACME package.
The dependency tree looks like this now:

github.com/miekg/dns
github.com/square/go-jose
github.com/square/go-jose/cipher
golang.org/x/crypto/ocsp
golang.org/x/net/publicsuffix

We could not get rid of the github.com/miekg/dns dependency for the time being as it is needed to do the DNS checks for the validation records and I was unable to find a proper solution to move this check out of the challenge itself.

from lego.

jehiah avatar jehiah commented on May 18, 2024

@xenolf this is fantastic. I think that resolves this issue!

from lego.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.