I cannot find any way to decode this message with GPGME:
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.2.1 (AIX)
-----END PGP MESSAGE-----
This message is neither signed nor encrypted, only compressed.
Running gpg -o- filename.asc writes the plain message on the screen.
gpgme_op_verify(ctx,inputdata,NULL,outputdata) returns successful, but does
not return any data in outputdata.
gpgme_op_decrypt(ctx,inputdata,outputdata) both fail with GPG_ERR_DECRYPT_FAILED.
Each of these results is somewhat reasonable. Thus another function is needed
to be able to get the plaintext from any valid OpenPGP message.
Because you even don't know which of the functions gpgme_op_verify(),
gpgme_op_decrypt(), or gpgme_op_decrypt_verify() should be called when you see
the line -----BEGIN PGP MESSAGE-----, the new function should be a generic one
that works for any message beginning with this line, always returning the
plaintext (unless decryption fails, of course).
Such a function is a prerequisite for GPGME being used by an e-mail program.
(Or am I missing something?)
Thanks in advance