xpra icon
Bug tracker and wiki

Opened 4 months ago

Closed 3 months ago

#2794 closed enhancement (fixed)

specify connection attributes using the connection string

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 4.1
Component: client Version: 3.0.x
Keywords: Cc:

Description (last modified by Antoine Martin)

Similar to #1160 / #2424, should re-use the same syntax, ie:

xpra attach tcp://,cork=0,nodelay=1,encryption=AES:keyfile=key.txt,auth=file:filename=password.txt

Change History (2)

comment:1 Changed 4 months ago by Antoine Martin

Status: newassigned

We already have #2460, but the syntax above is better for shell compatibility as it does not require quotes. (no &)

Also, support for encryption options needs adding.

comment:2 Changed 3 months ago by Antoine Martin

Description: modified (diff)
Resolution: fixed
Status: assignedclosed

Done in r26644 (+r26645 typo), with fixes and improvements in r26647, r26648, r26650.

encryption=AES is assumed if the display string contains keyfile or keydata.
keydata can be used to specify the encryption key data inline, ie:

xpra attach tcp://user:PASSWORD@

The keydata can also be specified as hex:

xpra attach tcp://antoine:YOURPASSWORD@

Or using a keyfile:

echo -n "0123456789ABCDEF" > ./aes.txt
xpra attach tcp://antoine:YOURPASSWORD@
Note: See TracTickets for help on using tickets.