Commit graph

1085 commits

Author SHA1 Message Date
Mariano Cano
cff346e7fd Skip test on travis, it won't fail because they have access to the KMS. 2020-02-13 15:49:16 -08:00
Mariano Cano
2d4f369db2 Add options to set root and federated certificates using x509.Certificate 2020-02-12 15:36:24 -08:00
Mariano Cano
8f17a46be0 Fix formatting. 2020-02-12 12:45:07 -08:00
Mariano Cano
869ef70211
Merge pull request #172 from 256dpi/master
Added Resolver Option
2020-02-12 12:42:08 -08:00
Mariano Cano
43bd8113aa Remove unnecessary comments. 2020-02-11 14:46:18 -08:00
Mariano Cano
4eaeede77d Fix unit tests. 2020-02-11 14:05:37 -08:00
Mariano Cano
21bd339b86 Merge branch 'master' into kms 2020-02-11 13:20:35 -08:00
Max
2c747fc11f
Merge pull request #180 from ibrt/master
Support for ALPN-01 Challenge
2020-02-11 10:53:14 -08:00
Ivan Bertona
cb46a8b741 Small test fixes. 2020-02-11 09:57:28 -05:00
Ivan Bertona
10bc548c6e Remove leftover file. 2020-02-10 14:58:16 -05:00
Ivan Bertona
200cfd2433 Add test for missing TLS certificates in response. 2020-02-10 14:50:13 -05:00
Max
51b175377b
Merge pull request #182 from mkontani/fix/help-desc
Fix help command indication
2020-02-10 11:00:18 -08:00
Sebastian Tiedtke
f2b95647f3 Use date range in copyright 2020-02-10 09:55:21 -08:00
mkontani
5d208432a5 Fix help command indication 2020-02-08 20:31:49 +09:00
Ivan Bertona
157686e338 Tiny finishes. 2020-02-07 19:57:29 -05:00
Ivan Bertona
6843408d42 Reject obsolete id-pe-acmeIdentifier. 2020-02-07 19:26:18 -05:00
Ivan Bertona
6b5a2b17b5 Add challenge unmarshal test cases. 2020-02-07 15:25:27 -05:00
Ivan Bertona
b8208ec401 Add test case for failed came-tls/1 protocol negotiation. 2020-02-07 15:14:08 -05:00
Ivan Bertona
9052da66a3 Fix linter, tidy go.mod file. 2020-02-07 14:42:56 -05:00
Ivan Bertona
4b473732d9 Add support for TLS-ALPN-01 challenge. 2020-02-07 14:37:13 -05:00
Max
f8eec06563
Merge pull request #175 from Johannestegner/patch-1
Its 2020!
2020-02-04 14:38:36 -08:00
Johannes
bb30372d43
Its 2020! 2020-02-04 21:37:52 +01:00
Max
bd33799531
Merge pull request #174 from smallstep/acmeAccNotFound
Should be returning status code 400 for ACME Account Not Found.
2020-02-03 10:25:21 -08:00
max furman
c255274572 Should be returning status code 400 for ACME Account Not Found.
Issue #173
2020-02-01 17:35:41 -08:00
Joël Gähwiler
445fcbe621 added resolver 2020-02-01 13:00:39 +02:00
Mariano Cano
752bfeeccd Update cli dependency. 2020-01-30 10:59:28 -08:00
Mariano Cano
7846696fbb Fix return sign options on ssh sign. 2020-01-29 11:58:47 -08:00
Mariano Cano
cbf1053255 Merge branch 'master' into kms 2020-01-28 15:49:54 -08:00
Mariano Cano
94c02b17b5
Merge pull request #167 from smallstep/acme-commonname-2
Allow DNS names in CommonName for ACME
2020-01-28 15:39:38 -08:00
Mariano Cano
0a890a5c16 Add the commonName as a DNSName to match RFC.
Normalize names and remove the use of reflection.
2020-01-28 15:34:01 -08:00
max furman
c66b183783 Update cli dep 2020-01-28 13:37:43 -08:00
max furman
432ed0090f Use _'s in table names. 2020-01-28 13:29:40 -08:00
Mariano Cano
3fb42935b4 Update cli dependency 2020-01-28 13:29:40 -08:00
max furman
d482ae2fb5 Remove test that is no longer implemented by the method. 2020-01-28 13:29:40 -08:00
max furman
397a181d10 Add backdate validation to sshCertValidityValidator. 2020-01-28 13:29:40 -08:00
Mariano Cano
3d6a18180e Fix a couple of race conditions in the renewal of certificates. 2020-01-28 13:29:40 -08:00
max furman
df60fe3f0d Remove all references to old apiError. 2020-01-28 13:29:40 -08:00
max furman
1cb8bb3ae1 Simplify statuscoder error generators. 2020-01-28 13:29:40 -08:00
max furman
dccbdf3a90 Introduce generalized statusCoder errors and loads of ssh unit tests.
* StatusCoder api errors that have friendly user messages.
* Unit tests for SSH sign/renew/rekey/revoke across all provisioners.
2020-01-28 13:29:40 -08:00
Mariano Cano
549291c2ca Upgrade smallste/cli 2020-01-28 13:29:39 -08:00
Mariano Cano
74ff0513b8 Use release v1.19.1 of golangci-lint
See https://github.com/golangci/golangci-lint/issues/885
2020-01-28 13:29:39 -08:00
Mariano Cano
9d5b7e65e4 Upgrade golangci-lint to v1.22.2 2020-01-28 13:29:39 -08:00
Mariano Cano
895d3054a3 Remove the use of custom x509 package.
Upgrade cli dependency.
2020-01-28 13:29:39 -08:00
Mariano Cano
144acb9ee3 Remove debug statement. 2020-01-28 13:29:39 -08:00
Mariano Cano
06411d1715 Add tests of profileLimitDuration with backdate. 2020-01-28 13:29:39 -08:00
Mariano Cano
8297e5c717 Add tests for backdate and sshDefaultDuration 2020-01-28 13:29:39 -08:00
Mariano Cano
93b65bee7c Add unit test for profileDefaultDuration. 2020-01-28 13:29:39 -08:00
Mariano Cano
74b5d7f984 Add backdate support on ssh rekey. 2020-01-28 13:29:39 -08:00
Mariano Cano
84ff172093 Add support for backdate to SSH certificates. 2020-01-28 13:29:39 -08:00
Mariano Cano
a025f72af7 Disable backdata on ca tests. 2020-01-28 13:29:39 -08:00