Xpra: Ticket #2794: specify connection attributes using the connection string

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


Tue, 02 Jun 2020 04:05:29 GMT - Antoine Martin: status changed

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.


Mon, 08 Jun 2020 15:43:21 GMT - Antoine Martin: status, description changed; resolution set

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

Sat, 23 Jan 2021 06:01:02 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2794