jkraemer/mail-gpg — pull request #17 by duckdalbe (2014-07-10 21:02:32+00:00)
Title: Raise Exception if no usable key is present

`GPGME#encrypt()/#encrypt_sign` raise GPGME::Error::InvalidValue if the list of public keys to encrypt with is empty. This small patch checkes for the key list not being empty before handing it over.