- Changed Secret.GetValue and Version.GetValue to return *memguard.LockedBuffer - Updated all internal callers to handle LockedBuffer properly - For backward compatibility, vault.GetSecret still returns []byte but makes a copy - This ensures secret values are protected in memory during decryption - Updated tests to handle LockedBuffer returns - Fixed CLI getSecretValue to use LockedBuffer throughout |
||
---|---|---|
.. | ||
cli_test.go | ||
cli.go | ||
crypto.go | ||
generate.go | ||
init.go | ||
integration_test.go | ||
root.go | ||
secrets_size_test.go | ||
secrets.go | ||
test_helpers.go | ||
test_output_test.go | ||
unlockers.go | ||
vault.go | ||
version_test.go | ||
version.go |