Upgraded gpg plugin