aboutsummaryrefslogtreecommitdiffstats
path: root/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * vasprintf.c: Hack to handle NULL for %s.Werner Koch2002-08-212-2/+13
|
* Renamed an error code.Werner Koch2002-08-163-3/+3
|
* * signal.c: New. Taken from GnuPG 1.1.91.Werner Koch2002-08-094-3/+246
|
* * fseeko.c, ftello.c: New.Werner Koch2002-07-224-1/+89
| | | | | * configure.ac: Check for ftello and provide a replacement.
* * maperror.c (map_to_assuan_status): Map more errorcodes to BadWerner Koch2002-06-282-0/+11
| | | | | Certificate.
* * maperror.c (map_to_assuan_status): Map EOF to No_Data_Available.Werner Koch2002-06-262-0/+7
|
* Various changes.Werner Koch2002-06-125-6/+91
|
* * no-pth.c, Makefile.am: Removed.Werner Koch2002-05-233-55/+4
| | | | | | | | | | | | * 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.
* * mkdtemp.c: Replaced byte by unsigned char because it is no longerWerner Koch2002-05-222-2/+7
| | | | | defined in gcrypt.h.
* * keylist.c (list_internal_keys): Renamed from gpgsm_list_keys.Werner Koch2002-05-211-1/+3
| | | | | | | | | | | (list_external_keys): New. (gpgsm_list_keys): Dispatcher for above. * call-dirmngr.c (lookup_cb,pattern_from_strlist) (gpgsm_dirmngr_lookup): New. * server.c (option_handler): Handle new option --list-mode. (do_listkeys): Handle options and actually use the mode argument. (get_status_string): New code TRUNCATED.
* * import.c (gpgsm_import): Try to identify the type of input andWerner Koch2002-05-212-2/+33
| | | | | | | | | | handle certs-only messages. * maperror.c (map_gcry_err): Add libgcrypt's new S-expression errors. (map_ksba_err): Add a few mappings. * configure.ac: We now require libgcrypt 1.1.7 and libksba 0.4.2.
* sm/Werner Koch2002-05-144-1/+100
| | | | | | | | | | | | | | * gpgsm.c: New option --faked-system-time * sign.c (gpgsm_sign): And use it here. * certpath.c (gpgsm_validate_path): Ditto. common/ * gettime.c: New. agent/ * cache.c (housekeeping, agent_put_cache): Use our time() wrapper. / * doc/: New * configure.ac, Makefile.am: Added doc/
* * errors.h: Added STARUS_EXPSIG and STATUS_EXPKEYSIG.NEWPG-0-3-6Werner Koch2002-05-032-0/+7
|
* * cryptmiss.c: New.Werner Koch2002-04-153-1/+45
|
* * certlist.c (cert_usable_p): New.Werner Koch2002-04-121-0/+1
| | | | | | | | | | | | (gpgsm_cert_use_sign_p,gpgsm_cert_use_encrypt_p): New. (gpgsm_cert_use_verify_p,gpgsm_cert_use_decrypt_p): New. (gpgsm_add_to_certlist): Check the key usage. * sign.c (gpgsm_sign): Ditto. * verify.c (gpgsm_verify): Print a message wehn an unsuitable certificate was used. * decrypt.c (gpgsm_decrypt): Ditto * keylist.c (print_capabilities): Determine values from the cert.
* More error codesWerner Koch2002-03-121-0/+2
|
* We got more error codes than actual code ;-)Werner Koch2002-03-051-0/+1
|
* Changes needed to support smartcards. Well, only _support_. There isWerner Koch2002-02-282-1/+10
| | | | | no real code yet.
* * certpath.c (check_cert_policy): New.Werner Koch2002-02-191-0/+2
| | | | | | | | (gpgsm_validate_path): And call it from here. * gpgsm.c (main): New options --policy-file, --disable-policy-checks and --enable-policy-checks. * gpgsm.h (opt): Added policy_file, no_policy_checks.
* More error codesWerner Koch2002-02-183-0/+23
|
* * fopencookie.c: Dummy function.Werner Koch2002-02-127-4/+288
| | | | | | | | * vasprintf.c: New. Taken from binutils-2.9.1 and dropped all non ANSI-C stuff. Merged with asprintf version. * no-pth.c: New.
* * certlist.c (gpgsm_add_to_certlist): Check that the specifiedWerner Koch2002-02-071-0/+1
| | | | | | | | | | | | | | | | name identifies a certificate unambiguously. (gpgsm_find_cert): Ditto. * server.c (cmd_listkeys): Check that the data stream is available. (cmd_listsecretkeys): Ditto. (has_option): New. (cmd_sign): Fix ambiguousity in option recognition. * gpgsm.c (main): Enable --logger-fd. * encrypt.c (gpgsm_encrypt): Increased buffer size for better performance. * call-agent.c (gpgsm_agent_pksign): Check the S-Exp received from the agent. * keylist.c (list_cert_colon): Filter out control characters.
* Added a few more error codesWerner Koch2002-01-311-0/+3
|
* * mkdtemp.c: Copied from gnupg-1.0.6c and changed to use libgcrypt.Werner Koch2002-01-233-0/+104
| | | | | | * configure.ac (mkdtemp): See whether we have to provide a replacement.
* * certpath.c (unknown_criticals): New.Werner Koch2002-01-221-0/+4
| | | | | | | (allowed_ca): New. (gpgsm_validate_path): Check validity, CA attribute, path length and unknown critical extensions.
* * sysutils.c: New. This is the misc.c file from gnupg 1.0.6 withWerner Koch2002-01-194-1/+244
| | | | | | the OpenPGP stuff removed. * sysutils.h: New.
* More error codes and mappingsWerner Koch2002-01-192-0/+4
|
* * maperror.c: Add mapping for Not_Trusted.Werner Koch2002-01-153-0/+10
|
* * maperror.c (map_assuan_err): Codes for CRLWerner Koch2002-01-113-1/+14
|
* *** empty log message ***Werner Koch2002-01-104-2/+72
|
* * maperror.c (map_gcry_err): Add some mappings.Werner Koch2001-12-203-0/+47
|
* * Makefile.am (AM_CPPFLAGS): Add flags for libksbaNEWPG-0-0-0Werner Koch2001-12-182-0/+14
| | | | | | * Makefile.am (AM_CPPFLAGS): Include flags for gcrypt and ksba * Makefile.am: Use LIBGCRYPT macros
* * util.h (digitp, hexdigitp): New ctype like macros.Werner Koch2001-12-141-2/+2
| | | | | | | | (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New. * command.c: Removed the conversion macros as they are now in ../common/util.h.
* * util.h (digitp, hexdigitp): New ctype like macros.Werner Koch2001-12-142-0/+32
| | | | | (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New.
* new error codesWerner Koch2001-12-111-0/+1
|
* The Agent does now call the pin entry program; however because we haveWerner Koch2001-12-101-0/+4
| | | | | | not yet implemeted secret key protection, its purpose is somewhat limited. Well, the PIN entry modules can now be tested.
* More error codesWerner Koch2001-12-062-0/+5
|
* New error codes and another mapping fnc.Werner Koch2001-12-053-1/+27
|
* More error codesWerner Koch2001-11-261-0/+4
|
* The agent does now work and read the secret keys from the directoryWerner Koch2001-11-251-1/+9
| | | | | | ~/.gnupg-test/private-keys-v1.d/<keygrip-as-20-byte-hex-number>. I will post a sample key to gpa-dev.
* Added new directory common to enable sharing of some code and errorWerner Koch2001-11-247-0/+434
numbers between gpg, gpgsm and gpg-agent. Move some files and code to there.