aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* Add a copyright note to the bottomWerner Koch2001-11-241-0/+14
|
* * assuan-connect.c (assuan_get_pid): New - actually done by Marcus in gpgme.Werner Koch2001-11-244-1/+13
| | | | | Set the line length back to the old value.
* * assuan-buffer.c (_assuan_read_line): Deal with reads of moreWerner Koch2001-11-243-8/+41
| | | | | | than a line. * assuan-defs.h: Add space in the context for this.
* Friedman is setting up his deskWerner Koch2001-11-245-38/+400
|
* MpfrhWerner Koch2001-11-241-0/+33
|
* Added new directory common to enable sharing of some code and errorWerner Koch2001-11-2421-235/+1395
| | | | | | numbers between gpg, gpgsm and gpg-agent. Move some files and code to there.
* Signing does now work. There is no secret key management yet, so youWerner Koch2001-11-246-19/+148
| | | | | | should set GPGSM_FAKE_KEY=1 before you try to verify a signature created by gpgsm --sign or the SIGN server command.
* Just a Backup. We can now write out a basic signature which in turnWerner Koch2001-11-235-1/+372
| | | | | exhibits a bug in --verify.
* Map Libksba's OIDs to Libgcrypt digest algo numbers.Werner Koch2001-11-204-14/+26
| | | | | The latest Libgcrypt CVS version is needed.