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
b020999687
* sign.c (get_default_signer): Use keydb_classify_name here.
2001-12-14 13:35:34 +00:00
Werner Koch
e8cc8e4064
Fixed test key
2001-12-14 13:09:51 +00:00
Werner Koch
c3567c42b7
Now that the DN encoding works more correct, we have to update the
...
default key.
2001-12-13 09:33:36 +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
95e6da1b07
--armor does now produce PEM format.
2001-11-27 18:38:59 +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
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.
2001-11-24 17:43:43 +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
757c13a171
Just a Backup. We can now write out a basic signature which in turn
...
exhibits a bug in --verify.
2001-11-23 17:12:37 +00:00