using gpg plugin