[Kolab-devel] [issue4132] pinentry-qt4: implement confirm yes/no/cancel

Marc Mutz issues at kolab.org
Tue Feb 16 14:10:17 CET 2010


New submission from Marc Mutz <marc at kdab.net>:

Says Marcus Brinkmann:
pinentry's confirm command can now have three results: yes, no, cancel.  This
was implemented to get rid of the do-you-trust messages (answering "no" will
get rid of them).

This is not yet implemented in pinentry-qt4.  Here is how it works:

  if (!pinentry->pin && !pinentry->one_button && pinentry->notok)
    {
      /* Add button with text "pinentry->notok".  */
      [...]
    }

Furthermore:

If "cancel" or window close:

  pinentry->canceled = 1
  return 0;

If OK:
  return 1;

If NOT OK:
  return 0;

----------
assignedto: marc
keyword: enterprise4, gpg4win2
messages: 23595
nosy: bernhard, emanuel, marc, till
status: unread
title: pinentry-qt4: implement confirm yes/no/cancel

______________________________________
Kolab issue tracker <issues at kolab.org>
<https://issues.kolab.org/issue4132>
______________________________________




More information about the devel mailing list