open-vault/helper
Alexander Scheel daf29de742
Add pki zlint tests (#17305)
* Add tests for zlint-clean CA building

This test ensures that we can consistently pass ZLint's CA linting
tests on a root certificate generated by Vault. In particular, nominal
requirements are placed on the structure on the issuer's Subject, which
we supply, and the remaining requirements pass.

The one exception is we include both RFC and CA/BF BR lints in the
default zlint checks; this means ECDSA P-521 (which isn't accepted by
Mozilla's root store policies) is rejected, so we ignore to lints
related to that.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add options to copy to/from container, fix stopping

Stopping the container takes a bit of time for some unknown reason so
I've instead opted to shorten the sleep in the zlint tests to avoid
consuming resources too long after the test finish.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Make zlint tests execute in parallel

This improves the overall test time of the zlint tests, making the
container build up front once (provisioning zlint), and then copying the
cert into the new container image later.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* make fmt

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2022-10-12 13:29:06 -04:00
..
benchhelpers Update deps for consul-template 0.29.0 (#15293) 2022-05-05 10:30:40 -07:00
builtinplugins Adds ldap secrets to plugin registry and updates to v0.9.0 (#17152) 2022-09-15 22:19:24 -07:00
constants update gofumpt to 0.3.1 and reformat the repo (#17055) 2022-09-07 17:31:20 -07:00
dhutil Remove spurious fmt.Printf calls including one of a key (#15344) 2022-05-19 12:27:02 -07:00
fairshare VAULT-4240 time.After() in a select statement can lead to memory leak (#14814) 2022-04-01 10:17:11 -04:00
flag-kv Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
flag-slice
forwarding Update protos to match update of protobuf go library (#17215) 2022-09-19 16:45:44 -04:00
hostutil Update gopsutil to v3 to fix MacOS deprecation warnings (#16321) 2022-07-20 16:37:10 -07:00
identity Update protos to match update of protobuf go library (#17215) 2022-09-19 16:45:44 -04:00
metricsutil Use %q for quoted strings where appropriate (#15216) 2022-08-03 12:32:45 -06:00
monitor api/monitor: Adding log format to monitor command and debug (#15536) 2022-05-24 13:10:53 -04:00
namespace VAULT-7256: Add custom_metadata to namespaces (#16640) 2022-08-09 11:38:03 -04:00
osutil Fix nightly tests and debug (#14970) 2022-04-12 06:08:28 +05:30
parseip Move to go 1.17 (#12868) 2021-10-21 09:32:03 -04:00
pgpkeys fix: PGP subkeys support (#16224) 2022-09-22 09:12:41 -04:00
policies Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
proxyutil remove mount accessor from MFA config (#14406) 2022-03-09 09:14:30 -08:00
random Only use additional entropy source when configured within transit and sys random (#15734) 2022-06-01 14:56:39 -04:00
storagepacker Update protos to match update of protobuf go library (#17215) 2022-09-19 16:45:44 -04:00
testhelpers Add pki zlint tests (#17305) 2022-10-12 13:29:06 -04:00
timeutil Fix Racy Activity Log Tests (#10484) 2020-12-02 13:48:13 -07:00
versions Add plugin version to GRPC interface (#17088) 2022-09-15 16:37:59 -07:00