secret/internal/secret
sneak 75c3d22b62 Fix vault creation to require mnemonic and set up initial unlocker
- Vault creation now prompts for mnemonic if not in environment
- Automatically creates passphrase unlocker during vault creation
- Prevents 'missing public key' error when adding secrets to new vaults
- Updates tests to reflect new vault creation flow
2025-07-26 21:58:57 +02:00
..
constants.go fix: resolve all revive linter issues 2025-07-15 06:06:48 +02:00
crypto.go Fix remaining memory security issues 2025-07-15 09:08:51 +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_stub.go Add missing changes from feature branch 2025-07-22 12:51:02 +02:00
keychainunlocker_test.go Remove internal/macse package and fix all linter issues 2025-07-21 17:48:47 +02:00
keychainunlocker.go Fix vault creation to require mnemonic and set up initial unlocker 2025-07-26 21:58:57 +02:00
metadata.go fix: resolve all remaining linter issues (staticcheck, tagliatelle, lll) 2025-07-15 06:33:25 +02:00
passphrase_test.go Fix EncryptWithPassphrase to accept LockedBuffer for data parameter 2025-07-15 08:42:46 +02:00
passphraseunlocker.go Fix DecryptWithIdentity to return LockedBuffer 2025-07-15 09:04:34 +02:00
pgpunlock_test.go Fix remaining memory security issues 2025-07-15 09:08:51 +02:00
pgpunlocker.go Improve PGP unlocker ergonomics 2025-07-21 18:57:58 +02:00
secret_test.go uses protected memory buffers now for all secrets in ram 2025-07-15 08:32:33 +02:00
secret.go Fix DecryptWithIdentity to return LockedBuffer 2025-07-15 09:04:34 +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 GetValue methods to return LockedBuffer internally 2025-07-15 08:59:23 +02:00
version.go Fix DecryptWithIdentity to return LockedBuffer 2025-07-15 09:04:34 +02:00