open-vault/sdk/helper
Christopher Swenson 2c8e88ab67
Check if plugin version matches running version (#17182)
Check if plugin version matches running version

When registering a plugin, we check if the request version matches the
self-reported version from the plugin. If these do not match, we log a
warning.

This uncovered a few missing pieces for getting the database version
code fully working.

We added an environment variable that helps us unit test the running
version behavior as well, but only for approle, postgresql, and consul
plugins.

Return 400 on plugin not found or version mismatch

Populate the running SHA256 of plugins in the mount and auth tables (#17217)
2022-09-21 12:25:04 -07:00
..
authmetadata
base62
certutil Support for generating Delta CRLs (#16773) 2022-08-29 11:37:09 -04:00
cidrutil
compressutil
consts Handle deprecated builtins (#17005) 2022-09-06 15:49:35 -04:00
cryptoutil
custommetadata VAULT-7256: Add custom_metadata to namespaces (#16640) 2022-08-09 11:38:03 -04:00
dbtxn refactor: replace strings.Replace with strings.ReplaceAll (#15392) 2022-08-03 15:22:48 -04:00
errutil
hclutil
identitytpl
jsonutil
kdf
keysutil Update missing go-kms-wrapping v2 dep and address some ENT->OSS drift (#17178) 2022-09-19 10:23:40 -04:00
ldaputil
license
locksutil update gofumpt to 0.3.1 and reformat the repo (#17055) 2022-09-07 17:31:20 -07:00
logging
mlock
parseutil
password
pathmanager
pluginutil Check if plugin version matches running version (#17182) 2022-09-21 12:25:04 -07:00
pointerutil
policyutil
roottoken
salt
strutil
template update gofumpt to 0.3.1 and reformat the repo (#17055) 2022-09-07 17:31:20 -07:00
tlsutil
tokenutil
useragent
wrapping
xor