lego v0.3.0 Release Notes

Release Date: 2016-03-19 // about 8 years ago
  • โž• Added:

    • ๐Ÿ‘ CLI: The --dns switch. To include the DNS challenge for consideration. When using this switch, all other solvers are disabled. Supported are the following solvers: cloudflare, digitalocean, dnsimple, dyn, gandi, googlecloud, namecheap, route53, rfc2136 and manual.
    • CLI: The --accept-tos switch. Indicates your acceptance of the Let's Encrypt terms of service without prompting you.
    • CLI: The --webroot switch. The HTTP-01 challenge may now be completed by dropping a file into a webroot. When using this switch, all other solvers are disabled.
    • ๐Ÿ‘ CLI: The --key-type switch. This replaces the --rsa-key-size switch and supports the following key types: EC256, EC384, RSA2048, RSA4096 and RSA8192.
    • CLI: The --dnshelp switch. This displays a more in-depth help topic for DNS solvers.
    • CLI: The --no-bundle sub switch for the run and renew commands. When this switch is set, the CLI will not bundle the issuer certificate with your certificate.
    • lib: A new type for challenge identifiers Challenge
    • lib: A new interface for custom challenge providers acme.ChallengeProvider
    • lib: A new interface for DNS-01 providers to allow for custom timeouts for the validation function acme.ChallengeProviderTimeout
    • 0๏ธโƒฃ lib: SetChallengeProvider function. Pass a challenge identifier and a Provider to replace the default behaviour of a challenge.
    • lib: The DNS-01 challenge has been implemented with modular solvers using the ChallengeProvider interface. Included solvers are: cloudflare, digitalocean, dnsimple, gandi, namecheap, route53, rfc2136 and manual.
    • ๐Ÿ”ง lib: The acme.KeyType type was added and is used for the configuration of crypto parameters for RSA and EC keys. Valid KeyTypes are: EC256, EC384, RSA2048, RSA4096 and RSA8192.

    ๐Ÿ”„ Changed

    • lib: ExcludeChallenges now expects to be passed an array of Challenge types.
    • ๐Ÿ‘ lib: HTTP-01 now supports custom solvers using the ChallengeProvider interface.
    • ๐Ÿ‘ lib: TLS-SNI-01 now supports custom solvers using the ChallengeProvider interface.
    • lib: The GetPrivateKey function in the acme.User interface is now expected to return a crypto.PrivateKey instead of an rsa.PrivateKey for EC compat.
    • lib: The acme.NewClient function now expects an acme.KeyType instead of the keyBits parameter.

    โœ‚ Removed

    • ๐Ÿšš CLI: The rsa-key-size switch was removed in favor of key-type to support EC keys.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  lib: Fixed a race condition in HTTP-01
    • ๐Ÿ›  lib: Fixed an issue where status codes on ACME challenge responses could lead to no action being taken.
    • ๐Ÿ›  lib: Fixed a regression when calling the Renew function with a SAN certificate.