add sanity check for gnupg package and version