Improve error handling for the sign key command.
* src/gpgmeedit.c (parse_status_error): New. (edit_fnc): Add method to send the default answer. (edit_sign_fnc_transit): Send default answer for unknown prompts. Take care of ERROR status in the SIGN_CONFIRM state.
This requires GnuPG 2.1.8 to work as desired.
- Signed-off-by: Werner Koch <wk@gnupg.org>