Commit graph

2316 commits

Author SHA1 Message Date
max furman
b080b7582b Template updates to support multiple SSH include snippets 2021-11-16 21:47:14 -08:00
max furman
d777fc23c2 Add ca.WithInsecure and use methods for file names 2021-11-16 21:47:14 -08:00
max furman
e5951fd84c Use methods in the step package
* rather than variables set at execution time, which may not match the
actual current context
2021-11-16 21:47:14 -08:00
max furman
ed4b56732e updates after rebase to keep up with master 2021-11-16 21:47:14 -08:00
max furman
7eeebca529 Enable step path contexts in identity and pki paths 2021-11-16 21:47:14 -08:00
max furman
10db335f13 mv pkg config -> step 2021-11-16 21:47:14 -08:00
max furman
741ac64c61 change name of package cli-utils/config to cli-utils/step 2021-11-16 21:47:14 -08:00
Herman Slatman
2c05f488f6
Remove support for Go 1.15 2021-11-13 01:43:03 +01:00
Herman Slatman
e7a988b2cd
Pin golangci-lint to v1.43.0 and fix issues 2021-11-13 01:30:03 +01:00
Gary Belvin
bbb327c8c5 Make a csr if there's not a root 2021-11-12 14:24:26 -05:00
Gary Belvin
29f5a35965 simplify flags 2021-11-12 14:23:38 -05:00
Herman Slatman
29f9730485
Satisfy golangci-lint 2021-11-12 17:13:10 +01:00
Herman Slatman
42f56d6906
Set golangci-lint version to v1.41.0 instead of latest
Checking if this solves the issue with new linting issues that,
at least locally, seem to have been introduced between v1.41.0
and latest (v1.43.0).
2021-11-12 17:05:18 +01:00
Herman Slatman
023c64c5d6
Merge branch 'master' into hs/acme-revocation 2021-11-12 16:42:58 +01:00
Herman Slatman
c7a9c13060
Add tests for extractOrLookupJWK middleware 2021-11-12 16:37:44 +01:00
Mariano Cano
62a20c7db5 Upgrade cli-utils with latest version of promptui 2021-11-01 10:08:48 -07:00
Herman Slatman
3151255a25
Merge branch 'master' into hs/acme-revocation 2021-10-30 15:41:29 +02:00
Mariano Cano
24a6900de2
Merge pull request #613 from gdbelvin/extractable
Extractable private keys and certs
2021-10-29 15:44:41 -07:00
Mariano Cano
91fb57e8aa Add entry to changelog. 2021-10-29 15:09:53 -07:00
Mariano Cano
7ec1424cb6 Fix help. 2021-10-29 14:47:57 -07:00
Mariano Cano
8366b7ddf1 Revert "Remove extractable from StoreCertificate."
This reverts commit 614ee79489.
2021-10-29 14:45:10 -07:00
Mariano Cano
614ee79489 Remove extractable from StoreCertificate. 2021-10-29 12:02:24 -07:00
Mariano Cano
fa11e82b67 Add tests with extractable property. 2021-10-28 19:45:19 -07:00
Mariano Cano
886b9a1d8d Store the certificate passed. 2021-10-28 18:16:16 -07:00
Mariano Cano
aa80bf9f07 Merge branch 'smallstep_master' into extractable 2021-10-28 18:11:42 -07:00
Mariano Cano
6be383da34 Refactor pkcs#11 extractable certs and keys. 2021-10-28 18:04:11 -07:00
Mariano Cano
d68090ebce
Merge pull request #729 from smallstep/funcmap
Use the common method for template functions
2021-10-28 15:34:43 -07:00
Mariano Cano
cb4a2a5f9a Use the same method to return the templating functions. 2021-10-27 16:11:47 -07:00
Mariano Cano
cf4944ea8e
Merge pull request #728 from smallstep/env
Remove "env" and "expandenv"
2021-10-27 14:04:49 -07:00
Mariano Cano
9958e0645f Replace promptui with apache-compatible fork.
Promptui depends on github.com/juju/ansiterm that is licensed under
LGPL. The fork replaces ansiterm.TabWriter with the one in the
standard library.
2021-10-27 12:38:16 -07:00
Mariano Cano
0f63d43a91 Remove sprig "env" and "expandenv" functions. 2021-10-27 11:51:37 -07:00
Mariano Cano
0927e0d22a Upgrade go.step.sm/crypto dependency
The new version removes "env" and "expandenv" sprig functions.
2021-10-27 11:48:29 -07:00
Mariano Cano
b7d4b48316
Merge pull request #724 from smallstep/sign-with-retry
Azure sign with retry
2021-10-26 18:01:40 -07:00
Mariano Cano
bef50bd7d9 Fix typo in variable name. 2021-10-26 17:57:59 -07:00
Mariano Cano
ead394fba7 Add strategy to retry the sign operation if the key is not yet ready 2021-10-20 18:09:50 -07:00
Carl Tashian
66a8158f26
Update README.md 2021-10-20 15:53:04 -07:00
max furman
da3c6af10f changelog update 2021-10-20 14:31:33 -07:00
max furman
5c71e8a0ee [action] replace goreleaser complicated build targets with 'targets' 2021-10-20 14:10:40 -07:00
max furman
12b32b0a90 Changelog update for v0.17.5 2021-10-20 13:41:26 -07:00
Carl Tashian
6f16938774
Update README.md
* Add SCEP support
* Fix ACME tutorial URLs
2021-10-19 16:53:41 -07:00
Carl Tashian
655d7f59fd install-step-ra.sh: Properly quote the RA DNS names in ca.json 2021-10-19 16:14:41 -07:00
Carl Tashian
482482e717 install-step-ra.sh: Don't try to create a JWK provisioner, because the web app's OAuth flow doesn't support OOB with STEP_CONSOLE=true. 2021-10-19 15:22:30 -07:00
Mariano Cano
48efd94994
Merge pull request #723 from smallstep/keep-alive
Use Golang's default keepalive.
2021-10-15 14:31:52 -07:00
Mariano Cano
36b622bfc2 Use Golang's default keep-alive.
Since Go 1.13 a net.Listen keep-alive is enabled by default if
the protocol and OS supports it. The new one is 15s to match
the net.Dial default one. Previously http.Server ListenAndServe
and ListenAndServeTLS used to add a wrapper with 3m that we
replicated.

See https://github.com/golang/go/issues/31510
2021-10-15 14:12:43 -07:00
Mariano Cano
59d8d805d5
Merge pull request #722 from smallstep/keyvault-api
Allow to configure azurekms using the URI
2021-10-13 13:09:11 -07:00
Mariano Cano
edd475b81b Allow to configure azurekms using the URI
With an URI, azurekms can be configured with client credentials,
and it can define a default vault and protection level.
2021-10-12 18:24:58 -07:00
Max
710f76cb00
Merge pull request #721 from smallstep/max/simplify-releases
[action] Simplify goreleaser targets
2021-10-12 19:43:06 -04:00
max furman
9f8ffcf196 [action] remove windows_amd64, add freebsd_amd64 2021-10-12 16:40:24 -07:00
Mariano Cano
e3220232a0
Merge pull request #717 from smallstep/keyvault
Azure Key Vault KMS
2021-10-12 15:58:32 -07:00
max furman
02d601861b [action] Simply goreleaser targets 2021-10-12 15:44:04 -07:00