Results 67 comments of wojas

Adding simple disk usage and disk free space would be a good idea, indeed. It's cheap and does not leak sensitive information.

This would indeed be useful. If a repo is never pruned, it could also provide a way to recover lost blobs. Perhaps the tool should also change the repo UUID...

Perhaps this is a feature that should be added to restic instead, so that repos can be copied between storage backends? I don't know if the restic architecture makes this...

PR https://github.com/restic/rest-server/pull/140 also implements TLS client auth with automatic certificate reload through https://github.com/PowerDNS/go-tlsconfig . I can rebase the PR in the next few weeks.

This sounds a bit like a hack that depends on restic internal behavior that can change with any release and break such a setup. I don't think it's a good...

I recently wrote https://github.com/PowerDNS/go-tlsconfig for this purpose and am considering using it in rest-server.

I was naively hoping that I would not need to type all of this. Oh well.. 😄 There are many different config file formats and one can spend hours discussing...

It would require a bit more work to support this. We currently have no username to compare to when auth is disabled, username will always be an empty string (see...

I have seen similar things before. I agree that adding something like `--trusted-username-header` would be the best solution.

> Wouldn't it be easier to just let the reverse proxy check that the username and path prefix match? Since #112 all `--private-repos` does is verify that the first part...