secret/internal/cli
sneak a09fa89f30 Fix cross-platform build issues and security vulnerabilities
- Add build tags to keychain implementation files (Darwin-only)
- Create stub implementations for non-Darwin platforms that panic
- Conditionally show keychain support in help text based on platform
- Platform check in UnlockersAdd prevents keychain usage on non-Darwin
- Verified GPG operations already protected against command injection
  via validateGPGKeyID() and proper exec.Command argument passing
- Keychain operations use go-keychain library, no shell commands

The application now builds and runs on Linux/non-Darwin platforms with
keychain functionality properly isolated to macOS only.
2025-07-21 22:05:23 +02:00
..
cli_test.go fix: handle error returns from os.Unsetenv and file.Close (errcheck) 2025-07-09 06:16:13 -07:00
cli.go fix: resolve all revive linter issues 2025-07-15 06:06:48 +02:00
crypto.go Fix GetValue methods to return LockedBuffer internally 2025-07-15 08:59:23 +02:00
generate.go uses protected memory buffers now for all secrets in ram 2025-07-15 08:32:33 +02:00
init.go uses protected memory buffers now for all secrets in ram 2025-07-15 08:32:33 +02:00
integration_test.go fix: update JSON fields from snake_case to camelCase and make tests quiet by default 2025-07-15 07:35:48 +02:00
root.go Remove internal/macse package and fix all linter issues 2025-07-21 17:48:47 +02:00
secrets_size_test.go fmt 2025-07-15 08:33:16 +02:00
secrets.go Remove internal/macse package and fix all linter issues 2025-07-21 17:48:47 +02:00
test_helpers.go fix: resolve errcheck, gosec, and mnd linter errors 2025-07-09 06:59:01 -07:00
test_output_test.go latest from ai, it broke the tests 2025-06-20 05:40:20 -07:00
unlockers.go Fix cross-platform build issues and security vulnerabilities 2025-07-21 22:05:23 +02:00
vault.go Remove internal/macse package and fix all linter issues 2025-07-21 17:48:47 +02:00
version_test.go uses protected memory buffers now for all secrets in ram 2025-07-15 08:32:33 +02:00
version.go Remove internal/macse package and fix all linter issues 2025-07-21 17:48:47 +02:00