Re: Cancel operation does not return error code

2022-03-10 Thread Ingo Klöcker
On Donnerstag, 10. März 2022 14:30:29 CET Schultschik, Sven via Gnupg-users wrote: > if your using gpgme with interactive password entry on the command line and > the user cancels the operation, shouldn't there be an error returned? > > Following code > > err = gpgme_op_encrypt(ctx, NULL,

Cancel operation does not return error code

2022-03-10 Thread Schultschik, Sven via Gnupg-users
Hi, if your using gpgme with interactive password entry on the command line and the user cancels the operation, shouldn't there be an error returned? Following code err = gpgme_op_encrypt(ctx, NULL, GPGME_ENCRYPT_SYMMETRIC, in, out); fprintf(stdout, "DEBUG ERROR Code = \%d \%s \%s\n" ,

Cancel operation does not return error code

2022-03-10 Thread Schultschik, Sven via Gnupg-users
Hi, if your using gpgme with interactive password entry on the command line and the user cancels the operation, shouldn't there be an error returned? Following code err = gpgme_op_encrypt(ctx, NULL, GPGME_ENCRYPT_SYMMETRIC, in, out); fprintf(stdout, "DEBUG ERROR Code = \%d \%s \%s\n" ,