Commit Graph

16 Commits (master)

Author SHA1 Message Date
Mariano Cano 5d87201abc
Ignore principals validations with OIDC
This commit will ignore principals validation when an OIDC provisioner
is used. When the principals in the server does not match the principals
given the validation was failing, even if the proper principals were set
by templates or webhooks. With this change OIDC will not validate the
principals and just set the default ones (name, name@example.org) plus
the ones in the templates.

This commit also includes a change in the templates to allow to pass
a provisioner to the $(step path)/ssh/config template

Related to #807
1 year ago
max furman 8d229b9a60 update commented template names to match reality 3 years ago
max furman 507be61e8c Use a more distint map key to indicate template version
- make the key a variable that can be reused on the CLI side.
3 years ago
max furman c80a64d0e6 ssh/step_config.tpl context flag in wrong spot 3 years ago
max furman fcc15174ea Rename templates and create profileConfig dir ahead of time. 3 years ago
max furman 43cba993bb PR fixes
- Line -> PrependLine
- dont' overwrite profileDefaults
- update ssh/config.tpl to always include includes file
3 years ago
max furman 9d4a7cf9fc Update includes template to use STEPPATH as the replace var 3 years ago
max furman 74eea88343 Replace Fragment template with Line 3 years ago
max furman da74fa2eb9 Rename FullSnippet to Fragment and remove unused replace in go.mod 3 years ago
max furman b080b7582b Template updates to support multiple SSH include snippets 3 years ago
Mariano Cano aea2a7c9f3 Update sshd_config.tpl to a Match all block.
Fixes #479
3 years ago
Mariano Cano a845b56283 Remove the template path if we load the defaults. 4 years ago
Mariano Cano b583d8d658 Move default templates to the template package. 4 years ago
Ivan Bertona 9052da66a3 Fix linter, tidy go.mod file. 4 years ago
Mariano Cano 08850d5334 Add support for federated keys. 4 years ago
Mariano Cano a35988ff08 Add initial support for ssh config.
Related to smallstep/cli#170
4 years ago