open-vault/helper
Calvin Leung Huang bb54e9c131 Backend plugin system (#2874)
* Add backend plugin changes

* Fix totp backend plugin tests

* Fix logical/plugin InvalidateKey test

* Fix plugin catalog CRUD test, fix NoopBackend

* Clean up commented code block

* Fix system backend mount test

* Set plugin_name to omitempty, fix handleMountTable config parsing

* Clean up comments, keep shim connections alive until cleanup

* Include pluginClient, disallow LookupPlugin call from within a plugin

* Add wrapper around backendPluginClient for proper cleanup

* Add logger shim tests

* Add logger, storage, and system shim tests

* Use pointer receivers for system view shim

* Use plugin name if no path is provided on mount

* Enable plugins for auth backends

* Add backend type attribute, move builtin/plugin/package

* Fix merge conflict

* Fix missing plugin name in mount config

* Add integration tests on enabling auth backend plugins

* Remove dependency cycle on mock-plugin

* Add passthrough backend plugin, use logical.BackendType to determine lease generation

* Remove vault package dependency on passthrough package

* Add basic impl test for passthrough plugin

* Incorporate feedback; set b.backend after shims creation on backendPluginServer

* Fix totp plugin test

* Add plugin backends docs

* Fix tests

* Fix builtin/plugin tests

* Remove flatten from PluginRunner fields

* Move mock plugin to logical/plugin, remove totp and passthrough plugins

* Move pluginMap into newPluginClient

* Do not create storage RPC connection on HandleRequest and HandleExistenceCheck

* Change shim logger's Fatal to no-op

* Change BackendType to uint32, match UX backend types

* Change framework.Backend Setup signature

* Add Setup func to logical.Backend interface

* Move OptionallyEnableMlock call into plugin.Serve, update docs and comments

* Remove commented var in plugin package

* RegisterLicense on logical.Backend interface (#3017)

* Add RegisterLicense to logical.Backend interface

* Update RegisterLicense to use callback func on framework.Backend

* Refactor framework.Backend.RegisterLicense

* plugin: Prevent plugin.SystemViewClient.ResponseWrapData from getting JWTs

* plugin: Revert BackendType to remove TypePassthrough and related references

* Fix typo in plugin backends docs
2017-07-20 13:28:40 -04:00
..
awsutil Fixing printf (and similar) issues (#2666) 2017-05-01 23:34:10 -04:00
builtinplugins Backend plugin system (#2874) 2017-07-20 13:28:40 -04:00
certutil Fix typos in error message (#2692) 2017-05-10 10:28:35 -04:00
cidrutil Rename ParseDedupAndSortStrings to ParseDedupLowercaseAndSortStrings (#2614) 2017-04-19 10:39:07 -04:00
compressutil compressutil: Add Snappy support (#2987) 2017-07-07 14:43:45 -04:00
consts Don't allow parent references in file paths 2017-05-12 13:52:33 -04:00
errutil
flag-kv
flag-slice
forwarding Remove non-gRPC request forwarding 2017-05-24 09:34:59 -04:00
gated-writer
jsonutil all: test: Fix govet warnings 2016-12-21 19:44:07 +01:00
kdf
keysutil properly unlock policy when returning key setting errors (#2974) 2017-07-05 11:47:15 -04:00
kv-builder only check special characters on CLI when not in key=value format (#2998) 2017-07-12 13:28:57 -07:00
locksutil Use locks in a slice rather than a map, which is faster and makes things cleaner (#2446) 2017-03-07 11:21:32 -05:00
logformat Clean up request forwarding logic 2017-03-01 18:17:06 -05:00
mfa Add Duo pushinfo capabilities (#2118) 2016-12-19 15:37:44 -05:00
mlock Don't say mlock is supported on OSX when it isn't. (#2120) 2016-11-22 12:56:36 -05:00
parseutil Rename helper 'duration' to 'parseutil'. (#2449) 2017-03-07 11:21:22 -05:00
password build: Add support for building on Illumos 2016-08-13 00:20:15 -04:00
pgpkeys Change to keybase openpgp fork as it has important fixes 2016-08-11 08:31:43 -04:00
pluginutil Backend plugin system (#2874) 2017-07-20 13:28:40 -04:00
policies
policyutil Use ParseStringSlice on PKI organization/organizational unit. (#2561) 2017-04-04 08:54:18 -07:00
salt Transit and audit enhancements 2016-09-21 10:49:26 -04:00
strutil More efficient s3 paging (#2780) 2017-06-16 11:09:15 -04:00
tlsutil Fix cipher preferred order 2017-01-24 09:29:57 +02:00
wrapping Update the ResponseWrapData function to return a wrapping.ResponseWrapInfo object 2017-04-24 12:15:01 -07:00
xor