core-admin-client/qubesadmin
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
..
backup Make pylint happy 2020-08-23 03:31:39 +02:00
events events: implicitly enable caching when creating EventsDispatcher 2020-05-22 19:28:51 +02:00
tests qvm-template: verify template package signature directly at download 2021-02-18 21:43:57 +01:00
tools qvm-template: verify template package signature directly at download 2021-02-18 21:43:57 +01:00
vm Make pylint happy 2020-08-23 03:31:39 +02:00
__init__.py Choose QubesLocal or QubesRemote based on /etc/qubes-release presence 2017-07-18 01:58:33 +02:00
app.py Make pylint happy 2020-08-23 03:31:39 +02:00
base.py Make pylint happy 2020-08-23 03:31:39 +02:00
config.py tools: add qvm-template-postprocess 2017-05-26 01:33:43 +02:00
devices.py Make pylint happy 2020-08-23 03:31:39 +02:00
exc.py Make pylint happy 2020-08-23 03:31:39 +02:00
features.py Make pylint happy 2020-08-23 03:31:39 +02:00
firewall.py Make pylint happy 2020-08-23 03:31:39 +02:00
label.py Make pylint happy 2020-08-23 03:31:39 +02:00
log.py Drop log.DBusHandler 2017-10-16 01:33:03 +02:00
spinner.py Make pylint happy 2020-08-23 03:31:39 +02:00
storage.py Cleanup Admin API denial reporting 2020-08-11 02:06:42 +02:00
tags.py Make pylint happy 2020-08-23 03:31:39 +02:00
utils.py Merge remote-tracking branch 'origin/pr/156' 2020-08-11 18:41:55 +02:00