Use long versions of flags given to gpg.  Also add --with-fingerprint when listing secret keys.