Skip to content

replace the old rpc protocol by http rest? #9593

@ThomasWaldmann

Description

@ThomasWaldmann

borg 1.x uses rpc-over-ssh to access remote repositories. the protocol is so that the repository api is extended over the network.

borg2 has borgstore for most kinds of storage needs, including the rest backend / rest server combo that extends the borgstore backend api over the network. One usually would run that behind a reverse proxy that also adds TLS.

considering that, the old rpc code looks a bit superfluous/redundant now and we maybe could implement the ssh-based remoting with the http rest protocol instead of the rpc protocol. the server would then only expose the ssh port and ssh keys and forced commands could be used in the same way as with borg 1.x.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions