Commit Graph

42 Commits (master)

Author SHA1 Message Date
max furman 99ce13a4ea
Fix linter warnings 1 week ago
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 e351bd90dc
Run make generate with mockgen@v1.6.0 2 years 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
Mariano Cano 34f926804d
Merge pull request #954 from shuLhan/shulhan-gofmt
all: reformat all go files with the next gofmt (Go 1.19)
2 years ago
Shulhan ee53530d1f
cas/cloudcas: update test on createPublicKey for the next Go release
The next Go release call panic on elliptic.Marshal [1][2], which
affect the test case fail_ec_marshal on createPublicKey.

This changes fix this by initializing the P and B in test case
PublicKey CurveParams to prevent panic.

[1] https://github.com/golang/go/issues/50975
[2] a218b3520a
2 years ago
Shulhan fe04f93d7f
all: reformat all go files with the next gofmt (Go 1.19)
There are some changes that manually edited, for example using '-' as
default list and grouping imports.
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 35e6cc275a Fix typos in comments. 3 years ago
Mariano Cano dce1b290bd Remove debug statements. 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 072bd0dcf4 Add support for Google CAS v1 3 years ago
Mariano Cano 6fd6270e7d Remove debug statements. 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 10c2ce3071 Add missing files, mocks created using mockgen. 4 years ago
Mariano Cano b2ae112dd2 Add initial tests for CreateCertificateAuthority. 4 years ago
Mariano Cano b68344ec36 Fix unexpected error. 4 years ago
Mariano Cano dff00a0218 Add support for local signing or cloudCAS intermediates. 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 8e6d7accf8 Do not add the CRL distribution points extension.
This extension is added by CloudCAS.
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 f7d066fca8 Fix key usages. 4 years ago
Mariano Cano 01e6495f43 Add most of cloudcas unit tests and minor fixes. 4 years ago
Mariano Cano aad8f9e582 Pass issuer and signer to softCAS options.
Remove commented code and initialize CAS properly.
Minor fixes in CloudCAS.
4 years ago
Mariano Cano c8d9cb0a1d Complete cloudcas using CAS v1beta1. 4 years ago
Mariano Cano 1b1f73dec6 Early attempt to develop a CAS interface. 4 years ago