remove unnecessary import statement. add check for existence of gpg(1) installation