Home GnuPG
Diffusion GnuPG 05c55ee260ed

agent: New OPTION pretend-request-origin

Description

agent: New OPTION pretend-request-origin

* common/shareddefs.h (request_origin_t): New.
* common/agent-opt.c (parse_request_origin): New.
(str_request_origin): New.
* agent/command.c (option_handler): Implement new option.

This allows to pretend that a request originated from the extra or
browser socket.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 23 2018, 8:14 AM
Parents
rG5400a5bb77bd: build: Fix the manual source field.
Branches
Unknown
Tags
Unknown