core-admin-client/qubesadmin/tests/tools
Marek Marczykowski-Górecki e424c7df9c
qvm-template: verify template package signature directly at download
Make the download() function save the package into a temporary space and
move to the target location only after checking the signature. This is
safer option than requiring all callers to explicitly verify the
signature. Also, make the download() function verify if the template
name inside the package matches what was requested.
Especially, make `qvm-template download` action verify the signature
too.

On `qvm-template install` avoid checking the signature again for
downloaded packages, by passing extra argument to the verify_rpm()
function. But still verify signature of packages loaded from disk.
2021-02-18 21:43:57 +01:00
..
__init__.py tests/tools: add MockEventsReader 2017-07-08 00:08:19 +02:00
init.py Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
qubes_prefs.py Enable caching in qvm-ls and qvm-prefs 2020-05-22 19:28:51 +02:00
qvm_backup_restore.py Add "paranoid restore" mode 2020-08-04 04:06:53 +02:00
qvm_backup.py tests: use asynctest some more 2020-08-03 04:55:46 +02:00
qvm_check.py Update tests to mock admin.vm.CurrentState 2020-01-15 17:32:24 +01:00
qvm_clone.py Adds docs for clone ignore_errors, feeds linter 2019-04-16 10:44:47 -07:00
qvm_create.py Added tests for cloning VMs with persistent devices 2020-03-30 16:15:49 +02:00
qvm_device.py tools/qvm-device: allow detaching all devices 2018-12-08 00:44:18 +01:00
qvm_features.py tests: too much copy&paste 2017-07-28 13:56:39 +02:00
qvm_firewall.py Added a safeguard for invalid firewall rules 2020-05-16 12:18:13 +02:00
qvm_kill.py qvm-kill: make error message more clear 2020-01-31 11:26:57 +01:00
qvm_ls.py Enable caching in qvm-ls and qvm-prefs 2020-05-22 19:28:51 +02:00
qvm_pause.py Rename Mgmt API to Admin API: methods names 2017-05-12 19:36:03 +02:00
qvm_pool_legacy.py Preserve backward compatibility 2019-11-04 00:57:21 -08:00
qvm_pool.py Preserve backward compatibility 2019-11-04 00:57:21 -08:00
qvm_prefs.py Enable caching in qvm-ls and qvm-prefs 2020-05-22 19:28:51 +02:00
qvm_remove.py qvm-remove: improve error message 2020-01-21 15:54:18 +01:00
qvm_run.py qvm-run will unpause paused VMs by defaults 2020-08-05 20:49:38 +02:00
qvm_service.py tools: qvm-service tool 2017-07-28 14:24:04 +02:00
qvm_shutdown.py tests: use asynctest some more 2020-08-03 04:55:46 +02:00
qvm_start_daemon.py qvm-start-daemon: convert to async/await syntax 2020-07-29 11:27:19 +02:00
qvm_start.py Use qubes.VMExec in run_with_args() 2020-01-27 10:24:22 +01:00
qvm_tags.py tools: add qvm-tags tool 2017-06-20 01:34:17 +02:00
qvm_template_postprocess.py qvm-template-postprocess: do not generate appmenus twice 2021-02-07 03:35:16 +01:00
qvm_template.py qvm-template: verify template package signature directly at download 2021-02-18 21:43:57 +01:00
qvm_unpause.py Rename Mgmt API to Admin API: methods names 2017-05-12 19:36:03 +02:00
qvm_volume.py tools/qvm-volume import: do not retrieve old size anymore 2020-05-10 03:57:28 +02:00