1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-06 23:17:47 +02:00
gnupg/agent
Мирослав Николић 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
..
agent.h gpg-agent: Add restricted connection feature. 2014-11-27 20:41:37 +01:00
cache.c gpg: Improve passphrase caching. 2014-09-17 15:12:08 +02:00
call-pinentry.c agent: Support pinentries with integrated repeat passphrase feature. 2014-10-24 20:40:12 +02:00
call-scd.c Silence several warnings when building under Windows. 2014-03-07 16:06:35 +01:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command-ssh.c Change a couple of files to use abbreviated copyright notes. 2014-11-04 16:28:03 +01:00
command.c gpg-agent: Add restricted connection feature. 2014-11-27 20:41:37 +01:00
cvt-openpgp.c Change a couple of files to use abbreviated copyright notes. 2014-11-04 16:28:03 +01:00
cvt-openpgp.h Implement unattended OpenPGP secret key import. 2013-05-22 10:14:57 +02:00
divert-scd.c gpg: Make decryption with the OpenPGP card work. 2013-08-28 17:40:32 +02:00
findkey.c gpg: Improve passphrase caching. 2014-09-17 15:12:08 +02:00
genkey.c agent: Support pinentries with integrated repeat passphrase feature. 2014-10-24 20:40:12 +02:00
gpg-agent-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpg-agent.c gpg-agent: Add restricted connection feature. 2014-11-27 20:41:37 +01:00
keyformat.txt gpg: Finish experimental support for Ed25519. 2014-05-07 13:27:43 +02:00
learncard.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
Makefile.am Remove use of gnulib (part 1) 2014-11-11 10:13:10 +01:00
pkdecrypt.c agent: Return NO_SECKEY instead of ENONET for PKSIGN and others. 2014-08-18 15:42:54 +02:00
pksign.c Change a couple of files to use abbreviated copyright notes. 2014-11-04 16:28:03 +01:00
preset-passphrase.c w32: Include winsock2.h to silence warnings. 2014-03-07 14:18:43 +01:00
protect-tool.c Make use of the *_NAME etc macros. 2013-11-18 14:09:47 +01:00
protect.c Change a couple of files to use abbreviated copyright notes. 2014-11-04 16:28:03 +01:00
t-protect.c Implement unattended OpenPGP secret key import. 2013-05-22 10:14:57 +02:00
trans.c Changed to GPLv3. 2007-07-04 19:49:40 +00:00
trustlist.c agent: Make --allow-mark-trusted the default. 2014-03-07 09:48:26 +01:00
w32main.c Make use of the *_NAME etc macros. 2013-11-18 14:09:47 +01:00
w32main.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00