2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00
restic/internal/repository
Peter Schultz 90fc639a67 Allow specifying user and host when adding keys
The username and hostname for new keys can be specified with the new
--user and --host flags, respectively. The flags are used only by the
`key add` command and are otherwise ignored.

This allows adding keys with for a desired user and host without having
to run restic as that particular user on that particular host, making
automated key management easier.

Co-authored-by: James TD Smith <ahktenzero@mohorovi.cc>
2020-03-23 13:11:10 +01:00
..
testdata Moves files 2017-07-23 14:19:13 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
index_test.go internal/repository: fix dropped test error 2020-02-12 13:33:54 -08:00
index.go Reuse buffer in worker functions 2019-04-13 13:38:39 +02:00
key.go Allow specifying user and host when adding keys 2020-03-23 13:11:10 +01:00
master_index_test.go repository/master_index: Optimize Index.Lookup() 2018-01-23 22:25:56 -05:00
master_index.go debug: Remove manual Str() call Log() 2018-01-25 20:49:41 +01:00
packer_manager_test.go Correct ineffassign 2018-10-19 16:58:14 -04:00
packer_manager.go backend: Improve Save() 2018-03-03 15:49:44 +01:00
repack_test.go Remove restic.RandReader 2020-03-09 10:00:28 +01:00
repack.go DownloadAndHash: Check error returned by Load() 2018-10-28 21:28:56 +01:00
repository_test.go Remove sync.Pool from internal/repository 2020-02-29 17:54:46 +01:00
repository.go Remove sync.Pool from internal/repository 2020-02-29 17:54:46 +01:00
testing.go Remove remnant of Go 1.9 compatibility code from tests 2020-02-26 22:23:38 +01:00
worker_group.go simpler error return 2020-01-27 18:41:46 +03:00