secret/internal/secret
sneak 434b73d834 Fix intrange and G101 linting issues
- Convert for loops to use Go 1.22+ integer ranges in generate.go and helpers.go
- Disable G101 false positives for test vectors and environment variable names
- Add file-level gosec disable for bip85_test.go containing BIP85 test vectors
- Add targeted nolint comments for legitimate test data and constants
2025-06-20 08:08:01 -07:00
..
constants.go Fix intrange and G101 linting issues 2025-06-20 08:08:01 -07:00
crypto.go Remove duplicated wrapper crypto functions and use exported implementations directly 2025-05-29 13:08:00 -07:00
debug_test.go passes tests now! 2025-06-20 07:24:48 -07:00
debug.go passes tests now! 2025-06-20 07:24:48 -07:00
helpers.go Fix intrange and G101 linting issues 2025-06-20 08:08:01 -07:00
keychainunlocker.go Fix intrange and G101 linting issues 2025-06-20 08:08:01 -07:00
metadata.go passes tests now! 2025-06-20 07:24:48 -07:00
passphrase_test.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
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 intrange and G101 linting issues 2025-06-20 08:08: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 intrange and G101 linting issues 2025-06-20 08:08:01 -07:00
secret.go refactor: fix redundant metadata fields across the codebase - Removed VaultMetadata.Name (redundant with directory structure) - Removed SecretMetadata.Name (redundant with Secret.Name field) - Removed AgePublicKey and AgeRecipient from PGPUnlockerMetadata - Removed AgePublicKey from KeychainUnlockerMetadata - Changed PGP and Keychain unlockers to store recipient in pub.txt instead of pub.age - Fixed all tests to reflect these changes - Follows DRY principle and prevents data inconsistency 2025-06-09 17:44:10 -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 intrange and G101 linting issues 2025-06-20 08:08:01 -07:00
version.go fix: resolve critical security vulnerabilities in debug logging and command execution 2025-06-20 07:50:26 -07:00