Various fixes related to package version checking and OpenPGP integration.