2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-08 03:50:49 +00:00
restic/cmd/restic
Lionel Sausin 8fbe328371 Properly report the ID of newly added keys
Other commands like key list and key remove show the key's ID.

Showing the ID here lets users easily reuse the ID as a key hint for subsequent
commands.
In particular, a key hint is needed when the repository has many keys - otherwise
opening the repository may fail with "Fatal: maximum number of keys reached" even
when a proper password is provided.

Fixes #4656
2024-01-29 10:12:49 +01:00
..
testdata
.gitignore
cleanup.go
cmd_backup_integration_test.go restic-from-command: use standard behavior when no output and exit code 0 from command 2023-10-27 23:58:51 +02:00
cmd_backup_test.go
cmd_backup.go Merge pull request #4647 from MichaelEischer/reduce-globals 2024-01-23 19:46:15 +01:00
cmd_cache.go
cmd_cat_test.go cat: extract parameter validation and add a test 2023-08-13 19:17:46 +02:00
cmd_cat.go convert MemorizeList to be repository based 2023-10-25 23:01:35 +02:00
cmd_check_integration_test.go
cmd_check_test.go Fix typos 2023-12-06 13:11:55 +01:00
cmd_check.go Fix typos 2023-12-06 13:11:55 +01:00
cmd_copy_integration_test.go
cmd_copy.go deduplicate string formatting of snapshot metadata 2024-01-06 20:20:51 +01:00
cmd_debug.go Remove all usages of the global command-specific options 2024-01-23 19:21:39 +01:00
cmd_diff_integration_test.go
cmd_diff.go Remove all usages of the global command-specific options 2024-01-23 19:21:39 +01:00
cmd_dump_test.go
cmd_dump.go convert MemorizeList to be repository based 2023-10-25 23:01:35 +02:00
cmd_find_integration_test.go
cmd_find.go walker: Remove ignoreTrees functionality 2024-01-19 21:16:06 +01:00
cmd_forget_integration_test.go Remove all usages of the global command-specific options 2024-01-23 19:21:39 +01:00
cmd_forget_test.go forget: simplify test 2023-07-28 19:21:40 +02:00
cmd_forget.go Remove all usages of the global command-specific options 2024-01-23 19:21:39 +01:00
cmd_generate.go Remove all usages of the global command-specific options 2024-01-23 19:21:39 +01:00
cmd_init_integration_test.go
cmd_init.go Fix repository not being printed when using repository file 2024-01-08 21:33:05 +01:00
cmd_key_integration_test.go Remove all usages of the global command-specific options 2024-01-23 19:21:39 +01:00
cmd_key.go Properly report the ID of newly added keys 2024-01-29 10:12:49 +01:00
cmd_list_integration_test.go Remove all usages of the global command-specific options 2024-01-23 19:21:39 +01:00
cmd_list.go Remove all usages of the global command-specific options 2024-01-23 19:21:39 +01:00
cmd_ls_integration_test.go
cmd_ls_test.go
cmd_ls.go Remove all usages of the global command-specific options 2024-01-23 19:21:39 +01:00
cmd_migrate.go
cmd_mount_integration_test.go
cmd_mount.go mount: detect mountpoint does not exist before opening the repository 2023-12-24 11:54:18 +01:00
cmd_options.go
cmd_prune_integration_test.go Remove all usages of the global command-specific options 2024-01-23 19:21:39 +01:00
cmd_prune.go Remove all usages of the global command-specific options 2024-01-23 19:21:39 +01:00
cmd_recover.go convert MemorizeList to be repository based 2023-10-25 23:01:35 +02:00
cmd_repair_index_integration_test.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
cmd_repair_index.go convert MemorizeList to be repository based 2023-10-25 23:01:35 +02:00
cmd_repair_packs.go repository: Replace StreamPack function with LoadBlobsFromPack method 2024-01-19 21:40:43 +01:00
cmd_repair_snapshots_integration_test.go
cmd_repair_snapshots.go deduplicate string formatting of snapshot metadata 2024-01-06 20:20:51 +01:00
cmd_repair.go
cmd_restore_integration_test.go
cmd_restore.go convert MemorizeList to be repository based 2023-10-25 23:01:35 +02:00
cmd_rewrite_integration_test.go rewrite: cleanup tests 2023-12-24 15:36:22 +01:00
cmd_rewrite.go deduplicate string formatting of snapshot metadata 2024-01-06 20:20:51 +01:00
cmd_self_update.go
cmd_snapshots_integration_test.go
cmd_snapshots_test.go
cmd_snapshots.go Fix typos 2023-12-06 13:11:55 +01:00
cmd_stats_test.go
cmd_stats.go walker: Remove ignoreTrees functionality 2024-01-19 21:16:06 +01:00
cmd_tag_integration_test.go
cmd_tag.go convert MemorizeList to be repository based 2023-10-25 23:01:35 +02:00
cmd_unlock.go
cmd_version.go Split go_target into go_os and go_arch 2023-11-01 22:43:38 +01:00
delete.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
doc.go
exclude_test.go
exclude.go
find.go convert MemorizeList to be repository based 2023-10-25 23:01:35 +02:00
flags_test.go
format_test.go
format.go
global_debug.go
global_release.go
global_test.go
global.go Merge branch 'patch-release' 2024-01-14 21:38:17 +01:00
integration_filter_pattern_test.go
integration_helpers_test.go CI: update golangci-lint 2024-01-08 21:33:05 +01:00
integration_helpers_unix_test.go
integration_helpers_windows_test.go
integration_test.go convert MemorizeList to be repository based 2023-10-25 23:01:35 +02:00
lock_test.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
lock.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
main.go don't load password when autocompleting CLI commands 2023-10-23 21:44:22 +02:00
progress.go Only show index progress bar if stdout is a terminal 2023-10-23 21:16:52 +02:00
secondary_repo_test.go
secondary_repo.go