This depends on pykickstart support
https://github.com/rhinstaller/pykickstart/pull/32
The `gpgsigcheck` function is almost 1-1 copy from dnf/cli/cli.py.
Warning: I haven't tested this in this particular case, but very similar code in
[pungi](https://pagure.io/pungi/pull-request/63) and
[
livecd-tools](https://github.com/rhinstaller/livecd-tools/pull/14) works just fine.
One thing I'm not sure about is error reporting: currently signature verification
failure causes `dnf.exceptions.Error`, which isn't handled by this code. Should some
other exception be used? Or something else (`errors.errorHandler`?)?
--
To view this pull request on github, visit
https://github.com/rhinstaller/anaconda/pull/375