mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-10 00:27:02 +02:00
* initial implementation of unseal trace * close file if we fail to start the trace didn't bother to check the error from traceFile.Close() * use reloadable config instead of env var * license * remove leftover * allow setting custom dir and remove new package * bring back StartDebugTrace after talking to Kuba it sounds like it's a good idea to try to move stuff out of core, so even if there's no immediate need for a generic debug trace function it's still fair to add it * track postUnseal instead of unsealInternal also some usability improvements from manual testing * address PR comments * address security review there were concerns about using the /tmp directory because of permissions, or having a default dir at all, so now it's required to set a dir in order to generate the traces. * add unit tests to StartDebugTrace * move back to default dir * document new parameters * add tiny integration test * avoid column in trace filename sounds like it might be forbidden in Windows and possibly cause problems in some MacOS applications. * address PR feedback * add go doc to test CI was complaining about missing comments on the new test function. It feels a bit silly to require this of tests but whatever XD * fix tests |
||
---|---|---|
.. | ||
test-fixtures | ||
config_custom_response_headers_test.go | ||
config_oss_test.go | ||
config_oss.go | ||
config_telemetry_test.go | ||
config_test_helpers_stubs_oss.go | ||
config_test_helpers.go | ||
config_test.go | ||
config_util_test.go | ||
config_util.go | ||
config.go | ||
hcp_link_config_test.go | ||
listener_tcp_test.go | ||
listener_tcp.go | ||
listener_test.go | ||
listener_unix_test.go | ||
listener_unix.go | ||
listener.go | ||
server_seal_transit_acc_test.go | ||
server_stubs_oss.go | ||
tls_util_test.go | ||
tls_util.go |