Also, use gpg exit code to determine if an error has occurred since gpg will sometimes use stderr for warning/informational messages.
optional encrypt args, pass buffer to callback
add gpg --clearsign
Hi, this is a quick change to get the gpg stderr data
Very useful to get the decryption meta data, like which signature was used.