Commit graph

52 commits

Author SHA1 Message Date
Mariano Cano
e15b5faf7d Merge branch 'master' into keyvault 2021-10-12 15:15:35 -07:00
Mariano Cano
5d0bd7d155 Fix grammar in comments. 2021-10-12 15:14:01 -07:00
Mariano Cano
781d5fb6e8 Fix creation of ssh certificates on step ca init. 2021-10-08 14:25:24 -07:00
max furman
933b40a02a Introduce gocritic linter and address warnings 2021-10-08 14:59:57 -04:00
Mariano Cano
ece67fefff Add support for kms in pki package.
Adding support to kms in the pki packages opens the door to use
kms implementations in `step ca init`
2021-10-07 17:28:39 -07:00
Mariano Cano
4fde7b5250 Use badgerv2 the default in helm too.
Use also port 443 for the ca-url, as we usually access through the
service, this can be overridden by --with-ca-url flag in the cli.
2021-09-17 12:49:16 -07:00
Mariano Cano
8cb62b6d67 Fix ssh in helm chart values. 2021-08-26 10:20:16 -07:00
Mariano Cano
516b74f43a Add comment about unused code. 2021-08-23 15:33:16 -07:00
Mariano Cano
ff25f4974f Fix comment. 2021-08-23 15:29:18 -07:00
Mariano Cano
b1f59586ab Update message to align with UI. 2021-08-13 11:59:12 -07:00
Mariano Cano
66f6c73655 Update badger driver to use v2 by default. 2021-08-11 11:19:29 -07:00
Mariano Cano
072ba4227c Add deployment type to config.
This field is ignored except for the start of the ca. If the type
is linked and the token is not passed, it will fail with an error.
2021-08-10 17:07:15 -07:00
Mariano Cano
56bb3eb6e1 Add next steps for linked ca. 2021-08-10 14:54:31 -07:00
Mariano Cano
47a30f1524 Add JWK provisioner to generic config.
Fix linter errors.
2021-08-06 14:58:03 -07:00
Mariano Cano
640f523150 Remove unused function. 2021-08-06 14:31:49 -07:00
Mariano Cano
81004ce1f9 Remove deprecated functions. 2021-08-05 17:36:18 -07:00
Mariano Cano
79cf059447 Remove deprecated methods and write all pki files at once. 2021-08-05 15:57:13 -07:00
Mariano Cano
ad4dbd6764 Write all files on save. 2021-08-05 12:58:54 -07:00
Mariano Cano
50f7a0d0c0 Work in progress implementation of PKI with helm support 2021-08-04 20:15:26 -07:00
Mariano Cano
721459210e Make pki initialization more flexible. 2021-08-02 16:07:30 -07:00
max furman
7b5d6968a5 first commit 2021-05-19 15:20:16 -07:00
Mariano Cano
9270d432ea Remove unused code. 2020-11-03 12:44:54 -08:00
Mariano Cano
1d48f00723 Add method to create a CertificateAuthorityResponse. 2020-11-03 12:44:54 -08:00
Mariano Cano
2b4b902975 Add initial support for step ca init with cloud cas.
Fixes smallstep/cli#363
2020-11-03 12:44:28 -08:00
Mariano Cano
40d0596b71 Use smallstep/cli-utils instead of smallstep/cli 2020-10-29 13:10:03 -07:00
Mariano Cano
d46990d4c4 Add support for step ca init with a RA. 2020-10-19 18:42:03 -07:00
Mariano Cano
6a7b564ef9 Unify indent type.
This change changes the indentation used by `step ca init` to be
consistent with Config.Save used by `step ca provisioner *`.
2020-10-13 18:53:45 -07:00
Carl Tashian
fd07e25e61 Change Gitter links to GH Discussions tab 2020-09-23 16:36:37 -07:00
Mariano Cano
c94a1c51be Merge branch 'master' into ssh-cert-templates 2020-08-24 15:08:28 -07:00
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.
2020-08-24 14:44:11 -07:00
Mariano Cano
d30a95236d Use always go.step.sm/crypto 2020-08-14 15:33:50 -07:00
Mariano Cano
8c2d5425e7 Use new x509util on pki package. 2020-08-10 19:05:27 -07:00
Mariano Cano
4943ae58d8 Move TLSOption, TLSVersion, CipherSuites and ASN1DN to certificates. 2020-08-10 15:29:18 -07:00
max furman
3fb116f1b4 Add SSHPOP default provisioner if SSH enabled during init 2020-07-31 11:05:26 -07:00
Mariano Cano
b583d8d658 Move default templates to the template package. 2020-06-16 17:24:47 -07:00
John W Higgins
d1f78cf6d2 Add root fingerprint to pki if certificate given
If a root certificate is provided to init an authority the fingerprint
is not currently stored in the default.json file. This patch simply
stores the fingerprint of the supplied certificate.
2020-04-23 13:47:41 -07:00
Mariano Cano
02ed784a9b Do not enable by default ForwardAgent. 2020-04-15 11:17:24 -07:00
Mariano Cano
05cda81215 Add quotes in configuration paths. 2020-01-28 13:29:39 -08:00
Mariano Cano
f469a6bb38 Update templates. 2020-01-28 13:29:39 -08:00
Mariano Cano
d4071108e1 Update templates. 2020-01-28 13:29:39 -08:00
Mariano Cano
710f4252ee Remove registry urls from templates. 2020-01-28 13:28:16 -08:00
Mariano Cano
5c24ca81f4 Allow to set the ssh user, and registry username and password. 2020-01-28 13:28:16 -08:00
Mariano Cano
b4f02a04e1 Make templates public. 2020-01-28 13:28:16 -08:00
Mariano Cano
b8817ad648 Add proxycommand and new lines to templates. 2020-01-28 13:28:16 -08:00
Mariano Cano
e0bfbc4b62 Fix known_host path. 2020-01-28 13:28:16 -08:00
Mariano Cano
08850d5334 Add support for federated keys. 2020-01-28 13:28:16 -08:00
Mariano Cano
1b0d05097b Add Write method to templates.Output. 2020-01-28 13:28:16 -08:00
Mariano Cano
b792d5c07d Add first version of ssh templates. 2020-01-28 13:28:16 -08:00
Mariano Cano
019f679189 Create templates path, and remove unnecessary arguments. 2020-01-28 13:28:16 -08:00
max furman
4cae3bb37c Add ca to ssh PKI names for clarity 2019-11-05 16:20:29 -08:00