Commit Graph

2568 Commits (acc75bc679f3f13f6424343133559f88ba8fa868)
 

Author SHA1 Message Date
Carl Tashian acc75bc679 Add context name to startup info 3 years ago
Carl Tashian 4b9f44982d Merge branch 'master' into startup-info 3 years ago
Carl Tashian 43f2c655b9 More info on startup 3 years ago
Carl Tashian 7ebb2e4c74
Update ca/ca.go
Co-authored-by: Herman Slatman <hslatman@users.noreply.github.com>
3 years ago
Mariano Cano dc9db5fbba
Merge pull request #882 from smallstep/dep/crypto
Upgrade go.step.sm/crypto
3 years ago
Mariano Cano f5bf46b950 Upgrade go.step.sm/crypto 3 years ago
Carl Tashian 1ba1584c7a Formatted. 3 years ago
Carl Tashian a13e58e340 Update GetAuthorityInfo -> GetInfo 3 years ago
Carl Tashian 90cb6315b1 Progress. 3 years ago
Carl Tashian 055e75f394 Progress? 3 years ago
Panagiotis Siatras 00634fb648
api/render, api/log: initial implementation of the packages (#860)
* api/render: initial implementation of the package

* acme/api: refactored to support api/render

* authority/admin: refactored to support api/render

* ca: refactored to support api/render

* api: refactored to support api/render

* api/render: implemented Error

* api: refactored to support api/render.Error

* acme/api: refactored to support api/render.Error

* authority/admin: refactored to support api/render.Error

* ca: refactored to support api/render.Error

* ca: fixed broken tests

* api/render, api/log: moved error logging to this package

* acme: refactored Error so that it implements render.RenderableError

* authority/admin: refactored Error so that it implements render.RenderableError

* api/render: implemented RenderableError

* api/render: added test coverage for Error

* api/render: implemented statusCodeFromError

* api: refactored RootsPEM to work with render.Error

* acme, authority/admin: fixed pointer receiver name for consistency

* api/render, errs: moved StatusCoder & StackTracer to the render package
3 years ago
Mariano Cano abf5fc32a3 Format comment. 3 years ago
Mariano Cano b42c1dfe64
Merge pull request #879 from smallstep/feat/WithX509SignerFunc
Add authority.WithX509SignerFunc
3 years ago
Mariano Cano c480936ba4 Split comments. 3 years ago
Mariano Cano 955d4cf80d Add authority.WithX509SignerFunc
This change adds a new authority option that allows to pass a callback
that returns the certificate chain and signer used to sign X.509
certificates.

This option will be used by Caddy, they renew the intermediate
certificate weekly and there's no other way to replace it without
re-creating the embedded CA.

Fixes #874
3 years ago
Herman Slatman 49de04661b
Merge pull request #877 from smallstep/herman/update-google-kms
Update cloud.google.com/go/kms
3 years ago
Andrew Reed d5d70baba7
Add /roots.pem handler (#866)
* Add /roots.pem handler

* Review changes

* Remove no peer cert test case
3 years ago
Herman Slatman 1dbaa62740
Update cloud.google.com/go/kms 3 years ago
Mariano Cano a7959ac563
Merge pull request #871 from smallstep/fix/renewer
Attempt to fix TestBootstrapClientServerRotation
3 years ago
Panagiotis Siatras 6d4d4560df
add --context flag to step-ca command (#851)
* added the --context flag

* apply the context and allow for different ca.json

* amended usage for consistency

* added an extra example

* added an extra example

* reordered and reworded examples
3 years ago
Panagiotis Siatras e27124b037
scep: remove Interface and the dependency to pkg/errors (#872)
* scep: documented the package

* scep/api: removed some top level constants

* scep: removed dependency to pkg/errors

* scep/api: documented the package
3 years ago
Panagiotis Siatras b98f86a515
scep: minor cleanup (#867)
* api, scep: removed scep.Error

* scep/api: replaced nextHTTP with http.HandlerFunc

* scep/api: renamed writeSCEPResponse to writeResponse

* scep/api: renamed decodeSCEPRequest to decodeRequest

* scep/api: renamed writeError to fail

* scep/api: replaced pkg/errors with errors

* scep/api: formatted imports

* scep/api: do not export SCEPRequest & SCEPResponse

* scep/api: do not export Handler

* api: flush errors better
3 years ago
Mariano Cano ba0b170818 Attempt to fix TestBootstrapClientServerRotation
This change attempts to fix the test TestBootstrapClientServerRotation.
Due to the backdate, the renew options get too large, causing
continuous renewals, and random errors. After experimenting with
different options, truncating durations to seconds have shown better
results than rounding or just use the plain time.
3 years ago
Mariano Cano 082734474b
Merge pull request #845 from vijayjt/azure-user-mi-token
WIP: Support Azure tokens generated by managed identities
3 years ago
Mariano Cano f3bade4547
Merge pull request #861 from smallstep/go/1.18
Change go version to 1.17 and 1.18
3 years ago
Herman Slatman 63acb47704
Merge pull request #870 from smallstep/armv5
Add armv5 build for (cloud|aws)kms
3 years ago
Herman Slatman 904d6712f5
Add armv5 build for (cloud|aws)kms 3 years ago
Herman Slatman afca57958b
Merge pull request #869 from smallstep/armv5
Add armv5 build to GoReleaser configuration
3 years ago
Herman Slatman 907bdd686b
Add armv5 build to GoReleaser configuration 3 years ago
Carl Tashian ef9e31cd92 Merge branch 'startup-info' of https://github.com/smallstep/certificates into startup-info 3 years ago
Carl Tashian f20784be56 format 3 years ago
Carl Tashian 25cc9a1728
Update authority/authority.go
Co-authored-by: Herman Slatman <hslatman@users.noreply.github.com>
3 years ago
Panagiotis Siatras 80abda22ee
api/log: initial implementation of the package (#859)
* api/log: initial implementation of the package

* api: refactored to support api/log

* scep/api: refactored to support api/log

* api/log: documented the package

* api: moved log-related tests to api/log
3 years ago
Carl Tashian 91be50cf70 Add --quiet flag 3 years ago
Mariano Cano f1d586bc6d Change golang to Go 3 years ago
vijayjt 24a963766e Pass in the resource name regardless of if its a VM or managed identity 3 years ago
Carl Tashian 91a25b52bd Print discord 3 years ago
Carl Tashian baf3c40fef Print some basic configuration info on startup 3 years ago
Mariano Cano ad8a813abe Fix linter errors 3 years ago
Mariano Cano 390054b22e Change go version to 1.17 and 1.18 3 years ago
Panagiotis Siatras 823170ef57
Merge pull request #858 from smallstep/panos/api/read
api/read: initial implementation of the package
3 years ago
Panagiotis Siatras e6b2359273
ca: fixed import statement order 3 years ago
Panagiotis Siatras df89ed5acb
api: moved read-related tests to api/read 3 years ago
Panagiotis Siatras 9ba33bab4e
ca: refactored to use the read package 3 years ago
Panagiotis Siatras 4fb38afc57
authority/admin/api: refactored to use the read package 3 years ago
Panagiotis Siatras 29092b9d8a
api: refactored to use the read package 3 years ago
Panagiotis Siatras 7fb8acda27
api/read: initial implementation of the package 3 years ago
Mariano Cano 12000359ad
Merge pull request #849 from smallstep/feat/renewAfterExpiry
Renew After Expiry
3 years ago
Herman Slatman 7a13661e4c
Merge pull request #846 from smallstep/herman/scep-url-config
Add configuration for custom path segment on SCEP provisioners
3 years ago
Herman Slatman dcbcd88a62
Add changelog item for dynamic SCEP CA URL paths 3 years ago