-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
macos to handle more clipboard formats, converting them on the fly #273
Comments
Now that both OSX and win32 are using synchronous clipboard code (pretty much) and OSX is using at least some native call (see #318 for details)
|
Some links: See also #2289 |
For win32: #2619 |
html5 was done in #2312 This only leaves macos for this ticket. (summary updated) Examples:
|
MacOS clipboard updates:
Generic clipboard updates:
We should also sanitize images in both directions: #2808. |
At the moment, we simply drop these types of clipboard data:
We could try to handle some of those, and provide them in multiple formats since we generally have PIL available for converting between formats.
From a security POV, it probably makes sense to always convert formats so that we can "guarantee" that the data we send over the wire is not malicious?
Think: an application providing a JPEG based buffer overflow via the clipboard: worst case scenario is that the xpra server crashes parsing it or maybe it gets compromised, but the client machine will not receive the malicious content directly.
But then again, if you can exploit the server, you can then inject the bad content in there.. I guess it's still a first line of defense.
The text was updated successfully, but these errors were encountered: