Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specify connection attributes using the connection string #2794

Closed
totaam opened this issue Jun 2, 2020 · 2 comments
Closed

specify connection attributes using the connection string #2794

totaam opened this issue Jun 2, 2020 · 2 comments
Labels

Comments

@totaam
Copy link
Collaborator

totaam commented Jun 2, 2020

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
@totaam
Copy link
Collaborator Author

totaam commented Jun 2, 2020

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.

@totaam
Copy link
Collaborator Author

totaam commented Jun 8, 2020

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:[email protected]:10000/keydata=0123456789ABCDEF

The keydata can also be specified as hex:

xpra attach tcp://antoine:[email protected]:10000/keydata=0x30313233343536373839414243444546

Or using a keyfile:

echo -n "0123456789ABCDEF" > ./aes.txt
xpra attach tcp://antoine:[email protected]:10000/keyfile=./aes.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant