Werner Koch
6d27c940b2
* 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.
2001-12-14 19:36:33 +00:00
Werner Koch
7606e3b33a
* 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.
2001-12-14 13:43:42 +00:00
Werner Koch
b020999687
* sign.c (get_default_signer): Use keydb_classify_name here.
2001-12-14 13:35:34 +00:00
Werner Koch
595c2cbd87
* keylist.c (list_cert_colon): Print alternative names of subject
...
and a few other values.
2001-12-14 09:20:42 +00:00
Werner Koch
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.
2001-12-13 09:09:11 +00:00
Werner Koch
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.
2001-12-11 12:31:04 +00:00
Werner Koch
e8676a0871
Started with decryption stuff
2001-12-05 23:48:01 +00:00
Werner Koch
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.
2001-11-27 17:40:09 +00:00
Werner Koch
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.
2001-11-26 13:08:36 +00:00
Werner Koch
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.
2001-11-24 14:26:27 +00:00
Werner Koch
a413066de1
Added basic code for keylisting.
...
New Assuan command LISTKEYS.
2001-11-19 16:17:43 +00:00
Werner Koch
0b17666145
Write status output, make verify work in server mode.
2001-11-19 12:42:01 +00:00
Werner Koch
2b99de5a5d
gpgsm --verify does now work like gpg including the
...
--enable-special-filenames option.
2001-11-19 10:25:00 +00:00
Werner Koch
0f26760d9f
Base code for gpgsm --verify does work
2001-11-16 17:56:23 +00:00
Werner Koch
7c708298d2
Implemented server main loop and started with import command.
2001-11-07 17:44:22 +00:00
Werner Koch
4fcb72b382
gpgsm does now build and a dummy server can be started.
2001-11-06 19:14:14 +00:00