Sometimes the gpg script when run inside an improperly configured