Home GnuPG
Diffusion GnuPG b896fccaada0

gpg: Print a warning if GKR has hijacked gpg-agent.
b896fccaada0Unpublished

Unpublished Commit · Learn More

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

Description

gpg: Print a warning if GKR has hijacked gpg-agent.

* g10/call-agent.c (check_hijacking): New.
(start_agent): Call it.
(membuf_data_cb, default_inq_cb): Move more to the top.

Note that GUIs may use the gpg status line

[GNUPG:] ERROR check_hijacking 33554509

to detect this and print an appropriate warning.

Details

Provenance
wernerAuthored on Apr 15 2014, 4:40 PM
Parents
rGefecbb7a3f0c: gpg: Fix use of deprecated RSA_E and RSA_E with newer libgcrypts.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGb896fccaada0: gpg: Print a warning if GKR has hijacked gpg-agent. (authored by Werner Koch <wk@gnupg.org>).Apr 22 2014, 12:45 PM