]> git.sommitrealweird.co.uk Git - onak.git/log
onak.git
17 years agoDocument our test keys
Jonathan McDowell [Sun, 4 Mar 2007 15:38:05 +0000 (15:38 +0000)]
Document our test keys
Add some basic documentation about each of the test keys that are in
the keys/ directory.

17 years agoFix assumption that a signature on a public key is a revocation
Jonathan McDowell [Sun, 4 Mar 2007 15:37:43 +0000 (15:37 +0000)]
Fix assumption that a signature on a public key is a revocation
We've been assuming that a signature directly on a public key means the
key is revoked. This isn't the case; it's used for key preferences for
example. Change the structure element names to reflect this
(revocations->sigs) and check for revoked status by looking for a
signature type of 0x20.

17 years agoFix incoming mail spool directory
Jonathan McDowell [Sun, 4 Mar 2007 14:36:05 +0000 (14:36 +0000)]
Fix incoming mail spool directory
onak-mail has spooled incoming mail for a long time; fix up the default
config to put this in spool/onak rather than the hardcoded /community
that was previously configured.

18 years agoChange Debian package to use dynamic backend.
Jonathan McDowell [Mon, 19 Jun 2006 22:04:22 +0000 (22:04 +0000)]
Change Debian package to use dynamic backend.
This hopefully does all that's required to build a Debian package with
all our backends but defaulting to db4 so we don't break those
upgrading.

18 years agoTry to load backends from current dir if none specified.
Jonathan McDowell [Mon, 19 Jun 2006 21:42:07 +0000 (21:42 +0000)]
Try to load backends from current dir if none specified.
If we don't specify a directory for the backends in the config file
then try to load them from the current directory.

18 years agoMake failure to load backend fatal.
Jonathan McDowell [Mon, 19 Jun 2006 21:41:10 +0000 (21:41 +0000)]
Make failure to load backend fatal.
If we can't load a dynamic backend, there's no point continuing at
present. So exit.

18 years agoGracefully fail when we can't open a DB4 DB.
Jonathan McDowell [Mon, 19 Jun 2006 21:18:13 +0000 (21:18 +0000)]
Gracefully fail when we can't open a DB4 DB.
If we don't have permissions to open a DB4 DB we'll not even get to
open our environment. As such we should close it cleanly and fail rather
than segfaulting. As reported in Debian bug #370440

18 years agoGracefully exit if no backend defined.
Jonathan McDowell [Mon, 19 Jun 2006 21:01:55 +0000 (21:01 +0000)]
Gracefully exit if no backend defined.
If no backend was defined we were attempting to strlen a NULL string,
which isn't sensible. Gracefully exit with a critical error instead.

