rpm-ostree/tests/vmcheck
Colin Walters 66425c3161 core: Do GPG verification before importing
While reading a recent conversation about GPG checking at treecompose
time, I had a sudden thought - were we actually doing verification
client side?  Turned out, we aren't.  That happens as part of
`dnf_transaction_commit()` which we don't use.

That function verifies every package at one go, but for us I think it's better
to do it before "importing". We shouldn't have untrusted bits that we've
unpacked (they might have suid binaries, for one thing).

This is an embarassing problem, but it's worth emphasizing that everyone should
be retrieving repodata at a minimum over TLS, which sets a baseline. On RHEL, we
already do pinned TLS, and there are discussions about extending that elsewhere.

See: https://bugzilla.redhat.com/show_bug.cgi?id=1422157

Closes: #656
Approved by: jlebon
2017-03-06 15:19:43 +00:00
..
overlay.sh ci: Hotfix ostree temporarily 2017-02-23 20:03:06 +00:00
sync.sh Merge daemon binary into main binary 2017-02-07 16:07:09 +00:00
test-initramfs.sh test-initramfs.sh: fix for centos 2017-02-21 14:13:42 +00:00
test-layering-basic.sh importer: Error importing RPMs which install to /opt (outside of /usr) 2017-02-14 22:15:56 +00:00
test-layering-gpg.sh core: Do GPG verification before importing 2017-03-06 15:19:43 +00:00
test-layering-non-root-caps.sh unpacker: support root-owned /var & /run files 2017-02-13 16:49:59 +00:00
test-layering-relayer.sh upgrader: Use "pending" deployment for origin by default 2017-02-08 19:55:44 +00:00
test-layering-rpmdb.sh vmcheck: adjust for new behaviour 2017-02-27 19:53:19 +00:00
test-layering-scripts.sh scripts: Use tmpfs for /var/tmp, not the host's /tmp 2017-02-28 23:37:15 +00:00
test.sh vmcheck: adjust for new behaviour 2017-02-27 19:53:19 +00:00