1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-17 14:07:03 +01:00

Commit Graph

  • f82bdf6e94 * keybox-search.c (blob_cmp_name): There is no terminating 0 stored for the uid; fixed length compare. Werner Koch 2001-12-15 16:19:08 +00:00
  • 1301c0b5ef * decrypt.c (gpgsm_decrypt): Write STATUS_DECRYPTION_*. * sign.c (gpgsm_sign): Write a STATUS_SIG_CREATED. Werner Koch 2001-12-15 12:36:39 +00:00
  • 308efc3e5f Minor portability tweak for RISC OS David Shaw 2001-12-15 06:32:24 +00:00
  • fb446a5aeb * keylist.c (list_cert_colon): Kludge to show an email address encoded in the subject's DN. Werner Koch 2001-12-14 20:48:26 +00:00
  • 134d401a4e * keybox-blob.c (x509_email_kludge): New. (_keybox_create_x509_blob): Insert an extra email address if the subject's DN has an email part. * keybox-defs.h: Added the xtoi_2 and digitp macros. Werner Koch 2001-12-14 20:48:07 +00:00
  • 6d27c940b2 * verify.c (gpgsm_verify): Add hash debug helpers * sign.c (gpgsm_sign): Ditto. Werner Koch 2001-12-14 19:36:33 +00:00
  • 8cd7e2ab8d * assuan-listen.c (assuan_close_input_fd): New. (assuan_close_output_fd): New. * assuan-handler.c (std_handler_reset): Always close them after a reset command. (std_handler_bye): Likewise. Werner Koch 2001-12-14 19:35:56 +00:00
  • b47b62b5f5 * gpgsm.c (main): New option --debug-wait n, so that it is possible to attach gdb when used in server mode. Werner Koch 2001-12-14 15:40:20 +00:00
  • 61ba223221 * gpg-agent.c (main): New option --batch. New option --debug-wait n, so that it is possible to attach gdb when used in server mode. * query.c (agent_askpin): Don't ask in batch mode. Werner Koch 2001-12-14 15:39:44 +00:00
  • 7606e3b33a * util.h (digitp, hexdigitp): New ctype like macros. (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New. Werner Koch 2001-12-14 13:43:42 +00:00
  • 317bccd134 * util.h (digitp, hexdigitp): New ctype like macros. (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New. Werner Koch 2001-12-14 13:37:08 +00:00
  • b020999687 * sign.c (get_default_signer): Use keydb_classify_name here. Werner Koch 2001-12-14 13:35:34 +00:00
  • 601e41285f Fixed test key Werner Koch 2001-12-14 13:09:51 +00:00
  • e8cc8e4064 Fixed test key Werner Koch 2001-12-14 13:09:51 +00:00
  • 595c2cbd87 * keylist.c (list_cert_colon): Print alternative names of subject and a few other values. Werner Koch 2001-12-14 09:20:42 +00:00
  • 0cc8790425 Change history, doubleplusgood. Marcus Brinkmann 2001-12-14 01:28:22 +00:00
  • 788a9bc51f 2001-12-14 Marcus Brinkmann <marcus@g10code.de> Marcus Brinkmann 2001-12-14 01:23:07 +00:00
  • e6336cb1ff assuan/ 2001-12-14 Marcus Brinkmann <marcus@g10code.de> Marcus Brinkmann 2001-12-13 23:20:02 +00:00
  • d7db0736fd 2001-12-13 Marcus Brinkmann <marcus@gnu.org> Marcus Brinkmann 2001-12-13 20:16:21 +00:00
  • dda2440aea * keylist.c (list_cert_colon): Print alternative names of subject and a few other values. Werner Koch 2001-12-13 13:11:40 +00:00
  • e4f9871d91 * keybox-search.c (blob_cmp_name): Kludge to allow searching for more than one name. (has_subject_or_alt): New. (blob_cmp_mail): New. (has_mail): New. (keybox_search): Implemented exact search and exact mail search. Werner Koch 2001-12-13 13:10:58 +00:00
  • c3567c42b7 Now that the DN encoding works more correct, we have to update the default key. Werner Koch 2001-12-13 09:33:36 +00:00
  • 9e241878a6 Made decryption work in --server mode, allow output of plain base64, allow --armor and --base64 arguments for INPUT and OUTPUT, new global option --base64, cleaned up the help page. Werner Koch 2001-12-13 09:09:11 +00:00
  • 717bc63ad2 Fixed INPUT/OUTPUT command Werner Koch 2001-12-13 09:07:28 +00:00
  • ed32beee67 Fixed some types for portability. Noted by Stefan Bellon. David Shaw 2001-12-12 19:31:13 +00:00
  • bc11060de9 * gpgsm.c (main): New options --assume-{armor,base64,binary}. * base64.c (base64_reader_cb): Fixed non-autodetection mode. Werner Koch 2001-12-12 11:57:28 +00:00
  • d0eb9ade2c * assuan-connect.c (assuan_pipe_connect): Implemented the inital handshake. * assuan-client.c (read_from_server): Renamed to (_assuan_read_from_server): this and made external. Werner Koch 2001-12-12 09:17:23 +00:00
  • 6a8c47bd29 Implemented encryption in server mode. Allow to specify a recipient on the commandline There is still a default hardwired recipient if none has been set. Werner Koch 2001-12-11 12:31:04 +00:00
  • f463880562 New searchmode and hack to allow a hex encoded serial number Werner Koch 2001-12-11 12:28:17 +00:00
  • 0d2ea2811b new error codes Werner Koch 2001-12-11 12:27:10 +00:00
  • f312047a67 --encrypt does now work for a hardwired key. Werner Koch 2001-12-10 19:18:27 +00:00
  • 79956a08e0 The Agent does now call the pin entry program; however because we have not yet implemeted secret key protection, its purpose is somewhat limited. Well, the PIN entry modules can now be tested. Werner Koch 2001-12-10 09:27:30 +00:00
  • 27949781ec PGP2 patch. --pgp2 sets things up for pgp2 compatibility, and prints a warning if the user does something that would make the message not compatible (i.e. encrypt with a non-RSA key, etc.) David Shaw 2001-12-07 15:24:32 +00:00
  • 1ccd578910 Sig expiration code Offer to expire a key signature when the key the user is signing expires Expired sigs cause an error return If --expert is set, prompt for sig duration David Shaw 2001-12-07 01:14:15 +00:00
  • 98facb5800 Allow a regular key signature to promote a local signature to full exportable status David Shaw 2001-12-07 01:04:02 +00:00
  • 2e941ab7a3 New option --expert Do not allow signing a revoked UID unless --expert is set, and ask even then. Do not allow signing a revoked key unless --expert is set, and ask even then. David Shaw 2001-12-07 01:00:21 +00:00
  • ebd148e553 Bug fix in "showpref" Allow setting a no-compression preference David Shaw 2001-12-07 00:57:50 +00:00
  • 88fbd0dfcf "eyesonly" patch. Implements the for-your-eyes-only feature. David Shaw 2001-12-07 00:54:18 +00:00
  • 46efe28815 "sigclass" patch - adds key signature class levels, notation and policy-url displays in key listings, and shows flags for signature features. David Shaw 2001-12-06 22:04:08 +00:00
  • 934ac0bd7d The new keyserver code itself David Shaw 2001-12-06 21:54:04 +00:00
  • 293935be4c (sigh). Missed one file. David Shaw 2001-12-06 21:50:24 +00:00
  • 121f87d257 Build changes for keyserver code David Shaw 2001-12-06 21:44:23 +00:00
  • b7a4656965 Generic keyserver API code David Shaw 2001-12-06 21:43:04 +00:00
  • 4b01e2a943 keyserver API definitions David Shaw 2001-12-06 21:42:03 +00:00
  • 20df8a8db5 Keyserver "helper" app code David Shaw 2001-12-06 21:36:21 +00:00
  • ce32f6b6c8 Decryption does now work Werner Koch 2001-12-06 20:48:10 +00:00
  • e4a72423ff More error codes Werner Koch 2001-12-06 20:47:30 +00:00
  • f8c249a9d6 added test certificate and secret key Werner Koch 2001-12-06 20:19:52 +00:00
  • 37be272ed8 Added decryption, some code cleanup Werner Koch 2001-12-05 23:49:07 +00:00
  • e8676a0871 Started with decryption stuff Werner Koch 2001-12-05 23:48:01 +00:00
  • 64c36057eb New error codes and another mapping fnc. Werner Koch 2001-12-05 23:45:42 +00:00
  • ac88a4e804 assuan-connect.c (assuan_pipe_connect): Add more error reporting. assuan-client.c: New. assuan-inquire.c: New. assuan-handler.c (process_request): Check for nested invocations. Werner Koch 2001-12-05 23:45:01 +00:00
  • 95e6da1b07 --armor does now produce PEM format. Werner Koch 2001-11-27 18:38:59 +00:00
  • 944fee70bc * base64.c: New. Changed all other functions to use this instead of direct creation of ksba_reader/writer. * gpgsm.c (main): Set ctrl.auto_encoding unless --no-armor is used. This way we can feed PEM encoded stuff to --verify. Werner Koch 2001-11-27 17:40:09 +00:00
  • 5a6a2ca248 * assuan-handler.c (assuan_register_input_notify): New. (assuan_register_output_notify): New. Werner Koch 2001-11-27 17:39:09 +00:00
  • eb485f83ef * trustdb.c (mark_usable_uid_certs): Fix segfault from bad initialization and fix reversed key signature expiration check. Werner Koch 2001-11-27 10:28:39 +00:00
  • d9aecd9eb7 * gpgsm.c: New option --agent-program * call-agent.c (start_agent): Allow to override the default path to the agent. Werner Koch 2001-11-26 17:54:49 +00:00
  • 99829ef5fb * keydb.c (keydb_add_resource): Create keybox * keylist.c (gpgsm_list_keys): Fixed non-server keylisting. * server.c (rc_to_assuan_status): New. Use it for all commands. Werner Koch 2001-11-26 13:08:36 +00:00
  • ce8a236195 More error codes Werner Koch 2001-11-26 13:08:00 +00:00
  • dd797e336e * assuan.h: Added more status codes. Werner Koch 2001-11-26 09:07:11 +00:00
  • 0e36c4c6a7 The agent does now work and read the secret keys from the directory ~/.gnupg-test/private-keys-v1.d/<keygrip-as-20-byte-hex-number>. I will post a sample key to gpa-dev. Werner Koch 2001-11-25 18:23:06 +00:00
  • 8cf367848a (assuan_process): Moved bulk of function to .. (process_request): .. new. (assuan_process_next): One shot version of above. (assuan_get_active_fds): New. NOTE - this has not been tested yet. Werner Koch 2001-11-25 16:52:42 +00:00
  • c0d12ef3fb * assuan-handler.c (assuan_register_bye_notify) (assuan_register_reset_notify) (assuan_register_cancel_notify): New and call them from the standard handlers. Werner Koch 2001-11-25 14:53:39 +00:00
  • 922cedfe58 As promised a agent which already does some things. Not very useful yet but may be of help for using it in ther contexts. Werner Koch 2001-11-25 14:53:10 +00:00
  • f60dc501d2 Introduced the keygrip Werner Koch 2001-11-24 22:20:38 +00:00
  • 5a4cbaf443 Add a copyright note to the bottom Werner Koch 2001-11-24 22:20:00 +00:00
  • 2be29a3cd2 * assuan-connect.c (assuan_get_pid): New - actually done by Marcus in gpgme. Set the line length back to the old value. Werner Koch 2001-11-24 21:20:22 +00:00
  • d3a626ba68 * assuan-buffer.c (_assuan_read_line): Deal with reads of more than a line. * assuan-defs.h: Add space in the context for this. Werner Koch 2001-11-24 21:10:22 +00:00
  • 1e443ad637 Friedman is setting up his desk Werner Koch 2001-11-24 18:52:02 +00:00
  • f917085be5 Mpfrh Werner Koch 2001-11-24 17:46:55 +00:00
  • bab7fa0b29 Added new directory common to enable sharing of some code and error numbers between gpg, gpgsm and gpg-agent. Move some files and code to there. Werner Koch 2001-11-24 17:43:43 +00:00
  • 8e58435312 Signing does now work. There is no secret key management yet, so you should set GPGSM_FAKE_KEY=1 before you try to verify a signature created by gpgsm --sign or the SIGN server command. Werner Koch 2001-11-24 14:26:27 +00:00
  • 757c13a171 Just a Backup. We can now write out a basic signature which in turn exhibits a bug in --verify. Werner Koch 2001-11-23 17:12:37 +00:00
  • aa4f78a45a Map Libksba's OIDs to Libgcrypt digest algo numbers. The latest Libgcrypt CVS version is needed. Werner Koch 2001-11-20 18:28:53 +00:00
  • 6e41d49e50 * assuan.h: Prototype assuan_pipe_connect and assuan_pipe_disconnect. Marcus Brinkmann 2001-11-20 02:22:23 +00:00
  • 647001387f * assuan-connect.c (assuan_pipe_connect): Require NAME to be set. Using ARGV[0] automatically is bad mojo. Marcus Brinkmann 2001-11-19 23:44:46 +00:00
  • d6f1a79f89 Added new file to please Jan Werner Koch 2001-11-19 16:52:10 +00:00
  • a413066de1 Added basic code for keylisting. New Assuan command LISTKEYS. Werner Koch 2001-11-19 16:17:43 +00:00
  • ff1ba2fdc7 Added code for data lines. For ease of implementation we need glibc (custom streams). Werner Koch 2001-11-19 16:15:43 +00:00
  • 0b17666145 Write status output, make verify work in server mode. Werner Koch 2001-11-19 12:42:01 +00:00
  • f375790d24 Allow to store an arbitrary pointer in the context. Added assuan_write_status(). Werner Koch 2001-11-19 12:40:30 +00:00
  • 2b2a800a77 * assuan-connect.c (assuan_pipe_connect): New function. (assuan_pipe_disconnect): Likewise. * assuan-defs.h (struct assuan_context_s): New member PID. Marcus Brinkmann 2001-11-19 12:09:50 +00:00
  • 2b99de5a5d gpgsm --verify does now work like gpg including the --enable-special-filenames option. Werner Koch 2001-11-19 10:25:00 +00:00
  • 0f26760d9f Base code for gpgsm --verify does work Werner Koch 2001-11-16 17:56:23 +00:00
  • 90d060c199 We have reached a state where we are able to import certs and check the certification path. Werner Koch 2001-11-13 12:50:14 +00:00
  • 6dec3847d8 A Makefile is a pretty useful thing Werner Koch 2001-11-10 18:11:10 +00:00
  • 82f2ebc259 We now need a way to store keys Werner Koch 2001-11-10 18:10:11 +00:00
  • a014d87d1c we are now able to check self-signed certificates Werner Koch 2001-11-10 18:08:10 +00:00
  • fcfec25620 Started with keybox implementation by basing it on code from the GnuPG devel branch. Werner Koch 2001-11-10 18:06:11 +00:00
  • 2687db38df * export.c (do_export_stream): Put all given names into a search description and change the loop so that all matching names are returned. Werner Koch 2001-11-09 09:36:22 +00:00
  • 216c24452f fixes to --force-v4-certs Werner Koch 2001-11-09 09:35:22 +00:00
  • b93109638b typo fixes Werner Koch 2001-11-09 09:34:55 +00:00
  • 0a036b6b03 Tweaked v3 -c decryption, let --force-v4-certs use SHA-1 for all RSA keys. Werner Koch 2001-11-08 16:24:04 +00:00
  • 961e45bf15 *** empty log message *** Werner Koch 2001-11-08 13:30:06 +00:00
  • c67b9886c6 fixes for the 1.0.6b bugs David recently posted to gnupg-devel. Werner Koch 2001-11-08 13:26:00 +00:00
  • b725937df1 A keypair to test v3 keys. Werner Koch 2001-11-08 13:17:15 +00:00
  • 7c708298d2 Implemented server main loop and started with import command. Werner Koch 2001-11-07 17:44:22 +00:00
  • 7166bd6a5d Assuan server mode is now basically usable Werner Koch 2001-11-07 17:43:05 +00:00
  • 4fcb72b382 gpgsm does now build and a dummy server can be started. Werner Koch 2001-11-06 19:14:14 +00:00
  • 1f79656dad First chunk of code for the Assuan library Werner Koch 2001-11-06 15:42:37 +00:00