summaryrefslogtreecommitdiffstats
path: root/common/simple-pwquery.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2005-07-04 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2005-07-041-1/+23
| | | | | | * simple-pwquery.h (simple_pwclear): New prototype. * simple-pwquery.c (simple_pwclear): New function.
* gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch2005-06-161-1/+1
| | | | | | | char * vs. unsigned char * warnings. The GNU coding standards used to say that these mismatches are okay and better than a bunch of casts. Obviously this has changed now.
* 2005-04-11 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2005-04-111-1/+1
| | | | | * simple-pwquery.c (simple_pwquery): Use spwq_secure_free.
* * gpg-agent.c (handle_connections): Need to check for events ifWerner Koch2005-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | select returns with -1. * tools.texi (gpg-connect-agent): New. * app-openpgp.c (get_one_do): Never try to get a non cacheable object from the cache. (get_one_do): Add new arg to return an error code. Changed all callers. (do_getattr): Let it return a proper error code. * app.c (select_application): Return an error code and the application context in an new arg. * command.c (open_card): Adjusted for that. Don't use the fallback if no card is present. Return an error if the card has been removed without a reset. (do_reset, cmd_serialno): Clear that error flag. (TEST_CARD_REMOVAL): New. Use it with all command handlers. * scdaemon.c (ticker_thread): Termintate if a shutdown is pending. * apdu.c: Added some PCSC error codes. (pcsc_error_to_sw): New. (reset_pcsc_reader, pcsc_get_status, pcsc_send_apdu) (open_pcsc_reader): Do proper error code mapping. * gpg-connect-agent.c: New. * Makefile.am: Add it.
* * preset-passphrase.c (preset_passphrase): Handle --passphrase.Werner Koch2004-12-211-12/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* A whole bunch of changes to allow building for W32.Werner Koch2004-12-151-4/+2
|
* VArious hacks to make it at least build under W32.Werner Koch2004-12-131-0/+2
| | | | | | | | | | * stringhelp.c (w32_strerror) [W32]: New. * w32-pth.c, w32-pth.h: Added real code written by Timo Schulz. Not finished, though. * gpgconf-comp.c <ignore-ocsp-service-url>: Fixed typo.
* First take on a W32 portWerner Koch2004-12-021-0/+8
|
* (simple_pwquery): Handle gpg-error style returnWerner Koch2004-08-181-2/+8
| | | | | code for canceled.
* (copy_and_escape): Relaxed quoting.Werner Koch2004-04-131-5/+7
|
* * protect-tool.c: New options --have-cert and --prompt.Werner Koch2004-02-191-1/+6
| | | | | | | | | | | | | | | | | | | | (export_p12_file): Read a certificate from STDIN and pass it to p12_build. Detect a keygrip and construct the filename in that case. Unprotcet a key if needed. Print error messages for key formats we can't handle. (release_passphrase): New. (get_passphrase): New arg PROMPTNO. Return the allocated string. Changed all callers. * minip12.c: Revamped the build part. (p12_build): New args CERT and CERTLEN. * simple-pwquery.c (agent_open): Don't mangle INFOSTR. * export.c (export_p12, popen_protect_tool) (gpgsm_p12_export): New. * gpgsm.c (main): New command --export-secret-key-p12.
* * simple-pwquery.c (agent_open): Ignore an empty GPG_AGENT_INFO.Werner Koch2004-02-181-1/+1
|
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+486
'GNUPG-1-9-BRANCH'.