Updated the GPGError VAPI to include gpg_err_code()
Without gpg_err_code
one cannot compare GPGError.ErrorCode
agains the enum. The correct check syntax is the following:
GPGError.ErrorCode error = context.op_keylist_next(out key);
if (error.code == GPGError.ErrorCode.EOF) break;
Edited by Itay Grudev