2011-03-04 Jeffrey Stedfast * README: Bumped version * configure.ac: Bumped version to 2.5.5 2011-03-04 Jeffrey Stedfast Implements features requested in bug #641841 and #641320. * gmime/gmime-crypto-context.h (GMimeCryptoHash): Reordered to be identical to gnupg's listing. (GMimeCryptoPubKeyAlgo): Same. * gmime/gmime-crypto-context.c (g_mime_decryption_result_[g,s]et_cipher): New functions to get/set the cipher algorithm used. (g_mime_decryption_result_[g,s]et_mdc): New functions to get/set the mdc digest algorithm used. * gmime/gmime-gpg-context.c (gpg_hash_algo): Removed, no longer needed. (gpg_pubkey_algo): Same. (gpg_ctx_parse_status) :Parse the DECRYPTION_INFO status to get the cipher and mdc algorithms used. (gpg_decrypt): Set the cipher and mdc values on the GMimeDecryptionResult. * gmime/gmime-pkcs7-context.c (pkcs7_pubkey_algo): Removed, no longer needed. (pkcs7_hash_algo): Same. 2011-03-04 Jeffrey Stedfast * gmime/gmime-gpg-context.c (gpg_ctx_parse_signer_info): Make sure to extract the pubkey_algo, hash_algo, sig_class, sig_expires, and return-code values for ERRSIG. 2011-03-04 Jeffrey Stedfast Implemented bug #641319. * gmime/gmime-crypto-context.c (g_mime_crypto_recipient_*): New set of functions for manipulating a GMimeCryptoRecipient. (g_mime_decryption_result_*): New set of functions to manipulate a GMimeDecryptionResult (g_mime_crypto_context_decrypt): Now returns a GMimeDecryptionResult. * gmime/gmime-multipart-encrypted.c (g_mime_multipart_encrypted_decrypt): Updated for API changes. * gmime/gmime-pkcs7-context.c (pkcs7_decrypt): Updated for API changes. * gmime/gmime-gpg-context.c (gpg_decrypt): Updated for API changes. 2011-03-04 Jeffrey Stedfast API cleanup as well as preparing for the possibility of a multi-protocol CryptoContext. * gmime/gmime-multipart-encrypted.c (g_mime_multipart_encrypted_encrypt): Updated to use new APIs for getting the encryption protocol. (g_mime_multipart_encrypted_decrypt): Same. * gmime/gmime-multipart-signed.c (g_mime_multipart_signed_sign): Updated to use new APIs for getting the signature protocol. (g_mime_multipart_signed_verify): Same. * gmime/gmime-crypto-context.c (g_mime_crypto_context_get_*_protocol): New methods for getting the crypto protocol strings used by multipart/encrypted and multipart/signed parts. * gmime/gmime-pkcs7-context.c (pkcs7_get_*_protocol): Implemented. * gmime/gmime-gpg-context.c (gpg_get_*_protocol): Implemented. 2011-03-03 Jeffrey Stedfast * gmime/gmime-pkcs7-context.c (pkcs7_stream_seek): Added. * gmime/gmime.c (g_mime_init): Initialize gpgme. 2011-02-08 Jeffrey Stedfast Implements feature request in bug #635663. * gmime/gmime-crypto-context.c (g_mime_signer_[g,s]et_sig_version): New functions to access new signature version member. (g_mime_signer_[g,s]et_sig_class): New functions to access new signature class member. * gmime/gmime-gpg-context.c (gpg_ctx_parse_signer_info): Extract the signature class and version tokens. 2011-02-08 Jeffrey Stedfast * PORTING: Updated docs. * mono/GMime.metadata: Fixed up for the new decrypt API. * gmime/gmime-message.c (multipart_guess_body): Updated. We can no longer descend into the decrypted part because it is no longer cached. * gmime/gmime-multipart-encrypted.c (g_mime_multipart_encrypted_decrypt): Now takes a GMimeSignatureValidity argument and no longer caches the decrypted mime part/validity. (g_mime_multipart_encrypted_get_signature_validity): Removed. (g_mime_multipart_encrypted_encrypt): Don't cache the input part as the decrypted part. 2011-01-22 Jeffrey Stedfast * gmime/gmime-gpg-context.c (gpg_ctx_parse_signer_info): Parse the ERRSIG's return code, fixes bug #638605. * gmime/gmime-crypto-context.h: Added UNSUPP_ALGO error value. 2011-01-22 Jeffrey Stedfast * gmime/gmime-stream-mem.c (stream_write): Correctly calculate the end boundary of the stream when bound_end is -1.