]>
git.sommitrealweird.co.uk Git - onak.git/log
Jonathan McDowell [Tue, 14 Sep 2004 11:03:56 +0000 (11:03 +0000)]
Add more checking on db4 cleanup.
Add more checking when cleaning up the db4 backend; some things might
not have succeeded, but we should still try to cleanup those that did.
Jonathan McDowell [Tue, 7 Sep 2004 09:40:55 +0000 (09:40 +0000)]
Relax asserts when cleaning up.
Remove some of the assertions in mem.c; we're checking they're true
anyway and we can sometimes hit them legitimately.
Jonathan McDowell [Mon, 6 Sep 2004 15:58:48 +0000 (15:58 +0000)]
Fix lack of cleanup.{c,h}
Eeep! These never got checked in. Thanks to Ross Burton for pointing out.
Jonathan McDowell [Sun, 29 Aug 2004 12:42:03 +0000 (12:42 +0000)]
Add stripkey
Add stripkey from Daniel Silverstone.
Jonathan McDowell [Tue, 24 Aug 2004 08:38:50 +0000 (08:38 +0000)]
First cut at cleanup infrastructure.
Due to the fact that db4 is incredibly fragile in the fact of abnormal
termination and that Apache (and presumably other web servers) will
merrily kill CGI as and when they see fit, we need to try and catch any
signal we can and clean ourselves up.
Jonathan McDowell [Sun, 15 Aug 2004 20:39:44 +0000 (20:39 +0000)]
autoconf onak-mail.pl config
Change onak-mail.pl to be built with the config file location as
supplied to configure.
Jonathan McDowell [Sun, 15 Aug 2004 20:38:52 +0000 (20:38 +0000)]
Update README a little.
Few minor updates to README file; db3 -> db4, use of configure, add
fs backend details.
Jonathan McDowell [Fri, 13 Aug 2004 23:46:56 +0000 (23:46 +0000)]
Log total received key count.
Modify add so that we log the total number of keys we get, as well as
the number of new keys.
Jonathan McDowell [Tue, 10 Aug 2004 18:38:01 +0000 (18:38 +0000)]
Move over to log_assert.
Change usage of assert to log a critical error before actually asserting,
so that we can tell this has happened from the logfile.
Jonathan McDowell [Mon, 2 Aug 2004 22:06:59 +0000 (22:06 +0000)]
Add man pages for onak/splitkeys.
Add man pages for onak and splitkeys (thanks to lintian for prodding me
into doing this).
Jonathan McDowell [Mon, 2 Aug 2004 16:03:32 +0000 (16:03 +0000)]
Add Debian packaging files.
Add the debian/ subdir and files contained therein. Thanks to Ross
Burton <ross@debian.org>, who provided all of this (mostly unaltered by
me).
Jonathan McDowell [Sun, 1 Aug 2004 11:33:19 +0000 (11:33 +0000)]
Upgrade db3 backend to db4.
Upgrade db3 backend to db4. Hopefully this will fix the locking issues
that have been seen - certainly no issues have been seen in testing over the
past week.
Jonathan McDowell [Sat, 31 Jul 2004 19:24:55 +0000 (19:24 +0000)]
Allow setting of config file directory from configure.
Pick up config file directory from autoconf sysconfdir variable setting.
Jonathan McDowell [Sat, 31 Jul 2004 18:19:16 +0000 (18:19 +0000)]
Update TODO with more details of key import checks.
Expand on key import checks.
Jonathan McDowell [Mon, 21 Jun 2004 22:48:36 +0000 (22:48 +0000)]
Tune down keydb_fs logging level.
keydb_fs was quite verbose in some of its logging; lower most of these to
DEBUG level.
Jonathan McDowell [Mon, 21 Jun 2004 22:30:43 +0000 (22:30 +0000)]
Add subkey support to keydb_fs backend.
Add support for subkeys to the keydb_fs backend.
Jonathan McDowell [Mon, 21 Jun 2004 22:19:45 +0000 (22:19 +0000)]
Fix segfault with non existant short key id & keydb_fs.
We'd segfault if we tried to get a non existant short keyid using keydb_fs;
fix this.
Jonathan McDowell [Thu, 17 Jun 2004 12:36:24 +0000 (12:36 +0000)]
Fold in some of dsilvers' autoconf changes.
Take Daniel's non automake related configure.ac changes.
Jonathan McDowell [Wed, 16 Jun 2004 17:50:23 +0000 (17:50 +0000)]
Further compile warning cleanups.
Remove a couple of further compiler warnings about passing strcmp to llfind.
Now seems to compile cleanly with gcc -std=c99 and tcc.
Jonathan McDowell [Sat, 12 Jun 2004 16:19:05 +0000 (16:19 +0000)]
Update TODO file.
Update TODO file to reflect reality a bit more.
Jonathan McDowell [Sat, 12 Jun 2004 16:12:16 +0000 (16:12 +0000)]
Remove config.h.in
Removed config.h.in as autoheader will create this for us anyway.
Jonathan McDowell [Sat, 12 Jun 2004 15:58:45 +0000 (15:58 +0000)]
Remove CVS Id tags.
Remove CVS Id tags from all files as arch doesn't update them so they're
just bit-rotting.
Jonathan McDowell [Sat, 12 Jun 2004 15:49:59 +0000 (15:49 +0000)]
Remove spurious LDFLAGS for onak linking.
Remove an extra mention of LDFLAGS from the onak linkage line.
Jonathan McDowell [Sat, 12 Jun 2004 15:49:05 +0000 (15:49 +0000)]
Various compiler warning cleanups.
Fix various compiler warnings; we almost compile cleanly with --std=c99 and
-D_BSD_SOURCE.
Jonathan McDowell [Fri, 11 Jun 2004 18:18:22 +0000 (18:18 +0000)]
Inital subkey searching support for db3 backend.
Adds support for searching on keys via a subkey. Only supported by the db3
backend so far.
Jonathan McDowell [Fri, 11 Jun 2004 17:48:28 +0000 (17:48 +0000)]
Update DB3 backend to use 64bit key ids.
This fixes the DB3 backend to store keys using their 64bit key ids rather
than the truncated 32bit id. It adds another database to map the 32bit ids
to the full 64bits.
Jonathan McDowell [Wed, 9 Jun 2004 10:34:07 +0000 (10:34 +0000)]
Simple typo fix.
Fix Makefile.in distclean target; the removal of .depend had ended up as
depend instead so wasn't getting cleaned.
Jonathan McDowell [Mon, 7 Jun 2004 20:59:05 +0000 (20:59 +0000)]
Fixup for 64bit key ids in gpgwww.
Fix gpgwww to not truncate keyids to 32bits; if the backends don't support
this then they should do it themselves.
Jonathan McDowell [Mon, 7 Jun 2004 20:46:47 +0000 (20:46 +0000)]
Add option to gpgwww to return all keys listed.
This commit adds functionality to gpgwww to return all the key data for the
keys listed in the paths. It's largely based on code provided by Ian Haywood
<ihaywood@gnu.org>.
Jonathan McDowell [Wed, 2 Jun 2004 01:37:42 +0000 (01:37 +0000)]
Fix compilation of PostgreSQL backend.
Suffering from bitrot; this at least gets it compiling again.
Jonathan McDowell [Wed, 2 Jun 2004 01:32:04 +0000 (01:32 +0000)]
--enable-backend=<foo> configure option
Add ability to configure the backend database to configure script.
Jonathan McDowell [Tue, 1 Jun 2004 15:12:01 +0000 (15:12 +0000)]
Initial introduction of autoconf support; just endian checking at present.
Jonathan McDowell [Mon, 31 May 2004 23:48:32 +0000 (23:48 +0000)]
cscvs to tla changeset 140
Author: noodles
Date: 2004/05/31 22:08:37
Update mathopd config to allow access on any IP rather than just localhost.
Jonathan McDowell [Mon, 31 May 2004 23:48:30 +0000 (23:48 +0000)]
cscvs to tla changeset 139
Author: noodles
Date: 2004/05/31 22:04:50
Update MD5/SHA1 implementations from sigcheck; these are more portable.
Jonathan McDowell [Mon, 31 May 2004 23:48:29 +0000 (23:48 +0000)]
cscvs to tla changeset 138
Author: noodles
Date: 2004/05/31 14:16:49
Initial key cleaning routines; de-dupe key uids.
Jonathan McDowell [Mon, 31 May 2004 23:48:28 +0000 (23:48 +0000)]
cscvs to tla changeset 137
Author: noodles
Date: 2004/05/29 02:52:56
Allow more RSA types without warning for Type 2/3 keys.
Jonathan McDowell [Mon, 31 May 2004 23:48:28 +0000 (23:48 +0000)]
cscvs to tla changeset 136
Author: noodles
Date: 2004/05/28 03:23:04
More wordlist cleanups.
Jonathan McDowell [Mon, 31 May 2004 23:48:27 +0000 (23:48 +0000)]
cscvs to tla changeset 135
Author: noodles
Date: 2004/05/28 02:55:49
Fix makewordlistfromkey allocation of word list (dsilvers).
Jonathan McDowell [Mon, 31 May 2004 23:48:26 +0000 (23:48 +0000)]
cscvs to tla changeset 134
Author: noodles
Date: 2004/05/27 22:02:05
Fix various preprocessor warnings.
Jonathan McDowell [Mon, 31 May 2004 23:48:25 +0000 (23:48 +0000)]
cscvs to tla changeset 133
Author: noodles
Date: 2004/05/27 21:58:18
Change getphoto over to returning the JPEG data rather than the OpenPGP packet.
Jonathan McDowell [Mon, 31 May 2004 23:48:24 +0000 (23:48 +0000)]
cscvs to tla changeset 132
Author: noodles
Date: 2004/05/27 21:55:38
Add support for writing packets that are larger than 8k.
Jonathan McDowell [Mon, 31 May 2004 23:48:24 +0000 (23:48 +0000)]
cscvs to tla changeset 131
Author: noodles
Date: 2004/05/27 18:42:22
Silly bug fix for new format packet lengths.
Jonathan McDowell [Mon, 31 May 2004 23:48:23 +0000 (23:48 +0000)]
cscvs to tla changeset 130
Author: noodles
Date: 2004/05/27 03:37:58
Adding filesytem backend (dsilvers).
Jonathan McDowell [Mon, 31 May 2004 23:48:22 +0000 (23:48 +0000)]
cscvs to tla changeset 129
Author: noodles
Date: 2004/05/27 03:34:35
Moving makewordlist to its own file so we can use it elsewhere (dsilvers).
Jonathan McDowell [Mon, 31 May 2004 23:48:21 +0000 (23:48 +0000)]
cscvs to tla changeset 128
Author: noodles
Date: 2004/05/27 03:33:24
Move makewordlist to its own file so we can use it elsewhere (dsilvers).
Jonathan McDowell [Mon, 31 May 2004 23:48:21 +0000 (23:48 +0000)]
cscvs to tla changeset 127
Author: noodles
Date: 2004/05/27 03:24:01
Fix keyuids to cope with a NULL primary parameter (dsilvers).
Jonathan McDowell [Mon, 31 May 2004 23:48:20 +0000 (23:48 +0000)]
cscvs to tla changeset 126
Author: noodles
Date: 2004/05/27 01:34:18
Add loglevel configuration file setting.
Jonathan McDowell [Mon, 31 May 2004 23:48:19 +0000 (23:48 +0000)]
cscvs to tla changeset 125
Author: noodles
Date: 2004/05/27 01:25:37
First cut of photo ID uid support.
Jonathan McDowell [Mon, 31 May 2004 23:48:18 +0000 (23:48 +0000)]
cscvs to tla changeset 124
Author: noodles
Date: 2004/05/26 21:20:05
Fix gpg eof timeout problem when sending lots of keys.
Jonathan McDowell [Mon, 31 May 2004 23:48:17 +0000 (23:48 +0000)]
cscvs to tla changeset 123
Author: noodles
Date: 2004/05/26 18:53:14
Add logging for the various CGI interfaces.
Jonathan McDowell [Mon, 31 May 2004 23:48:17 +0000 (23:48 +0000)]
cscvs to tla changeset 122
Author: noodles
Date: 2004/05/26 17:48:02
Fix gpg --search support (it doesn't like uid/sub at the start of the index
lines).
Jonathan McDowell [Mon, 31 May 2004 23:48:15 +0000 (23:48 +0000)]
cscvs to tla changeset 121
Author: noodles
Date: 2004/05/26 17:46:21
Fix readonly opening of the db (we can't have CREATE | READONLY...)
Jonathan McDowell [Mon, 31 May 2004 23:48:15 +0000 (23:48 +0000)]
cscvs to tla changeset 120
Author: noodles
Date: 2004/05/26 17:45:03
Update mathopd config for newer version.
Jonathan McDowell [Mon, 31 May 2004 23:48:14 +0000 (23:48 +0000)]
cscvs to tla changeset 119
Author: noodles
Date: 2004/03/28 21:27:03
Open the DB files in read only mode if we only expect to read from them.
Jonathan McDowell [Mon, 31 May 2004 23:48:13 +0000 (23:48 +0000)]
cscvs to tla changeset 118
Author: noodles
Date: 2004/03/23 12:35:11
Add knowledge of notation subpackets. We don't do anything with them yet
though.
Jonathan McDowell [Mon, 31 May 2004 23:48:13 +0000 (23:48 +0000)]
cscvs to tla changeset 117
Author: noodles
Date: 2004/03/23 12:33:46
Add initial hooks for opening database in read-only mode (eg lookup/gpgwww).
Jonathan McDowell [Mon, 31 May 2004 23:48:11 +0000 (23:48 +0000)]
cscvs to tla changeset 116
Author: noodles
Date: 2004/01/04 18:48:37
Add a lock around the call to onak so that we've only got one copy of onak-mail
running it at once.
Jonathan McDowell [Mon, 31 May 2004 23:48:10 +0000 (23:48 +0000)]
cscvs to tla changeset 115
Author: noodles
Date: 2004/01/04 18:47:35
Stop trying to parse a key if we get an unexpected character.
Jonathan McDowell [Mon, 31 May 2004 23:48:10 +0000 (23:48 +0000)]
cscvs to tla changeset 114
Author: noodles
Date: 2003/11/01 19:25:15
Relax restriction on Type 3 keys being RSA - log the fact, but don't error.
Jonathan McDowell [Mon, 31 May 2004 23:48:09 +0000 (23:48 +0000)]
cscvs to tla changeset 113
Author: noodles
Date: 2003/11/01 19:23:38
Fix extra LF when the last line of the key is a full line.
Jonathan McDowell [Mon, 31 May 2004 23:48:08 +0000 (23:48 +0000)]
cscvs to tla changeset 112
Author: noodles
Date: 2003/10/15 21:15:20
Adding the ability to choose a config file at runtime.
Jonathan McDowell [Mon, 31 May 2004 23:48:07 +0000 (23:48 +0000)]
cscvs to tla changeset 111
Author: noodles
Date: 2003/10/11 22:28:22
0.2.1 release. Update HISTORY, TODO, bump version in onak-conf.h/README
Jonathan McDowell [Mon, 31 May 2004 23:48:06 +0000 (23:48 +0000)]
cscvs to tla changeset 110
Author: noodles
Date: 2003/10/11 22:17:17
Add (verbose) index support to onak-mail.pl
Jonathan McDowell [Mon, 31 May 2004 23:48:06 +0000 (23:48 +0000)]
cscvs to tla changeset 109
Author: noodles
Date: 2003/10/11 21:52:18
Various cleanups with regards to types.
Jonathan McDowell [Mon, 31 May 2004 23:48:05 +0000 (23:48 +0000)]
cscvs to tla changeset 108
Author: noodles
Date: 2003/10/10 16:57:27
Create num_keydb if it doesn't exist.
Jonathan McDowell [Mon, 31 May 2004 23:48:04 +0000 (23:48 +0000)]
cscvs to tla changeset 107
Author: noodles
Date: 2003/10/04 10:21:40
Various minor code cleanups to reduce compiler warnings (especially with c99).
Jonathan McDowell [Mon, 31 May 2004 23:48:03 +0000 (23:48 +0000)]
cscvs to tla changeset 106
Author: noodles
Date: 2003/10/03 23:34:06
Fix crash after outputting last set of split keys.
Jonathan McDowell [Mon, 31 May 2004 23:48:02 +0000 (23:48 +0000)]
cscvs to tla changeset 105
Author: noodles
Date: 2003/10/03 23:24:16
Fix stupid ordering bug with checking we're under the requested number of keys
in read_openpgp_stream.
Jonathan McDowell [Mon, 31 May 2004 23:48:02 +0000 (23:48 +0000)]
cscvs to tla changeset 104
Author: noodles
Date: 2003/10/03 23:07:31
Adding cleanup for splitkeys.
Jonathan McDowell [Mon, 31 May 2004 23:48:01 +0000 (23:48 +0000)]
cscvs to tla changeset 103
Author: noodles
Date: 2003/10/03 23:03:02
Enable logging framework in splitkeys.
Jonathan McDowell [Mon, 31 May 2004 23:48:00 +0000 (23:48 +0000)]
cscvs to tla changeset 102
Author: noodles
Date: 2003/10/03 23:02:04
Improve spread of used db files when using more than one backend DB3 file
for key storage.
Jonathan McDowell [Mon, 31 May 2004 23:47:59 +0000 (23:47 +0000)]
cscvs to tla changeset 101
Author: noodles
Date: 2003/09/30 21:59:33
Remove trailing \n from Partial key error message.
Jonathan McDowell [Mon, 31 May 2004 23:47:59 +0000 (23:47 +0000)]
cscvs to tla changeset 100
Author: noodles
Date: 2003/09/30 21:16:14
Adding splitkeys for spliting up keyrings.
Jonathan McDowell [Mon, 31 May 2004 23:47:58 +0000 (23:47 +0000)]
cscvs to tla changeset 99
Author: noodles
Date: 2003/09/30 20:40:10
Allow a limit on the number of keys returned by read_openpgp_stream.
Jonathan McDowell [Mon, 31 May 2004 23:47:57 +0000 (23:47 +0000)]
cscvs to tla changeset 98
Author: noodles
Date: 2003/09/30 17:40:41
Fix stupid bug with read_openpgp_stream and an empty packet list.
Jonathan McDowell [Mon, 31 May 2004 23:47:56 +0000 (23:47 +0000)]
cscvs to tla changeset 97
Author: noodles
Date: 2003/09/30 17:15:39
Move stdin/out character functions to charfuncs.c for easier reuse.
Jonathan McDowell [Mon, 31 May 2004 23:47:55 +0000 (23:47 +0000)]
cscvs to tla changeset 96
Author: noodles
Date: 2003/09/30 16:58:04
Allow read_openpgp_stream to append to an existing list of packets rather
than only returning the new packets.
Jonathan McDowell [Mon, 31 May 2004 23:47:55 +0000 (23:47 +0000)]
cscvs to tla changeset 95
Author: noodles
Date: 2003/09/29 07:35:26
Fix printf usage for an error message to logthing.
Jonathan McDowell [Mon, 31 May 2004 23:47:54 +0000 (23:47 +0000)]
cscvs to tla changeset 94
Author: noodles
Date: 2003/09/28 21:07:49
Tighten up error checking in a couple of places to avoid crashing without
cleaning up the db.
Jonathan McDowell [Mon, 31 May 2004 23:47:53 +0000 (23:47 +0000)]
cscvs to tla changeset 93
Author: noodles
Date: 2003/09/28 20:33:34
Fix stupid bug where we always read at least one byte from stdin, even if we
wanted none.
Jonathan McDowell [Mon, 31 May 2004 23:47:53 +0000 (23:47 +0000)]
cscvs to tla changeset 92
Author: noodles
Date: 2003/09/28 17:25:40
Updating onak-mail.pl to use config file for more things and output logs in
the same format as onak.
Jonathan McDowell [Mon, 31 May 2004 23:47:52 +0000 (23:47 +0000)]
cscvs to tla changeset 91
Author: noodles
Date: 2003/09/28 16:43:50
Removed the revoked keys todo entry as that was in 0.2.0
Jonathan McDowell [Mon, 31 May 2004 23:47:51 +0000 (23:47 +0000)]
cscvs to tla changeset 90
Author: noodles
Date: 2003/09/28 16:12:47
Fix DB3 key dump routine to dump a file for each key database.
Jonathan McDowell [Mon, 31 May 2004 23:47:51 +0000 (23:47 +0000)]
cscvs to tla changeset 89
Author: noodles
Date: 2003/09/28 14:56:32
Don't dump the DB3 database within a transaction as it gets too big for it to
deal with, ending in ENOMEM.
Jonathan McDowell [Mon, 31 May 2004 23:47:50 +0000 (23:47 +0000)]
cscvs to tla changeset 88
Author: noodles
Date: 2003/09/28 14:54:57
Add support for multiple DB3 key database files.
Jonathan McDowell [Mon, 31 May 2004 23:47:49 +0000 (23:47 +0000)]
cscvs to tla changeset 87
Author: noodles
Date: 2003/06/08 21:18:43
0.2.0 release. Update HISTORY, TODO, bump version in onak-conf.h/README
Jonathan McDowell [Mon, 31 May 2004 23:47:48 +0000 (23:47 +0000)]
cscvs to tla changeset 86
Author: noodles
Date: 2003/06/08 21:11:00
First attempt at supporting revoked keys.
Jonathan McDowell [Mon, 31 May 2004 23:47:48 +0000 (23:47 +0000)]
cscvs to tla changeset 85
Author: noodles
Date: 2003/06/08 19:04:31
Further compile warning (under gcc 3.3 anyway) cleanups.
Jonathan McDowell [Mon, 31 May 2004 23:47:47 +0000 (23:47 +0000)]
cscvs to tla changeset 84
Author: noodles
Date: 2003/06/08 10:45:44
Log a critical error when we can't parse a subkey packet rather than asserting.
Jonathan McDowell [Mon, 31 May 2004 23:47:46 +0000 (23:47 +0000)]
cscvs to tla changeset 83
Author: noodles
Date: 2003/06/07 13:45:34
Clean up some compile warnings (C++ comments, missing #includes)
Jonathan McDowell [Mon, 31 May 2004 23:47:45 +0000 (23:47 +0000)]
cscvs to tla changeset 82
Author: noodles
Date: 2003/06/07 13:37:33
Check that we have a keyid for the "get" operation.
Jonathan McDowell [Mon, 31 May 2004 23:47:44 +0000 (23:47 +0000)]
cscvs to tla changeset 81
Author: noodles
Date: 2003/06/06 14:02:39
Add comment about enabling profiling.
Jonathan McDowell [Mon, 31 May 2004 23:47:44 +0000 (23:47 +0000)]
cscvs to tla changeset 80
Author: noodles
Date: 2003/06/05 07:31:59
Add null dumpdb functions to Postgres/file backends so they compile again.
Jonathan McDowell [Mon, 31 May 2004 23:47:43 +0000 (23:47 +0000)]
cscvs to tla changeset 79
Author: noodles
Date: 2003/06/04 22:32:56
Tidy up empty pathfinder paths when searching for multiple paths. (Patch from
Simon Huggins)
Jonathan McDowell [Mon, 31 May 2004 23:47:42 +0000 (23:47 +0000)]
cscvs to tla changeset 78
Author: noodles
Date: 2003/06/04 22:11:40
First cut at supporting the MRHKP for key searches.
Jonathan McDowell [Mon, 31 May 2004 23:47:41 +0000 (23:47 +0000)]
cscvs to tla changeset 77
Author: noodles
Date: 2003/06/04 20:57:06
Add CVS Id tags to lots of files.
Jonathan McDowell [Mon, 31 May 2004 23:47:40 +0000 (23:47 +0000)]
cscvs to tla changeset 76
Author: noodles
Date: 2003/04/21 00:26:49
Readd a limited degree of bidirectional key linkage (signers & signees)
Jonathan McDowell [Mon, 31 May 2004 23:47:39 +0000 (23:47 +0000)]
cscvs to tla changeset 75
Author: noodles
Date: 2003/04/21 00:25:39
Free public key when we do a get.
Jonathan McDowell [Mon, 31 May 2004 23:47:38 +0000 (23:47 +0000)]
cscvs to tla changeset 74
Author: noodles
Date: 2003/04/20 22:58:52
Add some help for the dump option.
Jonathan McDowell [Mon, 31 May 2004 23:47:38 +0000 (23:47 +0000)]
cscvs to tla changeset 73
Author: noodles
Date: 2003/04/20 22:56:26
Add some missing includes to reduce compiler warnings.