open-vault/http
Jeff Mitchell 1c7157e632 Reintroduce the ability to look up obfuscated values in the audit log
with a new endpoint '/sys/audit-hash', which returns the given input
string hashed with the given audit backend's hash function and salt
(currently, always HMAC-SHA256 and a backend-specific salt).

In the process of adding the HTTP handler, this also removes the custom
HTTP handlers for the other audit endpoints, which were simply
forwarding to the logical system backend. This means that the various
audit functions will now redirect correctly from a standby to master.
(Tests all pass.)

Fixes #784
2015-11-18 20:26:03 -05:00
..
handler.go
handler_test.go
help.go
help_test.go
http_test.go
logical.go
logical_test.go
server.go
sys_audit_test.go
sys_auth_test.go
sys_health.go
sys_health_test.go
sys_init.go
sys_init_test.go
sys_leader.go
sys_leader_test.go
sys_lease_test.go
sys_mount_test.go
sys_policy.go
sys_policy_test.go
sys_rekey.go
sys_rekey_test.go
sys_rotate_test.go
sys_seal.go
sys_seal_test.go
testing.go