Commit Graph

25 Commits (10f6a901ec98f0eb7ba101f772cc96f2694abb25)

Author SHA1 Message Date
Mariano Cano 10f6a901ec
Let the CA determine the RA lifetime
When the RA mode with StepCAS is used, let the CA decide which lifetime
the RA should get instead of requiring always 24h.

This commit also fixes linter warnings.

Related to #1094
3 months ago
max furman 8b256f0351
address linter warning for go 1.19 1 year ago
max furman 8f7fae585c
Add mockgen commands for cloudcas_test 2 years ago
max furman d4e81723ee
Updates for deprecated google cloud security APIs 2 years ago
max furman 7c5e5b2b87
Even more linter fixes 2 years ago
max furman ab0d2503ae
Standardize linting file and fix or ignore lots of linting errors 2 years ago
Mariano Cano b0d24fb801 Fix test with gcloud local credentialss 2 years ago
Mariano Cano 369b8f81c3 Use go.step.sm/crypto/kms
Fixes #975
2 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.
2 years ago
max furman 933b40a02a Introduce gocritic linter and address warnings 3 years ago
Mariano Cano ac3c754a6d Use known CA and add tier and gcs bucket options. 3 years ago
Mariano Cano 529eb4bae9 Rename CAPool to CaPool. 3 years ago
Mariano Cano 9db68db509 Add tests with cloudCAS EnableCertificateAuthority. 3 years ago
Mariano Cano 48bc4e549d Fix cloudcas tests. 3 years ago
Mariano Cano b057c6677a Use test/bufconn instead of a real listener. 4 years ago
Mariano Cano bb4f2aef2f Fix lint error. 4 years ago
Mariano Cano b275758018 Complete CloudCAS tests.
Upgrade cloud.google.com/go
4 years ago
Mariano Cano b2ae112dd2 Add initial tests for CreateCertificateAuthority. 4 years ago
Mariano Cano 2b4b902975 Add initial support for `step ca init` with cloud cas.
Fixes smallstep/cli#363
4 years ago
Mariano Cano 2654231c49 Update option property. 4 years ago
Mariano Cano 38fa780775 Add interface to get root certificate from CAS.
This change makes easier the configuration of cloudCAS as it does
not require to configure the root or intermediate certificate
in the ca.json. CloudCAS will get the root certificate using
the configured certificateAuthority.
4 years ago
Mariano Cano 884a6f5dd0 Skip test on CI. 4 years ago
Mariano Cano f2dd5c48cc Fix linting errors. 4 years ago
Mariano Cano 144ffe73dd Complete unit tests for Google CAS. 4 years ago
Mariano Cano 01e6495f43 Add most of cloudcas unit tests and minor fixes. 4 years ago