]>
the.earth.li Git - onak.git/log
Jonathan McDowell [Mon, 27 Sep 2004 22:22:25 +0000 (22:22 +0000)]
Add key iteration functionality to keydb backends.
Add a function to the keydb backends which will call a given function
once for every contained in the db. Currently implemented for db4, keyd,
file and pg backends.
Jonathan McDowell [Sat, 25 Sep 2004 09:36:21 +0000 (09:36 +0000)]
Move update_keys to keydb rather than merge.
Move update_keys to the database backends, as in some senses it makes
more sense there - we have multiple DB calls and this is the main thing
that needs transactions, so by moving it here we should be able to hide
them from the rest of the code.
Jonathan McDowell [Sat, 25 Sep 2004 09:34:55 +0000 (09:34 +0000)]
Add keyd backend (persistant database access over Unix socket)
Add keyd, which runs in the background and talks to the real database
and then communicates with the various onak programs over a Unix
socket.
Jonathan McDowell [Sat, 25 Sep 2004 09:26:31 +0000 (09:26 +0000)]
Update version to indicate arch build.
Update the version in autoconf and debian/changelog to indicate that
any build is from arch rather than a released tarball (ie add +arch).
Jonathan McDowell [Sat, 25 Sep 2004 09:05:56 +0000 (09:05 +0000)]
Cleanup logging in sixdegrees.c
When we've finished in sixdegrees, remember to shut the logging
infrastructure down.
Jonathan McDowell [Sat, 25 Sep 2004 09:05:04 +0000 (09:05 +0000)]
Fix maxpath to initialise the logging infrastructure.
maxpath wasn't initialising the logging infrastructure, so would
log to stderr rather than the log file for example. Fix this.
Jonathan McDowell [Thu, 23 Sep 2004 15:20:16 +0000 (15:20 +0000)]
Fix sixdegrees to initialise the logging infrastructure.
sixdegrees wasn't initialising the logging infrastructure, so would
log to stderr rather than the log file for example. Fix this.
Jonathan McDowell [Thu, 23 Sep 2004 12:21:08 +0000 (12:21 +0000)]
Fix transaction around id32 updating in DB4 backend.
For some reason we finished our transaction before we wrote the id32db
details. Fix this so we do it afterwards instead.
Jonathan McDowell [Wed, 22 Sep 2004 09:28:13 +0000 (09:28 +0000)]
Make cleanup.c compile cleanly under c99.
Change cleanup.c so the signal bits all compile cleanly under C99 with
-DBSD_SOURCE=1.
Jonathan McDowell [Tue, 21 Sep 2004 13:07:38 +0000 (13:07 +0000)]
Compile warning cleanup; add missed include file.
cleanup.c uses functions prototyped in string.h, so include it.
Jonathan McDowell [Mon, 20 Sep 2004 14:33:18 +0000 (14:33 +0000)]
Add assert for invalid armor parameters.
Add an assert if we had a NULL string to the armor_putchar function.
Brett spotted this while doing evil things.
Jonathan McDowell [Mon, 20 Sep 2004 14:32:11 +0000 (14:32 +0000)]
Hard error when db version is < 4.
Fix configure.ac so we hard error if our version is less than 4.
Jonathan McDowell [Tue, 14 Sep 2004 21:13:21 +0000 (21:13 +0000)]
Change makedepend to use the compile instead.
Change to using the compiler for makedepend instead. This works for GCC;
I don't know about other compilers. May need an autoconf test instead in
future.
Jonathan McDowell [Tue, 14 Sep 2004 20:43:31 +0000 (20:43 +0000)]
Update HISTORY
Update HISTORY ready for release.
Jonathan McDowell [Tue, 14 Sep 2004 20:07:54 +0000 (20:07 +0000)]
Add Apache2 example info.
Add setup info and config snippet for Apache2. Thanks to Brett Parker
for this.
Jonathan McDowell [Tue, 14 Sep 2004 18:31:16 +0000 (18:31 +0000)]
Quieten cleanup infrastructure.
Lower the loglevel output of the cleanup infrastructure to INFO rather
than NOTICE; ie don't show it on the default install.
Jonathan McDowell [Tue, 14 Sep 2004 18:21:03 +0000 (18:21 +0000)]
Create an initial database when installing the package.
If we're installing the Debian package and there's no existing database
then create one by importing my key.
Jonathan McDowell [Tue, 14 Sep 2004 18:17:51 +0000 (18:17 +0000)]
Fix cleanup of statoverrides when purging package.
Purging of the package failed due to incorrect use of dpkg-statoverride;
this fixes that.
Jonathan McDowell [Tue, 14 Sep 2004 17:42:40 +0000 (17:42 +0000)]
Decrease default log level.
Log level in onak.conf.in was for TRACE upwards; lower this to NOTICE.
Jonathan McDowell [Tue, 14 Sep 2004 17:13:20 +0000 (17:13 +0000)]
Create logfile for Debian package
Create our logfile as part of the postinst for the Debian package and
make sure the onak user can write to it.
Jonathan McDowell [Tue, 14 Sep 2004 17:11:26 +0000 (17:11 +0000)]
Update my key.
Update the copy of my PGP key.
Jonathan McDowell [Tue, 14 Sep 2004 16:16:52 +0000 (16:16 +0000)]
Configure basic onak.conf using autoconf info.
Write a basic onak.conf that has paths from the autoconf info, rather
than hard coded paths to my homedir.
Jonathan McDowell [Tue, 14 Sep 2004 16:15:54 +0000 (16:15 +0000)]
Small README updates
Various misc README updates.
Jonathan McDowell [Tue, 14 Sep 2004 14:35:48 +0000 (14:35 +0000)]
Change to using Autoconf version string.
Use PACKAGE_VERSION from Autoconf, not our own private VERSION macro.
Jonathan McDowell [Tue, 14 Sep 2004 11:17:56 +0000 (11:17 +0000)]
Add THANKS.
Acknowledge the various people who've helped out with onak.
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.