18 years agoCleanup log file on package purge (Debian bug #338516)
Jonathan McDowell [Mon, 19 Jun 2006 20:37:12 +0000 (20:37 +0000)]
Cleanup log file on package purge (Debian bug #338516)
As per Debian bug #338516 we should remove our log file upon package
purge. Do so.

19 years agoFix replyto email address bug.
Jonathan McDowell [Sun, 18 Sep 2005 10:44:39 +0000 (10:44 +0000)]
Fix replyto email address bug.
If Reply-To wasn't set we wouldn't be able to send a reply email from
onak-mail.pl for ADD/(V)INDEX mails. Fix this so we'll use Reply-To or
From if that isn't set.

19 years agoEnable ADD support for email interface.
Jonathan McDowell [Sun, 18 Sep 2005 10:41:51 +0000 (10:41 +0000)]
Enable ADD support for email interface.
onak-mail.pl didn't support ADD; this is still in use by some people,
so has now been added. Thanks to Ian Jackson for reporting, I'd
forgotten it didn't support this yet.

19 years agoAdd Suggests: for db4.2-utils to Debian packaging.
Jonathan McDowell [Sat, 13 Aug 2005 14:05:43 +0000 (14:05 +0000)]
Add Suggests: for db4.2-utils to Debian packaging.
As per Debian bug #317459 add a suggests for db4.2-utils.

19 years agoSupport 16 digit key ids in lookup.
Jonathan McDowell [Sat, 16 Jul 2005 11:48:20 +0000 (11:48 +0000)]
Support 16 digit key ids in lookup.
When generating our html keyindexes, use 64bit key ids for the links,
to help avoid collisions. Also make lookup support this length of id.

19 years agoAdd dynamic loading of backends.
Jonathan McDowell [Thu, 14 Jul 2005 16:15:57 +0000 (16:15 +0000)]
Add dynamic loading of backends.
This adds support for the dynamic loading of backends. By default we
now try to build all the backends we can and then dynamically load the
one the user wants.

19 years agoFix memory leak on db4 cleanup.
Jonathan McDowell [Thu, 14 Jul 2005 15:42:37 +0000 (15:42 +0000)]
Fix memory leak on db4 cleanup.
Make sure we cleanup our dbconns array when shutting down the db4 backend.

19 years agoMake onak-mail.pl queue requests.
Jonathan McDowell [Fri, 15 Apr 2005 16:01:58 +0000 (16:01 +0000)]
Make onak-mail.pl queue requests.
onak-mail.pl sequentially processes requests. Rather than having a lot
of these processes hang around waiting for other requests to complete we
now dump requests to a file and then the active copy will process all
pending requests.

19 years agoUpdate version to mark arch build.
Jonathan McDowell [Fri, 25 Mar 2005 15:03:37 +0000 (15:03 +0000)]
Update version to mark arch build.
Bump version to 0.3.2+arch.

19 years ago0.3.2 release.
Jonathan McDowell [Fri, 25 Mar 2005 11:18:55 +0000 (11:18 +0000)]
0.3.2 release.
Release; update version string in configure.ac, README. Update HISTORY
and debian/changelog.

19 years agoHandle signature revokations better.
Jonathan McDowell [Wed, 2 Mar 2005 12:18:19 +0000 (12:18 +0000)]
Handle signature revokations better.
Hanna Wallach reported an issue with UID revokations. This was because
we weren't allowing multiple signatures from the same keyid for a UID;
we now check the signature type and allow them if they're different.

19 years agoFix path bug in sendkeysync.
Jonathan McDowell [Wed, 16 Feb 2005 14:12:47 +0000 (14:12 +0000)]
Fix path bug in sendkeysync.
We weren't using the path configured for the MTA from the config file,
instead it was a hard coded value. This causes problems if the MTA isn't
on the path.

19 years agoFix problem with closing stderr in add.c
Jonathan McDowell [Fri, 17 Dec 2004 10:17:14 +0000 (10:17 +0000)]
Fix problem with closing stderr in add.c
Fred Strauss reported a problem when we close stderr in add.c; we now
do some basic checking to try to ensure it's a valid file ptr before
we close it. Also do this for stdout just in case.

19 years agoFix parsing of empty config file lines.
Jonathan McDowell [Wed, 15 Dec 2004 15:27:44 +0000 (15:27 +0000)]
Fix parsing of empty config file lines.
Fred Strauss reported a problem with parsing empty lines in the config
file; we weren't checking if the line was empty before stripping
trailing white space. We do now.

20 years agoAllow non ASCII characters to be stored.
Jonathan McDowell [Tue, 9 Nov 2004 14:03:20 +0000 (14:03 +0000)]
Allow non ASCII characters to be stored.
Previously we only stored letters/numbers. Now we store anything except
punctuation and spaces. Based on a patch from Jason Harris for pks.

20 years agoUpdate version to mark arch build.
Jonathan McDowell [Sat, 23 Oct 2004 17:19:34 +0000 (17:19 +0000)]
Update version to mark arch build.
Bump version to 0.3.1+arch.

20 years ago0.3.1 release.
Jonathan McDowell [Sat, 23 Oct 2004 17:05:31 +0000 (17:05 +0000)]
0.3.1 release.
Release; update version string in configure.ac, README. Update HISTORY
and debian/changelog.

20 years agoMove dumpdb over to using iterate_keys.
Jonathan McDowell [Sat, 23 Oct 2004 16:58:31 +0000 (16:58 +0000)]
Move dumpdb over to using iterate_keys.
iterate_keys provides a generic way to do stuff with every key in the
DB, so use it instead for dumping the database and remove the old
dumpdb function.

20 years agoAdd onak-mail.pl man page (Debian bug #276879)
Jonathan McDowell [Thu, 21 Oct 2004 17:00:01 +0000 (17:00 +0000)]
Add onak-mail.pl man page (Debian bug #276879)
Add a man page for onak-mail.pl.

20 years agoAdd links to HTML index output. (Debian bug #275227)
Jonathan McDowell [Thu, 21 Oct 2004 15:56:47 +0000 (15:56 +0000)]
Add links to HTML index output. (Debian bug #275227)
Add links to get the key data and the verbose index for a key to the
HTML output of op=index. I think this was previously removed to try to
make gpg --search happy, but I've tested 1.2.4 with this change and it
still works.

20 years agoFix typo in keyindex.c
Jonathan McDowell [Thu, 21 Oct 2004 15:32:50 +0000 (15:32 +0000)]
Fix typo in keyindex.c
We had a , where it should have been a ;. Surprised this didn't bite
before.

20 years agoAdd lladdend function and use in makewordlist.
Jonathan McDowell [Thu, 21 Oct 2004 14:47:44 +0000 (14:47 +0000)]
Add lladdend function and use in makewordlist.
Add a new function that adds an object to the end of a linked list.
We make use of this in makewordlist, which means we search for keys
containing words from the start of the email address first, rather than
starting with the words at the end. When you're dealing with TLDs like
com, net, org this makes a big difference, as you don't end up with a
huge list from the first word you try.

20 years agoIntroduce sorted keyid array functions and use in DB4.
Jonathan McDowell [Sun, 17 Oct 2004 22:15:37 +0000 (22:15 +0000)]
Introduce sorted keyid array functions and use in DB4.
Adds functions to keep a sorted array of keyids (aiding searching speed).
Makes use of these in the DB4 backed for searching for keys based on uid
text.

20 years agoCleanup db4 properly if we fail to open it.
Jonathan McDowell [Sun, 17 Oct 2004 14:09:16 +0000 (14:09 +0000)]
Cleanup db4 properly if we fail to open it.
Rather than exiting as soon as we hit a problem opening the DB4 db we
try to cleanup whatever we've managed to open.

20 years agoFixup warnings with sendsync move.
Jonathan McDowell [Sun, 17 Oct 2004 10:39:17 +0000 (10:39 +0000)]
Fixup warnings with sendsync move.
Forgot to move the #include of sendsync.c from add.c to keydb.c, so do
this.

20 years agoMove mailsync functionality to the database backends.
Jonathan McDowell [Sat, 16 Oct 2004 20:11:22 +0000 (20:11 +0000)]
Move mailsync functionality to the database backends.
Move the sending of key sync mails to the DB backend.

20 years agoRemove ancient gprof output.
Jonathan McDowell [Tue, 28 Sep 2004 17:17:43 +0000 (17:17 +0000)]
Remove ancient gprof output.
onak.gprof is no longer relevant; remove it.

20 years agoChange buffer_put/fetchchar functions to use memcpy.
Jonathan McDowell [Tue, 28 Sep 2004 11:02:18 +0000 (11:02 +0000)]
Change buffer_put/fetchchar functions to use memcpy.
We used an inefficient loop to copy data in the buffer character
functions; change them to use memcpy.

20 years agoMake Makefile cleanup keyd and backend db .o files.
Jonathan McDowell [Mon, 27 Sep 2004 22:34:47 +0000 (22:34 +0000)]
Make Makefile cleanup keyd and backend db .o files.
We weren't cleaning up keyd.o and keydb_$(DBTYPE).o with "make clean"
when keyd was enabled; fix this.

20 years agoAdd key iteration functionality to keydb backends.
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.

20 years agoMove update_keys to keydb rather than merge.
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.

20 years agoAdd keyd backend (persistant database access over Unix socket)
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.

20 years agoUpdate version to indicate arch build.
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).

20 years agoCleanup logging in sixdegrees.c
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.

20 years agoFix maxpath to initialise the logging infrastructure.
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.

20 years agoFix sixdegrees to initialise the logging infrastructure.
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.

20 years agoFix transaction around id32 updating in DB4 backend.
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.

20 years agoMake cleanup.c compile cleanly under c99.
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.

20 years agoCompile warning cleanup; add missed include file.
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.

20 years agoAdd assert for invalid armor parameters.
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.

20 years agoHard error when db version is < 4.
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.

20 years agoChange makedepend to use the compile instead.
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.

20 years agoUpdate HISTORY
Jonathan McDowell [Tue, 14 Sep 2004 20:43:31 +0000 (20:43 +0000)]
Update HISTORY

Update HISTORY ready for release.

20 years agoAdd Apache2 example info.
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.

20 years agoQuieten cleanup infrastructure.
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.

20 years agoCreate an initial database when installing the package.
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.

20 years agoFix cleanup of statoverrides when purging package.
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.

20 years agoDecrease default log level.
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.

20 years agoCreate logfile for Debian package
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.

20 years agoUpdate my key.
Jonathan McDowell [Tue, 14 Sep 2004 17:11:26 +0000 (17:11 +0000)]
Update my key.
Update the copy of my PGP key.

20 years agoConfigure basic onak.conf using autoconf info.
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.

20 years agoSmall README updates
Jonathan McDowell [Tue, 14 Sep 2004 16:15:54 +0000 (16:15 +0000)]
Small README updates
Various misc README updates.

20 years agoChange to using Autoconf version string.
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.

20 years agoAdd THANKS.
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.

20 years agoAdd more checking on db4 cleanup.
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.

20 years agoRelax asserts when cleaning up.
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.

20 years agoFix lack of cleanup.{c,h}
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.

20 years agoAdd stripkey
Jonathan McDowell [Sun, 29 Aug 2004 12:42:03 +0000 (12:42 +0000)]
Add stripkey
Add stripkey from Daniel Silverstone.

20 years agoFirst cut at cleanup infrastructure.
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.

20 years agoautoconf onak-mail.pl config
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.

20 years agoUpdate README a little.
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.

20 years agoLog total received key count.
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.

20 years agoMove over to log_assert.
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.

20 years agoAdd man pages for onak/splitkeys.
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).

20 years agoAdd Debian packaging files.
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).

20 years agoUpgrade db3 backend to db4.
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.

20 years agoAllow setting of config file directory from configure.
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.

20 years agoUpdate TODO with more details of key import checks.
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.

20 years agoTune down keydb_fs logging level.
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.

20 years agoAdd subkey support to keydb_fs backend.
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.

20 years agoFix segfault with non existant short key id & keydb_fs.
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.

20 years agoFold in some of dsilvers' autoconf changes.
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.

20 years agoFurther compile warning cleanups.
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.

20 years agoUpdate TODO file.
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.

20 years agoRemove config.h.in
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.

20 years agoRemove CVS Id tags.
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.

20 years agoRemove spurious LDFLAGS for onak linking.
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.

20 years agoVarious compiler warning cleanups.
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.

20 years agoInital subkey searching support for db3 backend.
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.

20 years agoUpdate DB3 backend to use 64bit key ids.
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.

20 years agoSimple typo fix.
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.

20 years agoFixup for 64bit key ids in gpgwww.
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.

20 years agoAdd option to gpgwww to return all keys listed.
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>.

20 years agoFix compilation of PostgreSQL backend.
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.

20 years ago--enable-backend=<foo> configure option
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.

20 years agoInitial introduction of autoconf support; just endian checking at present.
Jonathan McDowell [Tue, 1 Jun 2004 15:12:01 +0000 (15:12 +0000)]
Initial introduction of autoconf support; just endian checking at present.

20 years agocscvs to tla changeset 140
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.

20 years agocscvs to tla changeset 139
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.

20 years agocscvs to tla changeset 138
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.

20 years agocscvs to tla changeset 137
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.

20 years agocscvs to tla changeset 136
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.

20 years agocscvs to tla changeset 135
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).