Commit Graph

29 Commits (2ab7dc6f9d2278fabc926404b0f9781f9284d323)

Author SHA1 Message Date
Mariano Cano 2ab7dc6f9d Fix acme tests. 2 years ago
Herman Slatman 479c6d2bf5
Fix ACME IPv6 HTTP-01 challenges
Fixes #890
2 years ago
Herman Slatman e7a988b2cd
Pin golangci-lint to v1.43.0 and fix issues 3 years ago
max furman 933b40a02a Introduce gocritic linter and address warnings 3 years ago
Mariano Cano ae58a0ee4e Make tests compatible with Go 1.17.
With Go 1.17 tls.Dial will fail if the client and server configured
protocols do not overlap. See https://golang.org/doc/go1.17#ALPN
3 years ago
Herman Slatman 64c15fde7e
Add tests for canonicalize function 3 years ago
Herman Slatman c514a187b2
Fix Fail() -_-b 3 years ago
Herman Slatman 135e912ac8
Improve coverage for TLS-ALPN-01 challenge 3 years ago
Herman Slatman af4803b8b8
Fix tests 3 years ago
max furman 440678cb62 Add markInvalid arg to storeError for invalidating challenge 3 years ago
max furman b6ebc0fd25 more unit tests 3 years ago
max furman a58466589f add tls-alpn-01 validate unit tests 3 years ago
max furman a8e4bbf715 start Validate unit tests 3 years ago
max furman 1fb0f1d7d9 add storeError unit tests 3 years ago
max furman 8b4a5a6d8b add unit tests for dns01 validate 3 years ago
max furman 3612a0b990 gethttp01 validate unit tests working 3 years ago
max furman bb8d54e596 [acme db interface] unit tests compiling 3 years ago
max furman 20f8d950c4 Fix broken ValidateChallenge test 4 years ago
Mariano Cano ba918100d0 Use go.step.sm/crypto/jose
Replace use of github.com/smallstep/cli/crypto with the new package
go.step.sm/crypto/jose.
4 years ago
max furman e1409349f3 Allow relative URL for all links in ACME api ...
* Pass the request context all the way down the ACME stack.
* Save baseURL in context and use when generating ACME urls.
4 years ago
Ivan Bertona cb46a8b741 Small test fixes. 4 years ago
Ivan Bertona 200cfd2433 Add test for missing TLS certificates in response. 4 years ago
Ivan Bertona 157686e338 Tiny finishes. 4 years ago
Ivan Bertona 6843408d42 Reject obsolete id-pe-acmeIdentifier. 4 years ago
Ivan Bertona 6b5a2b17b5 Add challenge unmarshal test cases. 4 years ago
Ivan Bertona b8208ec401 Add test case for failed came-tls/1 protocol negotiation. 4 years ago
Ivan Bertona 4b473732d9 Add support for TLS-ALPN-01 challenge. 4 years ago
Oleksandr Kovalchuk ec8ff0bced
Add testcase which ensures we pass correct domain to lookupTxt
Make sure we do not pass domains with asterisk (wildcard) in the middle,
like _acme-challenge.*.example.com to lookupTxt function, but preprocess
domain and remove leading wildcard so we lookup for
_acme-challenge.example.com.
5 years ago
max furman e3826dd1c3 Add ACME CA capabilities 5 years ago