gnupg.git
17 years ago* server.c (gpgsm_server): Use assuan_deinit_server and setup
Werner Koch [Sat, 19 Jan 2002 18:21:14 +0000 (18:21 +0000)]
* server.c (gpgsm_server): Use assuan_deinit_server and setup
assuan logging if enabled.
* call-agent.c (inq_ciphertext_cb): Don't show the session key in
an Assuan log file.

* gpgsm.c (my_strusage): Take bugreport address from configure.ac

17 years agoMore error codes and mappings
Werner Koch [Sat, 19 Jan 2002 18:20:45 +0000 (18:20 +0000)]
More error codes and mappings

17 years ago* assuan-buffer.c (_assuan_read_line): Add output logging.
Werner Koch [Sat, 19 Jan 2002 18:20:15 +0000 (18:20 +0000)]
* assuan-buffer.c (_assuan_read_line): Add output logging.
(assuan_write_line): Ditto.
(_assuan_cookie_write_data): Ditto.
(_assuan_cookie_write_flush): Ditto.
* assuan-util.c (_assuan_log_print_buffer): New.
(assuan_set_log_stream): New.
(assuan_begin_confidential): New.
(assuan_end_confidential): New.

* assuan-defs.h: Add a few handler variables.
* assuan-pipe-server.c (assuan_deinit_pipe_server): Removed.
(deinit_pipe_server): New.
(assuan_deinit_server): New.  Changed all callers to use this.
* assuan-listen.c (assuan_accept): Use the accept handler.
* assuan-handler.c (process_request): Use the close Handler.
* assuan-socket-server.c: New.

17 years ago* gpg-agent.c: Removed unused cruft and implement the socket
Werner Koch [Sat, 19 Jan 2002 18:19:47 +0000 (18:19 +0000)]
* gpg-agent.c:  Removed unused cruft and implement the socket
based server.
(my_strusage): Take bug report address from configure.ac.
* command.c (start_command_handler): Add an argument to start as
regular server.
(start_command_handler): Enable Assuan logging.

17 years ago* import.c (gpgsm_import): Just do a basic cert check before
Werner Koch [Tue, 15 Jan 2002 13:02:47 +0000 (13:02 +0000)]
* import.c (gpgsm_import): Just do a basic cert check before
storing it.
* certpath.c (gpgsm_basic_cert_check): New.

* keydb.c (keydb_store_cert): New.
* import.c (store_cert): Removed and change all caller to use
the new function.
* verify.c (store_cert): Ditto.

* certlist.c (gpgsm_add_to_certlist): Validate the path

* certpath.c (gpgsm_validate_path): Check the trust list.
* call-agent.c (gpgsm_agent_istrusted): New.

17 years ago* keybox-search.c (blob_cmp_fpr): New.
Werner Koch [Tue, 15 Jan 2002 13:02:25 +0000 (13:02 +0000)]
* keybox-search.c (blob_cmp_fpr): New.
(has_fingerprint): Implemented;

17 years ago* maperror.c: Add mapping for Not_Trusted.
Werner Koch [Tue, 15 Jan 2002 13:02:13 +0000 (13:02 +0000)]
* maperror.c: Add mapping for Not_Trusted.

17 years ago* trustlist.c: New.
Werner Koch [Tue, 15 Jan 2002 13:01:52 +0000 (13:01 +0000)]
* trustlist.c: New.
* command.c (cmd_istrusted, cmd_listtrusted, cmd_marktrusted): New.

17 years ago* call-dirmngr.c (inq_certificate): Changed for new interface semantic.
Werner Koch [Mon, 14 Jan 2002 12:15:30 +0000 (12:15 +0000)]
* call-dirmngr.c (inq_certificate): Changed for new interface semantic.
* certlist.c (gpgsm_find_cert): New.

DirMngr should now work.  Remember that there is a --disable-crl-check
option in gpgsm to be used when there is a problem with the dirmngr
communication or you want to do faster tests.

17 years ago* assuan-client.c (_assuan_read_from_server): Skip spaces after
Werner Koch [Mon, 14 Jan 2002 12:13:18 +0000 (12:13 +0000)]
* assuan-client.c (_assuan_read_from_server): Skip spaces after
the keyword.

17 years ago* fingerprint.c (gpgsm_get_certid): Print the serialand not the
Werner Koch [Sun, 13 Jan 2002 10:43:21 +0000 (10:43 +0000)]
* fingerprint.c (gpgsm_get_certid): Print the serialand not the
hash after the dot.

17 years ago* call-dirmngr.c: New.
Werner Koch [Fri, 11 Jan 2002 17:07:51 +0000 (17:07 +0000)]
* call-dirmngr.c: New.
* certpath.c (gpgsm_validate_path): Check the CRL here.
* fingerprint.c (gpgsm_get_certid): New.
* gpgsm.c: New options --dirmngr-program and --disable-crl-checks.

17 years ago* maperror.c (map_assuan_err): Codes for CRL
Werner Koch [Fri, 11 Jan 2002 17:07:15 +0000 (17:07 +0000)]
* maperror.c (map_assuan_err): Codes for CRL

17 years agonew error codes
Werner Koch [Fri, 11 Jan 2002 17:07:05 +0000 (17:07 +0000)]
new error codes

17 years ago* base64.c (gpgsm_create_writer): Allow to set the object name
Werner Koch [Thu, 10 Jan 2002 19:47:20 +0000 (19:47 +0000)]
* base64.c (gpgsm_create_writer): Allow to set the object name
* server.c (cmd_genkey): New.
* certreqgen.c: New.  The parameter handling code has been taken
from gnupg/g10/keygen.c version 1.0.6.
* call-agent.c (gpgsm_agent_genkey): New.

17 years ago*** empty log message ***
Werner Koch [Thu, 10 Jan 2002 19:46:20 +0000 (19:46 +0000)]
*** empty log message ***

17 years ago* assuan-handler.c (assuan_set_okay_line): New.
Werner Koch [Thu, 10 Jan 2002 19:46:04 +0000 (19:46 +0000)]
* assuan-handler.c (assuan_set_okay_line): New.
(process_request): And use it here.

17 years ago* genkey.c: Store the secret part and return the public part.
Werner Koch [Thu, 10 Jan 2002 19:45:32 +0000 (19:45 +0000)]
* genkey.c: Store the secret part and return the public part.

17 years ago* verify.c (gpgsm_verify): Implemented non-detached signature
Werner Koch [Thu, 20 Dec 2001 16:51:06 +0000 (16:51 +0000)]
* verify.c (gpgsm_verify): Implemented non-detached signature
verification.  Add OUT_FP arg, initialize a writer and changed all
callers.
* server.c (cmd_verify): Pass an out_fp if one has been set.

17 years ago* keybox-blob.c (_keybox_create_x509_blob): Skip the leading
Werner Koch [Thu, 20 Dec 2001 16:50:13 +0000 (16:50 +0000)]
* keybox-blob.c (_keybox_create_x509_blob): Skip the leading
parenthesis of the serial number's S-exp.
(_keybox_create_x509_blob): And fixed length calculation.
(create_blob_header): Don't add an offset when writing the serial.

17 years ago* maperror.c (map_gcry_err): Add some mappings.
Werner Koch [Thu, 20 Dec 2001 16:49:48 +0000 (16:49 +0000)]
* maperror.c (map_gcry_err): Add some mappings.

17 years ago* base64.c (base64_reader_cb): Try to detect an S/MIME body part.
Werner Koch [Thu, 20 Dec 2001 13:25:08 +0000 (13:25 +0000)]
* base64.c (base64_reader_cb): Try to detect an S/MIME body part.

* certdump.c (print_sexp): Renamed to gpgsm_dump_serial, made
global.
(print_time): Renamed to gpgsm_dump_time, made global.
(gpgsm_dump_serial): Take a real S-Expression as argument and
print the first item.
* keylist.c (list_cert_colon): Ditto.
* keydb.c (keydb_search_issuer_sn): Ditto.
* decrypt.c (print_integer_sexp): Removed and made callers
use gpgsm_dump_serial.
* verify.c (print_time): Removed, made callers use gpgsm_dump_time.

17 years ago* keybox-blob.c (_keybox_create_x509_blob): Skip the leading
Werner Koch [Thu, 20 Dec 2001 13:24:49 +0000 (13:24 +0000)]
* keybox-blob.c (_keybox_create_x509_blob): Skip the leading
parenthesis of the serial number's S-exp.

17 years ago* keyformat.txt: New.
Werner Koch [Wed, 19 Dec 2001 15:03:35 +0000 (15:03 +0000)]
* keyformat.txt: New.

17 years agoThe last log had an incorrect changelog entry, and was missing a fix.
Marcus Brinkmann [Wed, 19 Dec 2001 00:20:55 +0000 (00:20 +0000)]
The last log had an incorrect changelog entry, and was missing a fix.

2001-12-14  Marcus Brinkmann  <marcus@g10code.de>

* assuan-connect.c (assuan_pipe_connect): New argument
FD_CHILD_LIST.  Don't close those fds.
* assuan.h: Likewise for prototype.

17 years agoassuan/
Marcus Brinkmann [Wed, 19 Dec 2001 00:18:11 +0000 (00:18 +0000)]
assuan/
2001-12-14  Marcus Brinkmann  <marcus@g10code.de>

* assuan-buffer.c (_assuan_read_line): New variable ATTICLEN, use
it to save the length of the attic line.
Rediddle the code a bit to make it more clear what happens.

agent/
2001-12-19  Marcus Brinkmann  <marcus@g10code.de>

* query.c (start_pinentry): Add new argument to assuan_pipe_connect.

sm/
2001-12-19  Marcus Brinkmann  <marcus@g10code.de>

* call-agent.c (start_agent): Add new argument to assuan_pipe_connect.

17 years ago* Makefile.am (AM_CPPFLAGS): Add flags for libksba NEWPG-0-0-0
Werner Koch [Tue, 18 Dec 2001 19:35:12 +0000 (19:35 +0000)]
* Makefile.am (AM_CPPFLAGS): Add flags for libksba
* Makefile.am (AM_CPPFLAGS): Include flags for gcrypt and ksba
* Makefile.am: Use LIBGCRYPT macros

17 years agoChanges to be used with the new libksba interface.
Werner Koch [Tue, 18 Dec 2001 17:37:48 +0000 (17:37 +0000)]
Changes to be used with the new libksba interface.
libgcrypt-1.1.5 is required (cvs or tarball)

17 years ago* gpgsm.c (main): Renamed the default key database to "keyring.kbx".
Werner Koch [Sat, 15 Dec 2001 16:19:24 +0000 (16:19 +0000)]
* gpgsm.c (main): Renamed the default key database to "keyring.kbx".

17 years ago* keybox-search.c (blob_cmp_name): There is no terminating 0 stored
Werner Koch [Sat, 15 Dec 2001 16:19:08 +0000 (16:19 +0000)]
* keybox-search.c (blob_cmp_name): There is no terminating 0 stored
for the uid; fixed length compare.

17 years ago* decrypt.c (gpgsm_decrypt): Write STATUS_DECRYPTION_*.
Werner Koch [Sat, 15 Dec 2001 12:36:39 +0000 (12:36 +0000)]
* decrypt.c (gpgsm_decrypt): Write STATUS_DECRYPTION_*.
* sign.c (gpgsm_sign): Write a STATUS_SIG_CREATED.

17 years ago* keylist.c (list_cert_colon): Kludge to show an email address
Werner Koch [Fri, 14 Dec 2001 20:48:26 +0000 (20:48 +0000)]
* keylist.c (list_cert_colon): Kludge to show an email address
encoded in the subject's DN.

