class GPGME::Ctx

def ignore_mdc_error=(yes)

Use with great caution.
Be aware that a missing or failed MDC can be an indication of an attack.
but it is necessary to get as much data as possible out of that garbled message.
It may also be useful if a message is partially garbled,
It is required to decrypt old messages which did not use an MDC.
This option ignores a MDC integrity protection failure.
def ignore_mdc_error=(yes)
  GPGME::gpgme_set_ignore_mdc_error(self, yes ? 1 : 0)
  yes
end