Make sure to set pgg-gpg-user-id to your user id. Eg:
(setq pgg-gpg-user-id "Your user id")
There are two interfaces to PGG. This can be controlled via setting the variable emacs-wiki-pgg-interface to the correct function:
pgg-encrypt-region1 is called interactively after setting point and mark. Recipients are read from the minibuffer.
- This is a personalized version of
pgg-encrypt-regionthat is intended when the recipient is self. Message is signed if emacs-wiki-pgg-sign is non-nil. You are welcome to change
pgg-encrypt-sign-selfin emacs-wiki-pgg.el to suit your needs.
Set to non-nil if you want the message to be signed when the interface is
 A function defined by PGG