17 years ago* keybox-blob.c (x509_email_kludge): New.
Werner Koch [Fri, 14 Dec 2001 20:48:07 +0000 (20:48 +0000)]
* 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.

17 years ago* verify.c (gpgsm_verify): Add hash debug helpers
Werner Koch [Fri, 14 Dec 2001 19:36:33 +0000 (19:36 +0000)]
* verify.c (gpgsm_verify): Add hash debug helpers
* 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.

17 years ago* assuan-listen.c (assuan_close_input_fd): New.
Werner Koch [Fri, 14 Dec 2001 19:35:56 +0000 (19:35 +0000)]
* 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.

17 years ago* gpgsm.c (main): New option --debug-wait n, so that it is
Werner Koch [Fri, 14 Dec 2001 15:40:20 +0000 (15:40 +0000)]
* gpgsm.c (main): New option --debug-wait n, so that it is
possible to attach gdb when used in server mode.

17 years ago* gpg-agent.c (main): New option --batch. New option --debug-wait
Werner Koch [Fri, 14 Dec 2001 15:39:44 +0000 (15:39 +0000)]
* 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.

17 years ago* util.h (digitp, hexdigitp): New ctype like macros.
Werner Koch [Fri, 14 Dec 2001 13:43:42 +0000 (13:43 +0000)]
* util.h (digitp, hexdigitp): New ctype like macros.
(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.

17 years ago* util.h (digitp, hexdigitp): New ctype like macros.
Werner Koch [Fri, 14 Dec 2001 13:37:08 +0000 (13:37 +0000)]
* util.h (digitp, hexdigitp): New ctype like macros.
(atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New.

17 years ago* sign.c (get_default_signer): Use keydb_classify_name here.
Werner Koch [Fri, 14 Dec 2001 13:35:34 +0000 (13:35 +0000)]
* sign.c (get_default_signer): Use keydb_classify_name here.

17 years agoFixed test key
Werner Koch [Fri, 14 Dec 2001 13:09:51 +0000 (13:09 +0000)]
Fixed test key

17 years agoFixed test key
Werner Koch [Fri, 14 Dec 2001 13:09:51 +0000 (13:09 +0000)]
Fixed test key

17 years ago* keylist.c (list_cert_colon): Print alternative names of subject
Werner Koch [Fri, 14 Dec 2001 09:20:42 +0000 (09:20 +0000)]
* keylist.c (list_cert_colon): Print alternative names of subject
and a few other values.

17 years agoChange history, doubleplusgood.
Marcus Brinkmann [Fri, 14 Dec 2001 01:28:22 +0000 (01:28 +0000)]
Change history, doubleplusgood.

17 years ago2001-12-14 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 14 Dec 2001 01:23:07 +0000 (01:23 +0000)]
2001-12-14  Marcus Brinkmann  <marcus@g10code.de>

* 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.

17 years agoassuan/
Marcus Brinkmann [Thu, 13 Dec 2001 23:20:02 +0000 (23:20 +0000)]
assuan/
2001-12-14  Marcus Brinkmann  <marcus@g10code.de>

* assuan-defs.h (LINELENGTH): Define as ASSUAN_LINELENGTH.
assuan.h: Define ASSUAN_LINELENGTH.

agent/
2001-12-14  Marcus Brinkmann  <marcus@g10code.de>

* query.c (LINELENGTH): Removed.
(agent_askpin): Use ASSUAN_LINELENGTH, not LINELENGTH.

sm/
2001-12-14  Marcus Brinkmann  <marcus@g10code.de>

* call-agent.c (LINELENGTH): Removed.
(gpgsm_agent_pksign): Use ASSUAN_LINELENGTH, not LINELENGTH.
(gpgsm_agent_pkdecrypt): Likewise.

17 years ago2001-12-13 Marcus Brinkmann <marcus@gnu.org>
Marcus Brinkmann [Thu, 13 Dec 2001 20:16:21 +0000 (20:16 +0000)]
2001-12-13  Marcus Brinkmann  <marcus@gnu.org>

* assuan-buffer.c (assuan_read_line): Fix order of execution to
get correct return values.

2001-12-13  Werner Koch  <wk@gnupg.org>

* assuan-handler.c (assuan_get_active_fds): Fixed silly bug,
pretty obvious that nobody ever tested this function.

17 years ago* keylist.c (list_cert_colon): Print alternative names of subject
Werner Koch [Thu, 13 Dec 2001 13:11:40 +0000 (13:11 +0000)]
* keylist.c (list_cert_colon): Print alternative names of subject
and a few other values.

17 years ago* keybox-search.c (blob_cmp_name): Kludge to allow searching for
Werner Koch [Thu, 13 Dec 2001 13:10:58 +0000 (13:10 +0000)]
* 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.

* kbx/keybox-blob.c (_keybox_create_x509_blob): Insert alternate
names.

17 years agoNow that the DN encoding works more correct, we have to update the
Werner Koch [Thu, 13 Dec 2001 09:33:36 +0000 (09:33 +0000)]
Now that the DN encoding works more correct, we have to update the
default key.

17 years agoMade decryption work in --server mode, allow output of plain base64,
Werner Koch [Thu, 13 Dec 2001 09:09:11 +0000 (09:09 +0000)]
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.

17 years agoFixed INPUT/OUTPUT command
Werner Koch [Thu, 13 Dec 2001 09:07:28 +0000 (09:07 +0000)]
Fixed INPUT/OUTPUT command

17 years ago* gpgsm.c (main): New options --assume-{armor,base64,binary}.
Werner Koch [Wed, 12 Dec 2001 11:57:28 +0000 (11:57 +0000)]
* gpgsm.c (main): New options --assume-{armor,base64,binary}.
* base64.c (base64_reader_cb): Fixed non-autodetection mode.

17 years ago* assuan-connect.c (assuan_pipe_connect): Implemented the inital
Werner Koch [Wed, 12 Dec 2001 09:17:23 +0000 (09:17 +0000)]
* 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.

* 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.

17 years agoImplemented encryption in server mode.
Werner Koch [Tue, 11 Dec 2001 12:31:04 +0000 (12:31 +0000)]
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.

17 years agoNew searchmode and hack to allow a hex encoded serial number
Werner Koch [Tue, 11 Dec 2001 12:28:17 +0000 (12:28 +0000)]
New searchmode and hack to allow a hex encoded serial number

17 years agonew error codes
Werner Koch [Tue, 11 Dec 2001 12:27:10 +0000 (12:27 +0000)]
new error codes

17 years ago--encrypt does now work for a hardwired key.
Werner Koch [Mon, 10 Dec 2001 19:18:27 +0000 (19:18 +0000)]
--encrypt does now work for a hardwired key.

17 years agoThe Agent does now call the pin entry program; however because we have
Werner Koch [Mon, 10 Dec 2001 09:27:30 +0000 (09:27 +0000)]
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.

17 years agoDecryption does now work
Werner Koch [Thu, 6 Dec 2001 20:48:10 +0000 (20:48 +0000)]
Decryption does now work

17 years agoMore error codes
Werner Koch [Thu, 6 Dec 2001 20:47:30 +0000 (20:47 +0000)]
More error codes

17 years agoadded test certificate and secret key
Werner Koch [Thu, 6 Dec 2001 20:19:52 +0000 (20:19 +0000)]
added test certificate and secret key

17 years agoAdded decryption, some code cleanup
Werner Koch [Wed, 5 Dec 2001 23:49:07 +0000 (23:49 +0000)]
Added decryption, some code cleanup

17 years agoStarted with decryption stuff
Werner Koch [Wed, 5 Dec 2001 23:48:01 +0000 (23:48 +0000)]
Started with decryption stuff

17 years agoNew error codes and another mapping fnc.
Werner Koch [Wed, 5 Dec 2001 23:45:42 +0000 (23:45 +0000)]
New error codes and another mapping fnc.

17 years agoassuan-connect.c (assuan_pipe_connect): Add more error reporting.
Werner Koch [Wed, 5 Dec 2001 23:45:01 +0000 (23:45 +0000)]
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.

17 years ago--armor does now produce PEM format.
Werner Koch [Tue, 27 Nov 2001 18:38:59 +0000 (18:38 +0000)]
--armor does now produce PEM format.

17 years ago* base64.c: New. Changed all other functions to use this instead
Werner Koch [Tue, 27 Nov 2001 17:40:09 +0000 (17:40 +0000)]
* 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.

17 years ago* assuan-handler.c (assuan_register_input_notify): New.
Werner Koch [Tue, 27 Nov 2001 17:39:09 +0000 (17:39 +0000)]
* assuan-handler.c (assuan_register_input_notify): New.
(assuan_register_output_notify): New.

17 years ago* gpgsm.c: New option --agent-program
Werner Koch [Mon, 26 Nov 2001 17:54:49 +0000 (17:54 +0000)]
* gpgsm.c: New option --agent-program
* call-agent.c (start_agent): Allow to override the default path
to the agent.

17 years ago* keydb.c (keydb_add_resource): Create keybox
Werner Koch [Mon, 26 Nov 2001 13:08:36 +0000 (13:08 +0000)]
* 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.

17 years agoMore error codes
Werner Koch [Mon, 26 Nov 2001 13:08:00 +0000 (13:08 +0000)]
More error codes

17 years ago* assuan.h: Added more status codes.
Werner Koch [Mon, 26 Nov 2001 09:07:11 +0000 (09:07 +0000)]
* assuan.h: Added more status codes.

17 years agoThe agent does now work and read the secret keys from the directory
Werner Koch [Sun, 25 Nov 2001 18:23:06 +0000 (18:23 +0000)]
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.

17 years ago(assuan_process): Moved bulk of function to ..
Werner Koch [Sun, 25 Nov 2001 16:52:42 +0000 (16:52 +0000)]
(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.

17 years ago* assuan-handler.c (assuan_register_bye_notify)
Werner Koch [Sun, 25 Nov 2001 14:53:39 +0000 (14:53 +0000)]
* assuan-handler.c (assuan_register_bye_notify)
(assuan_register_reset_notify)
(assuan_register_cancel_notify): New and call them from the
standard handlers.

17 years agoAs promised a agent which already does some things. Not very useful
Werner Koch [Sun, 25 Nov 2001 14:53:10 +0000 (14:53 +0000)]
As promised a agent which already does some things.  Not very useful
yet but may be of help for using it in ther contexts.

17 years agoIntroduced the keygrip
Werner Koch [Sat, 24 Nov 2001 22:20:38 +0000 (22:20 +0000)]
Introduced the keygrip

17 years agoAdd a copyright note to the bottom
Werner Koch [Sat, 24 Nov 2001 22:20:00 +0000 (22:20 +0000)]
Add a copyright note to the bottom

17 years ago* assuan-connect.c (assuan_get_pid): New - actually done by Marcus in gpgme.
Werner Koch [Sat, 24 Nov 2001 21:20:22 +0000 (21:20 +0000)]
* assuan-connect.c (assuan_get_pid): New - actually done by Marcus in gpgme.
Set the line length back to the old value.

17 years ago* assuan-buffer.c (_assuan_read_line): Deal with reads of more
Werner Koch [Sat, 24 Nov 2001 21:10:22 +0000 (21:10 +0000)]
* assuan-buffer.c (_assuan_read_line): Deal with reads of more
than a line.
* assuan-defs.h: Add space in the context for this.

17 years agoFriedman is setting up his desk
Werner Koch [Sat, 24 Nov 2001 18:52:02 +0000 (18:52 +0000)]
Friedman is setting up his desk

17 years agoMpfrh
Werner Koch [Sat, 24 Nov 2001 17:46:55 +0000 (17:46 +0000)]
Mpfrh

17 years agoAdded new directory common to enable sharing of some code and error
Werner Koch [Sat, 24 Nov 2001 17:43:43 +0000 (17:43 +0000)]
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.

17 years agoSigning does now work. There is no secret key management yet, so you
Werner Koch [Sat, 24 Nov 2001 14:26:27 +0000 (14:26 +0000)]
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.

17 years agoJust a Backup. We can now write out a basic signature which in turn
Werner Koch [Fri, 23 Nov 2001 17:12:37 +0000 (17:12 +0000)]
Just a Backup.  We can now write out a basic signature which in turn
exhibits a bug in --verify.

17 years agoMap Libksba's OIDs to Libgcrypt digest algo numbers.
Werner Koch [Tue, 20 Nov 2001 18:28:53 +0000 (18:28 +0000)]
Map Libksba's OIDs to Libgcrypt digest algo numbers.
The latest Libgcrypt CVS version is needed.

17 years ago * assuan.h: Prototype assuan_pipe_connect and assuan_pipe_disconnect.
Marcus Brinkmann [Tue, 20 Nov 2001 02:22:23 +0000 (02:22 +0000)]
* assuan.h: Prototype assuan_pipe_connect and assuan_pipe_disconnect.

17 years ago * assuan-connect.c (assuan_pipe_connect): Require NAME to be set.
Marcus Brinkmann [Mon, 19 Nov 2001 23:44:46 +0000 (23:44 +0000)]
* assuan-connect.c (assuan_pipe_connect): Require NAME to be set.
Using ARGV[0] automatically is bad mojo.

17 years agoAdded new file to please Jan
Werner Koch [Mon, 19 Nov 2001 16:52:10 +0000 (16:52 +0000)]
Added new file to please Jan

17 years agoAdded basic code for keylisting.
Werner Koch [Mon, 19 Nov 2001 16:17:43 +0000 (16:17 +0000)]
Added basic code for keylisting.
New Assuan command LISTKEYS.

17 years agoAdded code for data lines. For ease of implementation we need glibc
Werner Koch [Mon, 19 Nov 2001 16:15:43 +0000 (16:15 +0000)]
Added code for data lines.  For ease of implementation we need glibc
(custom streams).

17 years agoWrite status output, make verify work in server mode.
Werner Koch [Mon, 19 Nov 2001 12:42:01 +0000 (12:42 +0000)]
Write status output, make verify work in server mode.

17 years agoAllow to store an arbitrary pointer in the context.
Werner Koch [Mon, 19 Nov 2001 12:40:30 +0000 (12:40 +0000)]
Allow to store an arbitrary pointer in the context.
Added assuan_write_status().

17 years ago * assuan-connect.c (assuan_pipe_connect): New function.
Marcus Brinkmann [Mon, 19 Nov 2001 12:09:50 +0000 (12:09 +0000)]
* assuan-connect.c (assuan_pipe_connect): New function.
(assuan_pipe_disconnect): Likewise.
* assuan-defs.h (struct assuan_context_s): New member PID.

17 years agogpgsm --verify does now work like gpg including the
Werner Koch [Mon, 19 Nov 2001 10:25:00 +0000 (10:25 +0000)]
gpgsm --verify does now work like gpg including the
--enable-special-filenames option.

17 years agoBase code for gpgsm --verify does work
Werner Koch [Fri, 16 Nov 2001 17:56:23 +0000 (17:56 +0000)]
Base code for gpgsm --verify does work

17 years agoWe have reached a state where we are able to import certs and
Werner Koch [Tue, 13 Nov 2001 12:50:14 +0000 (12:50 +0000)]
We have reached a state where we are able to import certs and
check the certification path.

17 years agoA Makefile is a pretty useful thing
Werner Koch [Sat, 10 Nov 2001 18:11:10 +0000 (18:11 +0000)]
A Makefile is a pretty useful thing

17 years agoWe now need a way to store keys
Werner Koch [Sat, 10 Nov 2001 18:10:11 +0000 (18:10 +0000)]
We now need a way to store keys