Home GnuPG

gnome3: Convert password/confirmation to asynchronous model.
d0fe54d592a8Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gnome3: Convert password/confirmation to asynchronous model.

* gnome3/pinentry-gnome3.c (gnome3_cmd_handler): Convert main part of
password or confirmation fetching into asynchronous code by moving
completion into...
(_gcr_prompt_password_done): ... here and...
(_gcr_prompt_confirm_done): ... here.

The async programming interface to gcr is necessary if we want to be
able to enforce a timeout, which will happen in the next patch in this
series.

Did not apply cleanluy due to me comment reformatting in a former
patch. Fixed. -wk

  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Details

Provenance
dkgAuthored on Nov 4 2016, 11:57 PM
wernerCommitted on Nov 5 2016, 11:29 AM
Parents
rP102832a2c1f3: qt: Report timeout.
Branches
Unknown
Tags
Unknown