secret/internal/secret
sneak 386a27c0b6 fix: resolve all revive linter issues
Added missing package comments:
- cmd/secret/main.go
- internal/cli/cli.go
- internal/secret/constants.go
- internal/vault/management.go
- pkg/bip85/bip85.go

Fixed comment format issues for exported items:
- EnvStateDir, EnvMnemonic, EnvUnlockPassphrase, EnvGPGKeyID in constants.go
- Metadata, UnlockerMetadata, SecretMetadata, Configuration in metadata.go
- AppBIP39, AppHDWIF, AppXPRV in bip85.go

Replaced unused parameters with underscore (_):
- generate.go:39 - parameter 'args'
- init.go:30 - parameter 'args'
- unlockers.go:39,77,102 - parameter 'args' or 'cmd'
- vault.go:37 - parameter 'args'
- management.go:34 - parameter 'target'
2025-07-15 06:06:48 +02:00
..
constants.go fix: resolve all revive linter issues 2025-07-15 06:06:48 +02:00
crypto.go fix: resolve all nlreturn linter errors 2025-07-15 06:00:32 +02:00
debug_test.go fix: replace unused parameters with underscores (revive) 2025-06-20 12:50:16 -07:00
debug.go fix: resolve all nlreturn linter errors 2025-07-15 06:00:32 +02:00
helpers.go fix: resolve all nlreturn linter errors 2025-07-15 06:00:32 +02:00
keychainunlocker.go fix: resolve all nlreturn linter errors 2025-07-15 06:00:32 +02:00
metadata.go fix: resolve exported type stuttering issues (revive) 2025-06-20 12:47:06 -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 fix: resolve all nlreturn linter errors 2025-07-15 06:00:32 +02:00
pgpunlock_test.go fix: replace unused parameters with underscores (revive) 2025-06-20 12:50:16 -07:00
pgpunlocker.go fix: resolve all nlreturn linter errors 2025-07-15 06:00:32 +02:00
secret_test.go fix: resolve exported type stuttering issues (revive) 2025-06-20 12:47:06 -07:00
secret.go fix: resolve all nlreturn linter errors 2025-07-15 06:00:32 +02: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: replace unused parameters with underscores (revive) 2025-06-20 12:50:16 -07:00
version.go fix: resolve all nlreturn linter errors 2025-07-15 06:00:32 +02:00