secret/internal/cli
sneak a6f24e9581 Fix --keyid flag scope and implement secret move command
- Restrict --keyid flag to PGP unlocker type only
- Add validation to prevent --keyid usage with non-PGP unlockers
- Implement 'secret move' command with 'mv' and 'rename' aliases
- Add comprehensive tests for move functionality
- Update documentation to reflect optional nature of --keyid for PGP

The move command allows renaming or moving secrets within a vault while
preserving all versions and metadata. It fails if the destination already
exists to prevent accidental overwrites.
2025-07-26 01:26:27 +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 mnemonic input to not echo to screen 2025-07-22 12:39:32 +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
info_helper.go latest 2025-07-22 13:35:19 +02:00
info.go latest 2025-07-22 13:35:19 +02:00
init.go Fix use-after-free crash in readSecurePassphrase 2025-07-22 12:46:16 +02:00
integration_test.go Fix --keyid flag scope and implement secret move command 2025-07-26 01:26:27 +02:00
root.go Fix --keyid flag scope and implement secret move command 2025-07-26 01:26:27 +02:00
secrets_size_test.go fmt 2025-07-15 08:33:16 +02:00
secrets.go Fix --keyid flag scope and implement secret move command 2025-07-26 01:26:27 +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 --keyid flag scope and implement secret move command 2025-07-26 01:26:27 +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