Fix gpg plugin