Go to file
Jean-Philippe Ouellet 87230fc042
Stop leaking terminal escapes via stderr
This restores Qubes R3.2 behavior

Before this patch, the following:

    qvm-run -p sys-firewall 'echo -e "\e[0;46mcyan!" >&2' | wc -l

leaks the escape sequences through to the dom0 terminal via stderr,
in this case demonstrated by the ability to change the text color while
it should be fixed to red.

This can also be abused with xterm reporting sequences to cause input
to be sent to the dom0 terminal. This is potentially a security issue.
2017-11-20 23:33:44 -05:00
ci tools: add qvm-backup tool 2017-07-21 03:58:18 +02:00
debian version 4.0.10 2017-11-09 11:56:18 +01:00
doc Document device attach options in man page 2017-10-24 03:24:43 +02:00
etc Fix qvm-start-gui autostart script 2017-05-19 17:30:11 +02:00
qubesadmin Stop leaking terminal escapes via stderr 2017-11-20 23:33:44 -05:00
rpm_spec Add CentOS support and fix python3 dependencies for CentOS (except python3-sphinx and python3-daemon which has no python34 package) 2017-10-16 10:20:23 +02:00
test-packages Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
.gitignore travis: integrate test coverage reports via codecov 2017-03-02 02:05:36 +01:00
.travis.yml tests: disable slow tests unless ENABLE_SLOW_TESTS=1 is set 2017-07-21 03:54:04 +02:00
LICENSE Initial commit 2017-03-01 23:48:53 +01:00
Makefile Add qvm-start-gui autostart script 2017-04-29 01:18:34 +02:00
Makefile.builder debian: initial packaging 2017-05-20 03:15:23 +02:00
README.md Update documentation link in readme 2017-05-12 00:13:01 +02:00
run-tests Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
setup.py replace console entry points with just importing the module 2017-11-10 16:31:45 +01:00
version version 4.0.10 2017-11-09 11:56:18 +01:00

This is client side implementation of Qubes Admin API. See https://www.qubes-os.org/doc/admin-api/ for protocol specification.

Compatibility

Most of the API modules are compatible with Python >= 2.7. Very few parts require Python >= 3.4:

  • tools (qvm-*)
  • qubesadmin.events module (for asyncio module)

Parts not compatible with Python < 3.4, are not installed in such environment.