Herman Slatman
c1424036bf
Merge branch 'master' into herman/allow-deny
3 years ago
Herman Slatman
4a0cfd24e5
Merge pull request #797 from smallstep/herman/scep-macos-renewal-fixes
...
Fix macOS SCEP client issues
3 years ago
Herman Slatman
c7c5c3c94e
Merge branch 'master' into herman/scep-macos-renewal-fixes
3 years ago
Herman Slatman
c57dfeec2d
Merge pull request #650 from hslatman/hs/acme-eab
...
ACME External Account Binding
3 years ago
Herman Slatman
bf21319e76
Fix PR comments and issue with empty string slices
3 years ago
Mariano Cano
09a9b3e1c8
Upgrade go.step.sm/crypto
3 years ago
Herman Slatman
5f42ae0bce
Remove unused function LoadProvisionerByID from SCEP
3 years ago
Herman Slatman
9617edf0c2
Improve internationalized domain name handling
...
This PR improves internationalized domain name handling according
to rules of IDNA and based on the description in RFC 5280, section 7:
https://datatracker.ietf.org/doc/html/rfc5280#section-7 .
Support for internationalized URI(s), so-called IRIs, still needs to
be done.
3 years ago
Ahmet DEMIR
782ff76963
fix: apply suggestion to use cr only
3 years ago
Ahmet DEMIR
b49ac2501b
feat: enhance options and fix revoke plus more tests
3 years ago
Ahmet DEMIR
8ef3abf6d9
fix: minus d on Ed
3 years ago
Herman Slatman
512b8d6730
Refactor instantiation of policy engines
...
Instead of using the `base` struct, the x509 and SSH policy
engines are now added to each provisioner directly.
3 years ago
Herman Slatman
066bf32086
Fix part of PR comments
3 years ago
Herman Slatman
fd9845e9c7
Add cursor and limit to ACME EAB DB interface
3 years ago
Herman Slatman
ad041d6bb7
Fix deprecation of grpc.WithInsecure option
...
With the update of go.step.sm/linkedca grpc.WithInsecure was
deprecated. This commit fixes this by setting up the (insecure)
connection using the new method.
3 years ago
Herman Slatman
3b72d241e0
Add LinkedCA integration for improved SCEP provisioner
3 years ago
Herman Slatman
c3f2fd8ef0
Add RW locks to prevent concurrent updates to the DB
...
Although this may slow certain API calls down and may not be, strictly
necessary, I think it's best to put all the ACME EAB operations behind
RW locks to prevent concurrent updates to the DB and guarantee
consistent result sets.
3 years ago
Herman Slatman
868cc4ad7f
Increase test coverage for additional indexes
3 years ago
Herman Slatman
8838961b68
Merge branch 'master' into hs/acme-eab
3 years ago
Herman Slatman
c0eb420806
Remove special case for empty slices
3 years ago
Ahmet DEMIR
d957a57e24
fix: apply mariano suggestions and fixes
...
* use json.RawMessage to remote mapstructure in options
* use vault secretid structure to support multiple source aka string, file and env
* remove log prefix
* return raw cert on error on newline for cert and csr
* clean sans, commonName in createCertificate (bad copy/paste from StepCAS)
* verify authority fingerprint
* convert serial on revoke to bigint, bytes and vault dashed representation
3 years ago
Herman Slatman
716b946e7a
Normalize IPv6 hostname addresses
3 years ago
Herman Slatman
64680bb16d
Fix PR comments
3 years ago
Carl Tashian
262375577a
Merge pull request #794 from smallstep/create-db-folder
...
Create the db directory on step ca init
3 years ago
Herman Slatman
3612eefc31
Cleanup
3 years ago
Herman Slatman
ff08b5055e
Fix linting issues
3 years ago
Herman Slatman
6440870a80
Clean up, improve test cases and coverage
3 years ago
Herman Slatman
1e808b61e5
Merge logic for X509 and SSH policy
3 years ago
Herman Slatman
6bc301339f
Improve test case and code coverage
3 years ago
Ahmet DEMIR
16390694e1
feat(vault): adding hashicorp vault cas
3 years ago
Herman Slatman
91d51c2b88
Add allow/deny to Nebula provisioner
3 years ago
Herman Slatman
d9c56d67cc
Merge branch 'master' into herman/allow-deny
3 years ago
Herman Slatman
9c6580ccd2
Fix macOS SCEP client issues
...
Fixes #746
3 years ago
Ahmet DEMIR
26d7b70957
feat(cas): add generic Config parameter to allow more flexible configuration on CAS
3 years ago
Ahmet DEMIR
68b980d689
feat(authority): avoid hardcoded cn in authority csr
3 years ago
Herman Slatman
988efc8cd4
Merge pull request #792 from smallstep/herman/improve-template-errors
...
Improve errors related to template execution failures
3 years ago
Carl Tashian
9848caf49f
Create the db directory on step ca init
3 years ago
Herman Slatman
50c3bce98d
Change if/if to if/else-if when checking the type of JSON error
3 years ago
max furman
4afcdd55ff
Update doc line on WithSSHGetHosts
3 years ago
Herman Slatman
a3cf6bac36
Add special handling for *json.UnmarshalTypeError
3 years ago
Herman Slatman
0475a4d26f
Refactor extraction of JSON template syntax errors
3 years ago
Mariano Cano
57f9e54151
Merge pull request #785 from smallstep/nebulous
...
Add initial implementation of a nebula provisioner
3 years ago
Herman Slatman
a5455d3572
Improve errors related to template execution failures (slightly)
3 years ago
Mariano Cano
de549adf2d
Do not add extra new lines when creating nebula provisioners
3 years ago
Mariano Cano
0920224816
Fix error message.
3 years ago
Herman Slatman
ef16febf40
Refactor ACME EAB queries
...
The ACME EAB keys are now also indexed by the provisioner. This
solves part of the issue in which too many EAB keys may be in
memory at a given time.
3 years ago
Mariano Cano
01a76445ea
Upgrade go.step.sm/crypto
3 years ago
Mariano Cano
98044cf08d
Use a tagged version of linkedca
3 years ago
Mariano Cano
449a9fdfd6
Address review comments.
3 years ago
Mariano Cano
b424aa3dc1
Add nebula header and use der version of certificate.
3 years ago