xpra icon
Bug tracker and wiki

Opened 4 years ago

Last modified 3 weeks ago

#1160 assigned enhancement

per socket authentication and encryption configuration

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: critical Milestone: 4.0
Component: server Version: trunk
Keywords: Cc:

Description

Split from #1159.
We should extend the socket configuration syntax to be able to configure authentication and encryption for each socket.
This would get rid of a number of command line arguments (which we would keep temporarily for backwards compatibility, probably also still used by the client command line).

ie: for just authentication (replacing the tcp-auth command line option):

xpra start \
    --bind-tcp=0.0.0.0:10000,auth=file:filename=password.txt

for encryption as well:

xpra start \
    --bind-tcp=0.0.0.0:10000,encryption=AES:keyfile=key.txt,auth=file:filename=password.txt

Attachments (1)

per-socket-auth.patch (39.6 KB) - added by Antoine Martin 3 weeks ago.
work in progress patch

Download all attachments as: .zip

Change History (7)

comment:2 Changed 3 years ago by Antoine Martin

Milestone: 0.18future
Status: newassigned

comment:3 Changed 19 months ago by Antoine Martin

Milestone: future3.1

comment:4 Changed 7 months ago by Antoine Martin

Last edited 7 months ago by Antoine Martin (previous) (diff)

comment:5 Changed 7 months ago by Antoine Martin

Milestone: 3.14.0

Milestone renamed

comment:6 Changed 4 weeks ago by Antoine Martin

Priority: majorcritical

Blocker for #2125.

Changed 3 weeks ago by Antoine Martin

Attachment: per-socket-auth.patch added

work in progress patch

comment:7 Changed 3 weeks ago by Antoine Martin

Done for authentication in r23895.
As a side-effect, we no longer initialize the authentication modules using the config object.

New related ticket: #2424.

Last edited 3 weeks ago by Antoine Martin (previous) (diff)
Note: See TracTickets for help on using tickets.