xpra icon
Bug tracker and wiki

Opened 6 weeks ago

Closed 5 weeks 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://127.0.0.1:10000/,cork=0,nodelay=1,encryption=AES:keyfile=key.txt,auth=file:filename=password.txt

Change History (2)

comment:1 Changed 6 weeks 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 5 weeks 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@127.0.0.1:10000/keydata=0123456789ABCDEF

The keydata can also be specified as hex:

xpra attach tcp://antoine:YOURPASSWORD@127.0.0.1:10000/keydata=0x30313233343536373839414243444546

Or using a keyfile:

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