1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Мирослав Николић f173cdcdfb gpg-agent: Add restricted connection feature.
* agent/agent.h (opt): Add field extra_socket.
(server_control_s): Add field restricted.
* agent/command.c: Check restricted flag on many commands.
* agent/gpg-agent.c (oExtraSocket): New.
(opts): Add option --extra-socket.
(socket_name_extra): New.
(cleanup): Cleanup that socket name.
(main): Implement oExtraSocket.
(create_socket_name): Add arg homedir and change all callers.
(create_server_socket): Rename arg is_ssh to primary and change
callers.
(start_connection_thread): Take ctrl as arg.
(start_connection_thread_std): New.
(start_connection_thread_extra): New.
(handle_connections): Add arg listen_fd_extra and replace the
connection starting code by parameterized loop.
* common/asshelp.c (start_new_gpg_agent): Detect the use of the
restricted mode and don't fail on sending the pinentry environment.

* common/util.h (GPG_ERR_FORBIDDEN): New.
2014-11-27 20:41:37 +01:00
..
2007-07-04 19:49:40 +00:00
2014-11-07 18:17:52 +01:00
2013-11-18 14:09:47 +01:00
2014-01-29 17:45:05 +01:00
2014-11-07 18:21:50 +01:00
2011-02-04 12:57:53 +01:00
2014-11-20 12:17:50 +01:00
2007-07-04 19:49:40 +00:00
2014-11-11 10:13:10 +01:00
2014-11-07 18:17:52 +01:00
2012-11-20 19:03:49 +01:00
2014-11-07 18:17:52 +01:00
2013-01-30 18:51:56 +01:00
2014-11-11 15:14:31 +01:00
2014-11-11 15:14:31 +01:00
2014-11-11 15:14:31 +01:00
2014-11-11 15:14:31 +01:00
2014-11-11 15:14:31 +01:00
2014-11-11 10:13:10 +01:00
2014-04-17 21:09:10 +02:00
2014-05-02 11:19:25 +02:00
2014-01-29 17:45:05 +01:00
2013-07-31 16:25:41 +02:00
2011-02-04 12:57:53 +01:00
2014-04-17 21:09:10 +02:00

Stuff used by several modules of GnuPG.

These directories use it:

gpg
sm
agent

These directories don't use it:

kbx