aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * gpgsm.c (main): Renamed the default key database to "keyring.kbx".Werner Koch2001-12-152-1/+3
|
* * keybox-search.c (blob_cmp_name): There is no terminating 0 storedWerner Koch2001-12-152-3/+7
| | | | | for the uid; fixed length compare.
* * decrypt.c (gpgsm_decrypt): Write STATUS_DECRYPTION_*.Werner Koch2001-12-155-6/+50
| | | | | * sign.c (gpgsm_sign): Write a STATUS_SIG_CREATED.
* * keylist.c (list_cert_colon): Kludge to show an email addressWerner Koch2001-12-143-1/+55
| | | | | encoded in the subject's DN.
* * keybox-blob.c (x509_email_kludge): New.Werner Koch2001-12-144-19/+52
| | | | | | | (_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.
* * verify.c (gpgsm_verify): Add hash debug helpersWerner Koch2001-12-145-3/+73
| | | | | | | | | | | | | | * sign.c (gpgsm_sign): Ditto. * base64.c (base64_reader_cb): Reset the linelen when we need to skip the line and adjusted test; I somehow forgot about DeMorgan. * server.c (cmd_encrypt,cmd_decrypt,cmd_sign,cmd_verify) (cmd_import): Close the FDs on success. (close_message_fd): New. (input_notify): Setting autodetect_encoding to 0 after initializing it to 0 is pretty pointless. Easy to fix.
* * assuan-listen.c (assuan_close_input_fd): New.Werner Koch2001-12-144-0/+40
| | | | | | | | (assuan_close_output_fd): New. * assuan-handler.c (std_handler_reset): Always close them after a reset command. (std_handler_bye): Likewise.
* * gpgsm.c (main): New option --debug-wait n, so that it isWerner Koch2001-12-143-17/+23
| | | | | possible to attach gdb when used in server mode.
* * gpg-agent.c (main): New option --batch. New option --debug-waitWerner Koch2001-12-144-1/+23
| | | | | | n, so that it is possible to attach gdb when used in server mode. * query.c (agent_askpin): Don't ask in batch mode.
* * util.h (digitp, hexdigitp): New ctype like macros.Werner Koch2001-12-146-17/+41
| | | | | | | | (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.
* * sign.c (get_default_signer): Use keydb_classify_name here.Werner Koch2001-12-143-2/+13
|
* Fixed test keyWerner Koch2001-12-141-1/+1
|
* Fixed test keyWerner Koch2001-12-142-2/+2
|
* * keylist.c (list_cert_colon): Print alternative names of subjectWerner Koch2001-12-142-2/+6
| | | | | and a few other values.
* Change history, doubleplusgood.Marcus Brinkmann2001-12-141-1/+1
|
* 2001-12-14 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-142-12/+22
| | | | | | | * assuan-buffer.c (_assuan_read_line): New variable ATTICLEN, use it to save the number of bytes left over after the complete line. Rediddle the code a bit to make it more clear what happens.
* assuan/Marcus Brinkmann2001-12-137-9/+22
| | | | | | | | | | | | | | | | | | | | | 2001-12-14 Marcus Brinkmann <[email protected]> * assuan-defs.h (LINELENGTH): Define as ASSUAN_LINELENGTH. assuan.h: Define ASSUAN_LINELENGTH. agent/ 2001-12-14 Marcus Brinkmann <[email protected]> * query.c (LINELENGTH): Removed. (agent_askpin): Use ASSUAN_LINELENGTH, not LINELENGTH. sm/ 2001-12-14 Marcus Brinkmann <[email protected]> * call-agent.c (LINELENGTH): Removed. (gpgsm_agent_pksign): Use ASSUAN_LINELENGTH, not LINELENGTH. (gpgsm_agent_pkdecrypt): Likewise.
* 2001-12-13 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-133-2/+16
| | | | | | | | | | | * assuan-buffer.c (assuan_read_line): Fix order of execution to get correct return values. 2001-12-13 Werner Koch <[email protected]> * assuan-handler.c (assuan_get_active_fds): Fixed silly bug, pretty obvious that nobody ever tested this function.
* * keylist.c (list_cert_colon): Print alternative names of subjectWerner Koch2001-12-136-29/+65
| | | | | and a few other values.
* * keybox-search.c (blob_cmp_name): Kludge to allow searching forWerner Koch2001-12-135-30/+215
| | | | | | | | | | | | 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. * kbx/keybox-blob.c (_keybox_create_x509_blob): Insert alternate names.
* Now that the DN encoding works more correct, we have to update theWerner Koch2001-12-131-1/+1
| | | | | default key.
* Made decryption work in --server mode, allow output of plain base64,Werner Koch2001-12-134-35/+76
| | | | | | allow --armor and --base64 arguments for INPUT and OUTPUT, new global option --base64, cleaned up the help page.
* Fixed INPUT/OUTPUT commandWerner Koch2001-12-131-3/+4
|
* * gpgsm.c (main): New options --assume-{armor,base64,binary}.Werner Koch2001-12-123-5/+65
| | | | | * base64.c (base64_reader_cb): Fixed non-autodetection mode.
* * assuan-connect.c (assuan_pipe_connect): Implemented the initalWerner Koch2001-12-1210-44/+135
| | | | | | | | | | | | | | | handshake. * assuan-client.c (read_from_server): Renamed to (_assuan_read_from_server): this and made external. * assuan-listen.c (assuan_set_hello_line): New. (assuan_accept): Use a custom hello line is available. * assuan-buffer.c (assuan_read_line): New. (assuan_pending_line): New. (_assuan_write_line): Renamed to .. (assuan_write_line): this, made public and changed all callers.
* Implemented encryption in server mode.Werner Koch2001-12-1111-59/+485
| | | | | | Allow to specify a recipient on the commandline There is still a default hardwired recipient if none has been set.
* New searchmode and hack to allow a hex encoded serial numberWerner Koch2001-12-112-4/+112
|
* new error codesWerner Koch2001-12-112-0/+2
|
* --encrypt does now work for a hardwired key.Werner Koch2001-12-103-106/+424
|
* The Agent does now call the pin entry program; however because we haveWerner Koch2001-12-108-3/+336
| | | | | | not yet implemeted secret key protection, its purpose is somewhat limited. Well, the PIN entry modules can now be tested.
* Decryption does now workWerner Koch2001-12-064-31/+292
|
* More error codesWerner Koch2001-12-062-0/+5
|
* added test certificate and secret keyWerner Koch2001-12-063-0/+56
|
* Added decryption, some code cleanupWerner Koch2001-12-057-91/+375
|
* Started with decryption stuffWerner Koch2001-12-059-367/+372
|
* New error codes and another mapping fnc.Werner Koch2001-12-053-1/+27
|
* assuan-connect.c (assuan_pipe_connect): Add more error reporting.Werner Koch2001-12-0510-16/+605
| | | | | | | assuan-client.c: New. assuan-inquire.c: New. assuan-handler.c (process_request): Check for nested invocations.
* --armor does now produce PEM format.Werner Koch2001-11-275-12/+188
|
* * base64.c: New. Changed all other functions to use this insteadWerner Koch2001-11-2710-331/+782
| | | | | | | 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.
* * assuan-handler.c (assuan_register_input_notify): New.Werner Koch2001-11-274-1/+36
| | | | | (assuan_register_output_notify): New.
* * gpgsm.c: New option --agent-programWerner Koch2001-11-264-5/+21
| | | | | | * call-agent.c (start_agent): Allow to override the default path to the agent.
* * keydb.c (keydb_add_resource): Create keyboxWerner Koch2001-11-267-149/+247
| | | | | | * keylist.c (gpgsm_list_keys): Fixed non-server keylisting. * server.c (rc_to_assuan_status): New. Use it for all commands.
* More error codesWerner Koch2001-11-262-1/+5
|
* * assuan.h: Added more status codes.Werner Koch2001-11-262-0/+17
|
* The agent does now work and read the secret keys from the directoryWerner Koch2001-11-257-45/+668
| | | | | | ~/.gnupg-test/private-keys-v1.d/<keygrip-as-20-byte-hex-number>. I will post a sample key to gpa-dev.
* (assuan_process): Moved bulk of function to ..Werner Koch2001-11-253-49/+121
| | | | | | | | (process_request): .. new. (assuan_process_next): One shot version of above. (assuan_get_active_fds): New. NOTE - this has not been tested yet.
* * assuan-handler.c (assuan_register_bye_notify)Werner Koch2001-11-254-2/+55
| | | | | | | (assuan_register_reset_notify) (assuan_register_cancel_notify): New and call them from the standard handlers.
* As promised a agent which already does some things. Not very usefulWerner Koch2001-11-255-44/+220
| | | | | yet but may be of help for using it in ther contexts.
* Introduced the keygripWerner Koch2001-11-243-0/+63
|