aboutsummaryrefslogtreecommitdiffstats
path: root/agent/Makefile.am (unfollow)
Commit message (Collapse)AuthorFilesLines
2005-06-01* configure.ac (gl_INIT): Add gnulib stuff.Werner Koch1-2/+2
(fseeko, ftello, ttyname, isascii): Replaced the AC_REPLACE_FUNCS by a simple check. (putc_unlocked): Removed check. Not used. (strsep, mkdtemp, asprintf): Replaced checks by gnulib checks. (xsize): Added will probably come handy soon. (CFLAGS): Use -Wformat-security instead of -Wformat-nonliteral. Add --Wno-format-y2k. * gl/, gl/m4/: New. * gpg-agent.c: Include setenv.h. * Makefile.am (AM_CPPFLAGS): Added. * util.h: Add some includes for gnulib. (ttyname, isascii): Define them inline. * fseeko.c, ftello.c: Removed. * strsep.c, mkdtemp.c: Removed. * ttyname.c, isascii.c: Removed. * mkdtemp.c: Removed. * exec.c: Include mkdtemp.h * keybox-file.c (ftello) [!HAVE_FSEEKO]: New replacement function. Copied from ../common/ftello.c. * keybox-update.c (fseeko) [!HAVE_FSEEKO]: New replacement function. Copied from ../common/iobuf.c. * scdaemon.c: Include mkdtemp.h. * misc.c: Include setenv.h. * symcryptrun.c: Include mkdtemp.h.
2005-01-262005-01-26 Moritz Schulte <[email protected]>Moritz Schulte1-2/+2
* command-ssh.c: New file. * Makefile.am (gpg_agent_SOURCES): New source file: command-ssh.c. * findkey.c (modify_description): New function. (agent_key_from_file): Support comment field in key s-expressions. * gpg-agent.c (enum cmd_and_opt_values): New item: oSSHSupport. (opts) New entry for oSSHSupport. New variable: socket_name_ssh. (cleanup_do): New function based on cleanup(). (cleanup): Use cleanup_do() for socket_name and socket_name_ssh. (main): New switch case for oSSHSupport. (main): Move socket name creation code to ... (create_socket_name): ... this new function. (main): Use create_socket_name() for creating socket names for socket_name and for socket_name_ssh in case ssh support is enabled. Move socket creation code to ... (create_server_socket): ... this new function. (main): Use create_server_socket() for creating sockets. In case standard_socket is set, do not only store a socket name in socket_name, but also in socket_name_ssh. Generate additional environment info strings for ssh support. Pass additional ssh socket argument to handle_connections. (start_connection_thread_ssh): New function. (handle_connections): Use select to multiplex between gpg-agent and ssh-agent protocol. * agent.h (struct opt): New member: ssh_support. Declare function: start_command_handler_ssh.
2004-12-21* preset-passphrase.c (preset_passphrase): Handle --passphrase.Werner Koch1-3/+15
* Makefile.am (gpg_preset_passphrase_LDADD): Reorder libs so that pwquery may use stuff from jnlib. Conditionally add -lwsock2 (gpg_protect_tool_LDADD): Ditto. * preset-passphrase.c (main): Use default_homedir(). (main) [W32]: Initialize sockets. * simple-pwquery.c (agent_open) [W32]: Implement for W32. (readline) [W32]: Use recv instead of read. (writen) [W32]: Use send instead of write. (my_stpcpy): Define a stpcpy replacement so that this file continues to be self-contained. (agent_send_all_options) [W32]: Don't call ttyname. * gnupg-badge-openpgp.eps, gnupg-badge-openpgp.jpg: New * gnupg.texi: Add a logo. * sysnotes.texi: New. * gpgsm.c (main): Use default_homedir(). (main) [W32]: Default to disabled CRL checks. * gpgconf-comp.c (get_config_pathname) [DOSISH]: Detect absolute pathnames with a drive letter.
2004-09-30Preparing a new release. Updated gettextWerner Koch1-2/+2
2004-02-18* protect-tool.c (main): Setup the used character set.Werner Koch1-1/+0
* gpg-agent.c (main): Ditto. * gpg-agent.c (set_debug): New. New option --debug-level. (main): New option --gpgconf-list.
2004-02-12Include cmacros.am for common flags.Werner Koch1-7/+7
(libexec_PROGRAMS): Put gpg-protect-tool there.
2004-01-27Some minor bug fixes, new test utilities and started support for otherWerner Koch1-2/+1
smartcard applications.
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+62
'GNUPG-1-9-BRANCH'.
2003-07-31minor changes to make make distcheck happyWerner Koch1-2/+4
2003-07-16* simple-pwquery.c, simple-pwquery.h: Moved to ../common.Werner Koch1-4/+4
* Makefile.am (gpg_protect_tool_LDADD): Add simple-pwquery.o. Removed it from xx_SOURCES.
2003-06-03Make use of libgpg-errorWerner Koch1-4/+2
2003-04-29* command.c (register_commands): Adjusted for new Assuan semantics.Werner Koch1-4/+4
* Makefile.am: Don't override LDFLAGS.
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin1-62/+0
'GNUPG-1-9-BRANCH'.
2002-08-21* divert-scd.c (getpin_cb): Pass a more descritive text to theWerner Koch1-3/+3
pinentry. * Makefile.am: Renamed the binary protect-tool to gpg-protect-tool. * protect-tool.c: Removed the note about internal use only. * gpg-agent.c (main): New option --daemon so that the program is not accidently started in the background.
2002-08-10Minor changes for gettextNEWPG-0-3-10Werner Koch1-0/+3
2002-06-27* Makefile.am (pkglib_PROGRAMS): Put protect-tool there.Werner Koch1-3/+3
* findkey.c (agent_write_private_key,agent_key_from_file) (agent_key_available): Use GNUPG_PRIVATE_KEYS_DIR constant. * gpg-agent.c (main): Use GNUPG_DEFAULT_HOMEDIR constant. * protect-tool.c (store_private_key): New. (import_p12_file): Store the new file if requested. (main): New options --force and --store. * gpg-agent.c (main): Set a global flag when runing detached. * query.c (start_pinentry): Pass the list of FD to keep in the child when not running detached. * call-scd.c (start_scd): Ditto.
2002-06-25* protect-tool.c (rsa_key_check): New.NEWPG-0-3-8Werner Koch1-1/+6
(import_p12_file): New. (main): New command --p12-import. * minip12.c, minip12.h: New.
2002-05-23* no-pth.c, Makefile.am: Removed.Werner Koch1-2/+2
* call-scd.c: Seirialized all scdaeom access when using Pth. * cache.c: Made the cache Pth-thread-safe. (agent_unlock_cache_entry): New. * findkey.c (unprotect): Unlock the returned cache value. * command.c (cmd_get_passphrase): Ditto. * gpg-agent.c (main): Register pth_read/write with Assuan.
2002-03-06sm/Werner Koch1-0/+1
* gpgsm.c: New command --learn-card * call-agent.c (learn_cb,gpgsm_agent_learn): New. * gpgsm.c (main): Print error messages for non-implemented commands. agent/ * learncard.c: New. * divert-scd.c (ask_for_card): The serial number is binary so convert it to hex here. * findkey.c (agent_write_private_key): New. * genkey.c (store_key): And use it here. scd/ * pkdecrypt.c (agent_pkdecrypt): Changed the way the diversion is done. * divert-scd.c (divert_pkdecrypt): Changed interface and implemented it.
2002-03-04* pksign.c (agent_pksign): Detect whether a Smartcard is to beWerner Koch1-1/+3
used and divert the operation in this case. * pkdecrypt.c (agent_pkdecrypt): Likewise * findkey.c (agent_key_from_file): Add optional arg shadow_info and have it return information about a shadowed key. * protect.c (agent_get_shadow_info): New. * protect.c (snext,sskip,smatch): Moved to * sexp-parse.h: new file. * divert-scd.c: New.
2002-02-28Changes needed to support smartcards. Well, only _support_. There isWerner Koch1-1/+3
no real code yet.
2002-01-31* genkey.c (store_key): Protect the key.Werner Koch1-1/+7
(agent_genkey): Ask for the passphrase. * findkey.c (unprotect): Actually unprotect the key. * query.c (agent_askpin): Add an optional start_err_text.
2002-01-19* gpg-agent.c (main): Disable core dumps.Werner Koch1-0/+1
* cache.c: New. * command.c (cmd_get_passphrase): Use the cache. (cmd_clear_passphrase): Ditto. * gpg-agent.c: Removed unused cruft and implement the socket based server. (my_strusage): Take bug report address from configure.ac. * command.c (start_command_handler): Add an argument to start as regular server. (start_command_handler): Enable Assuan logging.
2002-01-15* trustlist.c: New.Werner Koch1-1/+2
* command.c (cmd_istrusted, cmd_listtrusted, cmd_marktrusted): New.
2002-01-10* genkey.c: Store the secret part and return the public part.Werner Koch1-1/+2
2001-12-18* Makefile.am (AM_CPPFLAGS): Add flags for libksbaNEWPG-0-0-0Werner Koch1-3/+3
* Makefile.am (AM_CPPFLAGS): Include flags for gcrypt and ksba * Makefile.am: Use LIBGCRYPT macros
2001-12-10The Agent does now call the pin entry program; however because we haveWerner Koch1-0/+2
not yet implemeted secret key protection, its purpose is somewhat limited. Well, the PIN entry modules can now be tested.
2001-12-05Added decryption, some code cleanupWerner Koch1-1/+3
2001-11-25As promised a agent which already does some things. Not very usefulWerner Koch1-0/+1
yet but may be of help for using it in ther contexts.
2001-11-24Friedman is setting up his deskWerner Koch1-1/+3
2001-11-24MpfrhWerner Koch1-11/+9
2001-11-24Added new directory common to enable sharing of some code and errorWerner Koch1-18/+10
numbers between gpg, gpgsm and gpg-agent. Move some files and code to there.
2001-11-10we are now able to check self-signed certificatesWerner Koch1-0/+1
2001-11-07Assuan server mode is now basically usableWerner Koch1-0/+2
2001-11-06gpgsm does now build and a dummy server can be started.Werner Koch1-0/+5
2001-11-06First chunk of code for the Assuan libraryWerner Koch1-12/+11
2001-10-31Created configuration filesWerner Koch1-0/+36