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
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
flag-kv
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
parseip
pgpkeys fix: PGP subkeys support (#16224) 2022-09-22 09:12:41 -04:00
policies
proxyutil
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
versions Add plugin version to GRPC interface (#17088) 2022-09-15 16:37:59 -07:00