secret/internal/secret
sneak 9e35bf21a3 fix: more nlreturn and testifylint issues
- Add blank lines before return statements
- Use require.Error instead of assert.Error for error assertions
- Keep exact float64 comparisons as-is (they are integers from JSON)
2025-06-20 09:40:17 -07:00
..
constants.go Fix intrange and G101 linting issues 2025-06-20 08:08:01 -07:00
crypto.go fix: add blank lines before return statements (nlreturn) 2025-06-20 09:37:56 -07:00
debug_test.go fix: replace os.Setenv with t.Setenv in tests (usetesting) 2025-06-20 09:13:01 -07:00
debug.go fix: add blank lines before return statements (nlreturn) 2025-06-20 09:37:56 -07:00
helpers.go fix: more nlreturn and testifylint issues 2025-06-20 09:40:17 -07:00
keychainunlocker.go Fix intrange and G101 linting issues 2025-06-20 08:08:01 -07:00
metadata.go Fix revive package stuttering errors 2025-06-20 08:48:17 -07:00
passphrase_test.go fix: replace remaining os.Setenv with t.Setenv in tests 2025-06-20 09:22:01 -07:00
passphraseunlocker.go refactor: remove confusing dual ID method pattern from Unlocker interface - Removed redundant ID() method from Unlocker interface - Removed ID field from UnlockerMetadata struct - Modified GetID() to generate IDs dynamically based on unlocker type and data - Updated vault package to create unlocker instances when searching by ID - Fixed all tests and CLI code to remove ID field references - IDs are now consistently generated from unlocker data, preventing redundancy 2025-06-11 15:21:20 -07:00
pgpunlock_test.go fix: replace remaining os.Setenv with t.Setenv in tests 2025-06-20 09:22:01 -07:00
pgpunlocker.go fix: resolve critical security vulnerabilities in debug logging and command execution 2025-06-20 07:50:26 -07:00
secret_test.go fix: replace remaining os.Setenv with t.Setenv in tests 2025-06-20 09:22:01 -07:00
secret.go Fix revive package stuttering errors 2025-06-20 08:48:17 -07:00
unlocker.go refactor: remove confusing dual ID method pattern from Unlocker interface - Removed redundant ID() method from Unlocker interface - Removed ID field from UnlockerMetadata struct - Modified GetID() to generate IDs dynamically based on unlocker type and data - Updated vault package to create unlocker instances when searching by ID - Fixed all tests and CLI code to remove ID field references - IDs are now consistently generated from unlocker data, preventing redundancy 2025-06-11 15:21:20 -07:00
validation_test.go fix: resolve critical security vulnerabilities in debug logging and command execution 2025-06-20 07:50:26 -07:00
version_test.go Fix revive package stuttering errors 2025-06-20 08:48:17 -07:00
version.go Fix revive package stuttering errors 2025-06-20 08:48:17 -07:00