e424c7df9c
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. |
||
---|---|---|
.. | ||
backup | ||
events | ||
tests | ||
tools | ||
vm | ||
__init__.py | ||
app.py | ||
base.py | ||
config.py | ||
devices.py | ||
exc.py | ||
features.py | ||
firewall.py | ||
label.py | ||
log.py | ||
spinner.py | ||
storage.py | ||
tags.py | ||
utils.py |