Werner Koch
bc11060de9
* gpgsm.c (main): New options --assume-{armor,base64,binary}.
...
* base64.c (base64_reader_cb): Fixed non-autodetection mode.
2001-12-12 11:57:28 +00:00
Werner Koch
d0eb9ade2c
* 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.
2001-12-12 09:17:23 +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
f463880562
New searchmode and hack to allow a hex encoded serial number
2001-12-11 12:28:17 +00:00
Werner Koch
0d2ea2811b
new error codes
2001-12-11 12:27:10 +00:00
Werner Koch
f312047a67
--encrypt does now work for a hardwired key.
2001-12-10 19:18:27 +00:00
Werner Koch
79956a08e0
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.
2001-12-10 09:27:30 +00:00
Werner Koch
ce32f6b6c8
Decryption does now work
2001-12-06 20:48:10 +00:00
Werner Koch
e4a72423ff
More error codes
2001-12-06 20:47:30 +00:00
Werner Koch
f8c249a9d6
added test certificate and secret key
2001-12-06 20:19:52 +00:00
Werner Koch
37be272ed8
Added decryption, some code cleanup
2001-12-05 23:49:07 +00:00
Werner Koch
e8676a0871
Started with decryption stuff
2001-12-05 23:48:01 +00:00
Werner Koch
64c36057eb
New error codes and another mapping fnc.
2001-12-05 23:45:42 +00:00
Werner Koch
ac88a4e804
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.
2001-12-05 23:45: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
5a6a2ca248
* assuan-handler.c (assuan_register_input_notify): New.
...
(assuan_register_output_notify): New.
2001-11-27 17:39:09 +00:00
Werner Koch
d9aecd9eb7
* gpgsm.c: New option --agent-program
...
* call-agent.c (start_agent): Allow to override the default path
to the agent.
2001-11-26 17:54:49 +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
ce8a236195
More error codes
2001-11-26 13:08:00 +00:00
Werner Koch
dd797e336e
* assuan.h: Added more status codes.
2001-11-26 09:07:11 +00:00
Werner Koch
0e36c4c6a7
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.
2001-11-25 18:23:06 +00:00
Werner Koch
8cf367848a
(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.
2001-11-25 16:52:42 +00:00
Werner Koch
c0d12ef3fb
* assuan-handler.c (assuan_register_bye_notify)
...
(assuan_register_reset_notify)
(assuan_register_cancel_notify): New and call them from the
standard handlers.
2001-11-25 14:53:39 +00:00
Werner Koch
922cedfe58
As promised a agent which already does some things. Not very useful
...
yet but may be of help for using it in ther contexts.
2001-11-25 14:53:10 +00:00
Werner Koch
f60dc501d2
Introduced the keygrip
2001-11-24 22:20:38 +00:00
Werner Koch
5a4cbaf443
Add a copyright note to the bottom
2001-11-24 22:20:00 +00:00
Werner Koch
2be29a3cd2
* assuan-connect.c (assuan_get_pid): New - actually done by Marcus in gpgme.
...
Set the line length back to the old value.
2001-11-24 21:20:22 +00:00
Werner Koch
d3a626ba68
* assuan-buffer.c (_assuan_read_line): Deal with reads of more
...
than a line.
* assuan-defs.h: Add space in the context for this.
2001-11-24 21:10:22 +00:00
Werner Koch
1e443ad637
Friedman is setting up his desk
2001-11-24 18:52:02 +00:00
Werner Koch
f917085be5
Mpfrh
2001-11-24 17:46:55 +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
Werner Koch
aa4f78a45a
Map Libksba's OIDs to Libgcrypt digest algo numbers.
...
The latest Libgcrypt CVS version is needed.
2001-11-20 18:28:53 +00:00
Marcus Brinkmann
6e41d49e50
* assuan.h: Prototype assuan_pipe_connect and assuan_pipe_disconnect.
2001-11-20 02:22:23 +00:00
Marcus Brinkmann
647001387f
* assuan-connect.c (assuan_pipe_connect): Require NAME to be set.
...
Using ARGV[0] automatically is bad mojo.
2001-11-19 23:44:46 +00:00
Werner Koch
d6f1a79f89
Added new file to please Jan
2001-11-19 16:52:10 +00:00
Werner Koch
a413066de1
Added basic code for keylisting.
...
New Assuan command LISTKEYS.
2001-11-19 16:17:43 +00:00
Werner Koch
ff1ba2fdc7
Added code for data lines. For ease of implementation we need glibc
...
(custom streams).
2001-11-19 16:15: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
f375790d24
Allow to store an arbitrary pointer in the context.
...
Added assuan_write_status().
2001-11-19 12:40:30 +00:00
Marcus Brinkmann
2b2a800a77
* assuan-connect.c (assuan_pipe_connect): New function.
...
(assuan_pipe_disconnect): Likewise.
* assuan-defs.h (struct assuan_context_s): New member PID.
2001-11-19 12:09:50 +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
90d060c199
We have reached a state where we are able to import certs and
...
check the certification path.
2001-11-13 12:50:14 +00:00
Werner Koch
6dec3847d8
A Makefile is a pretty useful thing
2001-11-10 18:11:10 +00:00
Werner Koch
82f2ebc259
We now need a way to store keys
2001-11-10 18:10:11 +00:00
Werner Koch
a014d87d1c
we are now able to check self-signed certificates
2001-11-10 18:08:10 +00:00
Werner Koch
fcfec25620
Started with keybox implementation by basing it on code from the GnuPG
...
devel branch.
2001-11-10 18:06:11 +00:00