]> the.earth.li Git - onak.git/log
onak.git
13 years ago0.4.0 release 0.4.0
Jonathan McDowell [Wed, 20 Apr 2011 05:00:14 +0000 (22:00 -0700)]
0.4.0 release

  Release; update version string in configure.ac, README.
  Update HISTORY and debian/changelog.

13 years agoAdd Debian logrotate config snippet
Jonathan McDowell [Sun, 17 Apr 2011 06:27:35 +0000 (23:27 -0700)]
Add Debian logrotate config snippet

  Add a weekly rotation logrotate config snippet for onak.log

13 years agoOutput details of key search after retrieval for pks/lookup
Jonathan McDowell [Sat, 16 Apr 2011 20:28:33 +0000 (13:28 -0700)]
Output details of key search after retrieval for pks/lookup

  Rather than logging what we're searching for beforehand, and then
  indicating failure after (but not success), just output the results
  and search details after retrieval.

13 years agoAdd Debian init.d file for keyd
Jonathan McDowell [Sat, 16 Apr 2011 17:04:45 +0000 (10:04 -0700)]
Add Debian init.d file for keyd

  Add an init.d file to start up/shut down keyd on Debian machines if
  it's configured in onak.conf.

13 years agoAdd ${perl:Depends} to dependencies
Jonathan McDowell [Mon, 11 Apr 2011 00:20:44 +0000 (17:20 -0700)]
Add ${perl:Depends} to dependencies

  The onak-mail processing script is written in Perl, so we should
  depend on it.

13 years agoBump Debian Standards-Version to 3.9.2.0
Jonathan McDowell [Sun, 10 Apr 2011 23:30:29 +0000 (16:30 -0700)]
Bump Debian Standards-Version to 3.9.2.0

  No changes.

13 years agoClean up use of PATH_MAX in keydb_fs.c
Jonathan McDowell [Sun, 10 Apr 2011 18:26:42 +0000 (19:26 +0100)]
Clean up use of PATH_MAX in keydb_fs.c

  Hopefully this will enabled compilation on GNU/Hurd. PATH_MAX is not
  entirely removed, but now only used for array definitions and
  conditionally defined if not already defined. Moving the static defs
  to dynamic allocations is future work, but this provides a start.

13 years agoFix onak.c to include version.h not config.h
Jonathan McDowell [Sun, 10 Apr 2011 17:55:42 +0000 (10:55 -0700)]
Fix onak.c to include version.h not config.h

  Oops; broken with the move from PACKAGE_VERSION to ONAK_VERSION.

13 years agoAdded keydctl and testparse to .bzrignore
Jonathan McDowell [Sun, 10 Apr 2011 17:55:16 +0000 (10:55 -0700)]
Added keydctl and testparse to .bzrignore

13 years agoAdd a stats command to keyd
Jonathan McDowell [Sun, 10 Apr 2011 17:47:35 +0000 (10:47 -0700)]
Add a stats command to keyd

  Add KEYD_CMD_STATS to obtain info about when keyd started, how many
  connects it has seen and how many instances of each command.

13 years agoMake onak.c use ONAK_VERSION instead of PACKAGE_VERSION for version number
Jonathan McDowell [Sun, 10 Apr 2011 06:38:38 +0000 (23:38 -0700)]
Make onak.c use ONAK_VERSION instead of PACKAGE_VERSION for version number

  Missed this in the changes to add the bzr revno to non pristine builds.

13 years agoRemove keydctl.o in clean rule
Jonathan McDowell [Sun, 10 Apr 2011 06:12:06 +0000 (23:12 -0700)]
Remove keydctl.o in clean rule

13 years agoAllow db4 backend to compile with later versions of Berkeley DB
Jonathan McDowell [Fri, 8 Apr 2011 06:34:27 +0000 (23:34 -0700)]
Allow db4 backend to compile with later versions of Berkeley DB

  db5 is compatible with db4 at an API level, so look for >= v4 rather
  than = v4 in our configure script.

13 years agoUse generic db dependencies rather than 4.8 versioned ones
Jonathan McDowell [Fri, 8 Apr 2011 06:01:15 +0000 (23:01 -0700)]
Use generic db dependencies rather than 4.8 versioned ones

  Rather than depending on libdb4.8-dev and db4.8-util depend on
  libdb-dev and db-util, allowing easy binary only rebuilds in the
  event of new db4 releases.

  Fixes Debian bug #621426

13 years agoAdd the bzr version number to non release builds
Jonathan McDowell [Thu, 7 Apr 2011 03:17:57 +0000 (20:17 -0700)]
Add the bzr version number to non release builds

  If we're building from a bzr checkout then include the revision
  number in the version string we report.

13 years agoAdd keydctl for talking to keyd backend
Jonathan McDowell [Wed, 6 Apr 2011 04:22:39 +0000 (21:22 -0700)]
Add keydctl for talking to keyd backend

  The regular keydb functions for talking to keyd work fine for key
  related operations, but there are extra things we want to do with
  keyd (such as checking its status or asking it to cleanly exit) that
  there's no way to do at present. Add keydctl to provide a way to
  access these additional features.

13 years agoAdd options details to keyd man page
Jonathan McDowell [Wed, 6 Apr 2011 02:12:45 +0000 (19:12 -0700)]
Add options details to keyd man page

  Document -c/-f/-h options to keyd.

13 years agoAdd help text for keyd
Jonathan McDowell [Wed, 6 Apr 2011 02:08:12 +0000 (19:08 -0700)]
Add help text for keyd

  Support -h option for printing help text.

13 years agoLog when we're doing a clean keyd shutdown
Jonathan McDowell [Thu, 31 Mar 2011 23:55:39 +0000 (16:55 -0700)]
Log when we're doing a clean keyd shutdown

  If keyd receives a quit message it will cleanly shutdown; log this
  fact so it's obvious that was the reason for exiting.

13 years agoIgnore SIGPIPE in keyd
Jonathan McDowell [Thu, 31 Mar 2011 17:57:41 +0000 (10:57 -0700)]
Ignore SIGPIPE in keyd

  catchsignals() normally catches SIGPIPE and sets the cleanup flag,
  as per the other signals it catches. This is fine for the HKP CGI,
  but not appropriate for keyd (as it's probably because the client
  has exited without doing appropriate cleanup). Ignore it; we'll
  deal with the error when we try to read/write to the socket.

13 years agoMake keyd command handling more consistent
Jonathan McDowell [Wed, 30 Mar 2011 06:28:07 +0000 (23:28 -0700)]
Make keyd command handling more consistent

  Output KEYD_REPLY_OK response for close/quite commands as well
  as data size for version/longkeyid commands. Means that commands
  can always expect to get an OK response if they've been understood
  and a size if they're going to result in some more data.

13 years agoAdd an element to the keyd command enum for the last supported command
Jonathan McDowell [Tue, 29 Mar 2011 14:20:10 +0000 (07:20 -0700)]
Add an element to the keyd command enum for the last supported command

  Add KEYD_CMD_LAST as a placeholder for the last supported keyd
  command.

13 years agoExplicitly use 32 bits for keyd socket commands
Jonathan McDowell [Tue, 29 Mar 2011 15:14:31 +0000 (07:14 -0800)]
Explicitly use 32 bits for keyd socket commands

  While cross machine compatibility is not currently an aim for keyd
  we should specify the word size for commands to help down the line
  if we decide to do this.

13 years agoConfigure db4 locks according to maxkeys and actually check maxkeys
Jonathan McDowell [Tue, 29 Mar 2011 01:35:25 +0000 (18:35 -0700)]
Configure db4 locks according to maxkeys and actually check maxkeys

  The number of db4 objects iin use is related to the maximum number of
  keys we return at once. Configure the locking subsystem accordingly
  and limit the number of returned keys to maxkeys.

  Significantly improves the reliability of the db4 backend on a large
  busy server.

13 years agoUpdate maxpath/sixdegrees to my "new" RSA key.
Jonathan McDowell [Sat, 19 Mar 2011 23:13:37 +0000 (16:13 -0700)]
Update maxpath/sixdegrees to my "new" RSA key.

  Both maxpath and sixdegrees use my key ID as a default base;
  change them to use 2DA8B985/4096R rather than 5B430367/1024D.

13 years agoRemove unused variables
Jonathan McDowell [Wed, 16 Mar 2011 05:45:12 +0000 (22:45 -0700)]
Remove unused variables

  More code cleanup.

13 years agoFix fs backend compilation/linking
Jonathan McDowell [Wed, 16 Mar 2011 05:01:45 +0000 (22:01 -0700)]
Fix fs backend compilation/linking

  Several failures to change the calls to internal functions to have
  the fs_ prefix and a use before definition of fs_getfullkeyid.

13 years agoClean up remaining uses of %llX for printing keyids
Jonathan McDowell [Wed, 16 Mar 2011 04:15:22 +0000 (21:15 -0700)]
Clean up remaining uses of %llX for printing keyids

  It should be PRIX64 to ensure we use the right format for both 32 and
  64 bit platforms.

13 years agoAdd use_keyd config file option to select keyd as the backend
Jonathan McDowell [Wed, 16 Mar 2011 03:40:44 +0000 (03:40 +0000)]
Add use_keyd config file option to select keyd as the backend

  We want to be able to use a common config file across the various
  tools, so add a config variable to indicate that we're using keyd.
  This allows keyd to override the option and then get the configured
  backend, while everything else knows to use keyd.

13 years agoMake keyd background itself by default
Jonathan McDowell [Wed, 16 Mar 2011 03:33:26 +0000 (03:33 +0000)]
Make keyd background itself by default

  It's meant to be a daemon, so it should run in the background. The
  -f option will cause it to run in the foreground for debugging etc.

13 years agoAdd -c option to specify keyd config file on command line
Jonathan McDowell [Wed, 16 Mar 2011 02:50:25 +0000 (02:50 +0000)]
Add -c option to specify keyd config file on command line

  Matches the parameter the onak binary takes and allows use of
  something other than the compiled in default config file path.

13 years agoOnly seed database for Debian install if we're using default config
Jonathan McDowell [Tue, 15 Mar 2011 14:26:56 +0000 (07:26 -0700)]
Only seed database for Debian install if we're using default config

  If the user changes the config away from DB4 or the default DB
  directory and deletes the old directory we'll think they don't
  have an initialised key database and try to seed it with my key.
  Check the config file and if it doesn't match what we expect
  assume the user has configured appropriately and don't seed the DB.

13 years agoUpdate the copy of my key to my 4096R one
Jonathan McDowell [Tue, 15 Mar 2011 05:05:21 +0000 (22:05 -0700)]
Update the copy of my key to my 4096R one

  I updated my key a couple of years ago; replace 0x5B430367 (1024D)
  with 0x2DA8B985 (4096R).

13 years agoActually close the socket in keyd/the keyd backend
Jonathan McDowell [Tue, 15 Mar 2011 04:51:38 +0000 (04:51 +0000)]
Actually close the socket in keyd/the keyd backend

  We were calling shutdown() on the socket, but this isn't sufficient -
  we need to call close() as well. Otherwise we end up leaking sockets
  and eventually keyd can no longer service requests.

13 years agoSend close command when cleaning up keyd backend
Jonathan McDowell [Tue, 15 Mar 2011 04:29:50 +0000 (21:29 -0700)]
Send close command when cleaning up keyd backend

  Previously we just shutdown the socket; we should really tell keyd
  we're disappearing as well.

13 years agoFix delete_key function in keyd backend
Jonathan McDowell [Tue, 15 Mar 2011 01:58:35 +0000 (18:58 -0700)]
Fix delete_key function in keyd backend

  Need to use keyd_delete_key, not delete_key. Also move function to
  before usage to eliminate need for prototype definition.

14 years agoRemove keydb backend specific compilation rule
Jonathan McDowell [Mon, 18 Jan 2010 10:14:38 +0000 (23:14 +1300)]
Remove keydb backend specific compilation rule

  We were defining a custom compile rule for the keydb .c -> .o stage,
  which left out the CFLAGS. We don't need this; the custom bit is at
  link time so we pick up the right libs.

14 years ago0.3.8 release 0.3.8
Jonathan McDowell [Tue, 29 Dec 2009 16:43:42 +0000 (16:43 +0000)]
0.3.8 release

  Release; update version string in configure.ac, README.
  Update HISTORY and debian/changelog.

14 years agoChange Debian package to build against libdb4.8
Jonathan McDowell [Sun, 27 Dec 2009 18:13:00 +0000 (18:13 +0000)]
Change Debian package to build against libdb4.8

  libdb4.7 isn't in stable (lenny) and libdb4.8 is in testing (squeeze)
  and sid, so given that we can do the auto upgrade no reason not to
  bump to use the latest. Tested with 20000+ invocations of "onak index"
  to try to confirm no repeat of the read-only-open problem hit with 4.6.

14 years agoBump Debian Standards-Version to 3.8.3.0
Jonathan McDowell [Sat, 26 Dec 2009 12:50:48 +0000 (12:50 +0000)]
Bump Debian Standards-Version to 3.8.3.0

  No changes.

14 years agoClarify licence is GPL v2
Jonathan McDowell [Sat, 26 Dec 2009 12:27:39 +0000 (12:27 +0000)]
Clarify licence is GPL v2

  We didn't specify the version in the README, though it was correct in
  debian/copyright. Add the version to the README and point to the
  versioned file in debian/copyright rather than the symlink to the
  current version.

14 years agoFix PostgreSQL backend key iteration
Jonathan McDowell [Sat, 26 Dec 2009 12:18:13 +0000 (12:18 +0000)]
Fix PostgreSQL backend key iteration

  We weren't passing the correct pointer into the parse_keys function
  when parsing the packets we'd read.

14 years agoChange PostgreSQL backend to use PQescapeStringConn
Jonathan McDowell [Sat, 26 Dec 2009 12:16:02 +0000 (12:16 +0000)]
Change PostgreSQL backend to use PQescapeStringConn

  While the PostgreSQL backend is not known to be in use anywhere we were
  using an older escaping function (PQescapeString) which does not have
  knowledge of the connection character encoding and so has potential
  problems. Switch to using PQescapeStringConn, which does have this
  knowledge.

14 years agoDon't add a key to the stats hash if it doesn't have any sigs
Jonathan McDowell [Sat, 26 Dec 2009 12:09:21 +0000 (12:09 +0000)]
Don't add a key to the stats hash if it doesn't have any sigs

  We always added a key to the stats hash if we tried to find its sigs,
  even if it didn't exist. So if it doesn't have any sigs (either because
  it doesn't exist or it's just a non linked in key), don't add it.
  Closes Debian bug #542187.

14 years agoBump debhelper compat level to 7
Jonathan McDowell [Sat, 26 Dec 2009 11:35:49 +0000 (11:35 +0000)]
Bump debhelper compat level to 7

14 years agoAdd Homepage and Vcs-Bzr fields to Debian control file
Jonathan McDowell [Sat, 26 Dec 2009 11:16:30 +0000 (11:16 +0000)]
Add Homepage and Vcs-Bzr fields to Debian control file

  Point to the existing homepage and bzr repository.

14 years agoCorrect formatting of some places we output a keyid
Jonathan McDowell [Tue, 25 Aug 2009 15:03:09 +0000 (16:03 +0100)]
Correct formatting of some places we output a keyid

  Format keyids in various places to be 16 digits long, zero padded
  if necessary. Closes Debian bug #540196 (which has a patch from
  Philippe Teuwen, but that uses 8 digits instead of 16).

14 years agoLimit key dump files to 100,000 keys for "onak dump"
Jonathan McDowell [Tue, 18 Aug 2009 16:38:28 +0000 (17:38 +0100)]
Limit key dump files to 100,000 keys for "onak dump"

  Gives a file size of around 125M, which is a bit saner than > 1G

14 years agoFix "onak dump" to actually generate multiple output files
Jonathan McDowell [Tue, 18 Aug 2009 16:36:51 +0000 (17:36 +0100)]
Fix "onak dump" to actually generate multiple output files

  We weren't incrementing the key count so everything went into a
  single file instead of limiting the file size.

14 years ago0.3.7 release 0.3.7
Jonathan McDowell [Tue, 2 Jun 2009 14:52:18 +0000 (15:52 +0100)]
0.3.7 release

  Release; update version string in configure.ac, README.
  Update HISTORY and debian/changelog.

14 years agoObey binary flag for "onak get"
Jonathan McDowell [Tue, 2 Jun 2009 10:43:37 +0000 (11:43 +0100)]
Obey binary flag for "onak get"

  We accepted -b for "onak add" to read in a binary key, but always
  output keys ASCII armoured; obey -b for get as well and return the
  raw key data.

14 years agoChange Debian package to build against libdb4.7
Jonathan McDowell [Tue, 2 Jun 2009 10:23:29 +0000 (11:23 +0100)]
Change Debian package to build against libdb4.7

  db4.6 (on Debian at least) seems to throw a fit after a number of
  read-only opens. db4.7 (and 4.5) don't seem to suffer from this.
  Closes Debian bug #520117

14 years agoOpen DB read only for onak lookup function
Jonathan McDowell [Tue, 2 Jun 2009 10:19:01 +0000 (11:19 +0100)]
Open DB read only for onak lookup function

  No need to open read/write when we're only doing a search.

15 years agoEnsure DB4 backend dbconns memory is initialised to zero
Jonathan McDowell [Tue, 24 Mar 2009 20:47:43 +0000 (20:47 +0000)]
Ensure DB4 backend dbconns memory is initialised to zero

  Change to using calloc to allocate the memory for the dbconns array,
  as this will ensure that all the pointers in it are NULL which
  prevents us segfaulting on abnormal cleanup. Fixes the segfault from
  Debian bug #520117 but not the underlying issue.

15 years agoAdd support for displaying Elgamal encrypt or sign keys (deprecated)
Jonathan McDowell [Sun, 2 Nov 2008 13:15:29 +0000 (13:15 +0000)]
Add support for displaying Elgamal encrypt or sign keys (deprecated)

  These keys are no longer supported as they're cryptographically weak,
  but old versions exist and we should display them properly.

15 years agoEscape colons and similar in MRHKP output
Jonathan McDowell [Thu, 26 Jun 2008 19:03:18 +0000 (20:03 +0100)]
Escape colons and similar in MRHKP output

  : is used as a separator in MRHKP output, so we need to escape it. We
  also need to escape % for similar reasons, so do so. Closes Debian bug
  #487284

15 years ago0.3.6 release. 0.3.6
Jonathan McDowell [Sat, 7 Jun 2008 13:18:45 +0000 (14:18 +0100)]
0.3.6 release.

  Release; update version string in configure.ac, README.
  Update HISTORY and debian/changelog.

15 years agoUse PRIX64, not PRIx64.
Jonathan McDowell [Sat, 7 Jun 2008 11:52:41 +0000 (12:52 +0100)]
Use PRIX64, not PRIx64.

  We do, of course, want capital IDs to match previous behaviour.

15 years agoChange to using PRIx64 rather than llX for outputting keyids.
Jonathan McDowell [Sat, 7 Jun 2008 11:48:56 +0000 (12:48 +0100)]
Change to using PRIx64 rather than llX for outputting keyids.

  C99 defines PRIx64 which is set appropriate depending on 32/64 bit,
  so use that rather than llX, which is only ok for 32 bit.

15 years agoFix up keyd compilation under 64 bit.
Jonathan McDowell [Sat, 7 Jun 2008 11:43:35 +0000 (12:43 +0100)]
Fix up keyd compilation under 64 bit.

  We were using the void * ctx argument as the file descriptor. Find for
  32 bit, but on 64 bit we're truncating. No reason not to just pass the
  pointer to the fd, so do so.

15 years agoChange Debian package to build against libdb4.6
Jonathan McDowell [Sat, 7 Jun 2008 10:50:06 +0000 (11:50 +0100)]
Change Debian package to build against libdb4.6

  Now we can automatically upgrade from earlier DB4 versions we should
  probably be building against the latest version. Closes Debian bug
  #421951

15 years agoFix bashism in Makefile distclean target
Jonathan McDowell [Sat, 7 Jun 2008 10:48:42 +0000 (11:48 +0100)]
Fix bashism in Makefile distclean target

  We weren't correctly cleaning up config.{h,sub,guess} when /bin/sh
  wasn't bash and thus didn't support that style of expansion.

15 years agoAdd initial support for upgrading db4 DBs built with older DB4 versions
Jonathan McDowell [Sun, 1 Jun 2008 12:57:30 +0000 (13:57 +0100)]
Add initial support for upgrading db4 DBs built with older DB4 versions

  DB4 data base files are tied to the version of DB4 that created them.
  It'd be nice to be able to compile with a more recent version of db4
  than db4.2, which is currently used for the Debian packages. However
  we don't want to have dump and reload the database, so this adds a
  first cut at trying to use the DB4 provided upgrade functions.

15 years agoAdd .bzrignore file
Jonathan McDowell [Sat, 31 May 2008 22:46:24 +0000 (23:46 +0100)]
Add .bzrignore file

  Ignore our autoconf generated files as well as the binaries we create.

15 years ago"Recognize" some extra subpacket types
Jonathan McDowell [Sat, 31 May 2008 17:03:35 +0000 (18:03 +0100)]
"Recognize" some extra subpacket types

  We sometimes see critical subpackets for signature UIDs and and Policy
  URIs. While we should probably display such things in indexes in the
  future this isn't critical enough for us to log the packets as an error.

15 years agoFix some missing #includes
Jonathan McDowell [Sat, 31 May 2008 16:52:07 +0000 (17:52 +0100)]
Fix some missing #includes

  Clean up some warnings from not including all necessary headers.

15 years agoFix lookup display for more than one photo id.
Jonathan McDowell [Fri, 16 May 2008 19:26:28 +0000 (20:26 +0100)]
Fix lookup display for more than one photo id.

  We would always show the first photo ID on a key when displaying it
  in /pks/lookup. Fix this so we show them all correctly. Patch from
  Philippe Teuwen as reporting in Debian bug #467020

15 years agoFix fetching key by text bug in db4 backend
Jonathan McDowell [Fri, 16 May 2008 17:59:04 +0000 (18:59 +0100)]
Fix fetching key by text bug in db4 backend

  We don't want to add keys when there are no keys in the previous list,
  we want to only add new keys on the first pass. Otherwise if we end up
  with an empty list we'll start again as if none of the previous words
  where specified.

15 years agoMake key addition success text more like SKS/PKS.
Jonathan McDowell [Thu, 24 Apr 2008 20:26:52 +0000 (21:26 +0100)]
Make key addition success text more like SKS/PKS.

  Apparently PGP Desktop doesn't like our "Storing %d keys." success
  message when storing keys received via HKP. Change our output to match
  what the pgp.com and SKS keyservers return. Patch from Timothy Legge.

15 years agoAllow the use of search text for gets, rather than just keyids
Jonathan McDowell [Thu, 24 Apr 2008 20:12:09 +0000 (21:12 +0100)]
Allow the use of search text for gets, rather than just keyids

  Apparently PGP Desktop sends a get with search text rather than a
  specific key id, so add support for that. Reported by Timothy Legge.

16 years agoFix Debian changelog versions for real 0.3.5 release. 0.3.5
Jonathan McDowell [Wed, 16 Jan 2008 22:13:43 +0000 (22:13 +0000)]
Fix Debian changelog versions for real 0.3.5 release.

16 years agoFix getfullkeyid in db4 backend.
Jonathan McDowell [Wed, 16 Jan 2008 22:13:04 +0000 (22:13 +0000)]
Fix getfullkeyid in db4 backend.

16 years ago(Hopefully) really fix the DB4 backend issues.
Jonathan McDowell [Wed, 16 Jan 2008 22:05:58 +0000 (22:05 +0000)]
(Hopefully) really fix the DB4 backend issues.

16 years ago0.3.5 release.
Jonathan McDowell [Wed, 16 Jan 2008 21:37:06 +0000 (21:37 +0000)]
0.3.5 release.
Release; update version string in configure.ac, README.
Update HISTORY and debian/changelog.

16 years agoFix db4 backend - we weren't actually providing a suitable dbfuncs struct.
Jonathan McDowell [Tue, 15 Jan 2008 22:24:17 +0000 (22:24 +0000)]
Fix db4 backend - we weren't actually providing a suitable dbfuncs struct.

16 years ago0.3.4 release. 0.3.4
Jonathan McDowell [Sat, 29 Dec 2007 10:51:25 +0000 (10:51 +0000)]
0.3.4 release.
Release; update version string in configure.ac, README.
Update HISTORY and debian/changelog.

16 years agoUpdate Debian web server recommendation from Apache to Apache2
Jonathan McDowell [Fri, 28 Dec 2007 22:41:33 +0000 (22:41 +0000)]
Update Debian web server recommendation from Apache to Apache2

16 years agoSet -std=gnu99 for Debian builds; stable has supported this now for ages
Jonathan McDowell [Fri, 28 Dec 2007 22:38:29 +0000 (22:38 +0000)]
Set -std=gnu99 for Debian builds; stable has supported this now for ages
and it gives us a warning free compile.

16 years agoBump Debian Standards-Version.
Jonathan McDowell [Fri, 28 Dec 2007 22:35:52 +0000 (22:35 +0000)]
Bump Debian Standards-Version.

16 years agoAdd man page for keyd, even though it's not currently recommended for
Jonathan McDowell [Fri, 28 Dec 2007 22:28:33 +0000 (22:28 +0000)]
Add man page for keyd, even though it's not currently recommended for
general use.

16 years agoAdd an install target in the Makefile (can't believe we didn't already
Jonathan McDowell [Sat, 15 Dec 2007 13:38:59 +0000 (13:38 +0000)]
Add an install target in the Makefile (can't believe we didn't already
have one).

16 years agoGive Brett some credit.
Jonathan McDowell [Sat, 15 Dec 2007 11:24:36 +0000 (11:24 +0000)]
Give Brett some credit.

16 years agoFix PostgreSQL backend compilation.
Jonathan McDowell [Sat, 15 Dec 2007 10:52:38 +0000 (10:52 +0000)]
Fix PostgreSQL backend compilation.

16 years agoFix up dynamic loading; we export a structure of functions now from
Jonathan McDowell [Sat, 15 Dec 2007 01:03:17 +0000 (01:03 +0000)]
Fix up dynamic loading; we export a structure of functions now from
each of the backends, which means we can maintain unique namespaces.
This should allow further cleanups/cunningness, but hopefully this is
enough to get us operating correctly across all platforms to start with.

16 years agoFix config structure references for dynamic backends
Jonathan McDowell [Mon, 13 Aug 2007 14:51:12 +0000 (14:51 +0000)]
Fix config structure references for dynamic backends
This patch fixes the config structure when dynamic backends are
used - the basic issue is that when the backend was loaded, it wouldn't
(neccessarily) share the config structure with the program that called
it (and had therefore read the config). Thanks to Brett Parker.

17 years agoRemove bashism from postrm (Debian packaging)
Jonathan McDowell [Sun, 4 Mar 2007 23:25:30 +0000 (23:25 +0000)]
Remove bashism from postrm (Debian packaging)
Lintian cleanup; remove use of g{,.1,.*.gz} for cleanup and instead
explicitly list files.

17 years agoUpdate FSF address in copyright file.
Jonathan McDowell [Sun, 4 Mar 2007 23:23:05 +0000 (23:23 +0000)]
Update FSF address in copyright file.
Lintian cleanup; FSF address is now 51 Franklin St. Update in LICENSE
too.

17 years agoAdd #DEBHELPER# tokens to postinst/postrm (Debian packaging)
Jonathan McDowell [Sun, 4 Mar 2007 23:20:29 +0000 (23:20 +0000)]
Add #DEBHELPER# tokens to postinst/postrm (Debian packaging)
Lintian cleanup; add #DEBHELPER# token to the end of postinst/postrm.

17 years agoUpdate version to mark arch build.
Jonathan McDowell [Sun, 4 Mar 2007 23:17:58 +0000 (23:17 +0000)]
Update version to mark arch build.
Bump version to 0.3.3+arch.

17 years ago0.3.3 release. 0.3.3
Jonathan McDowell [Sun, 4 Mar 2007 23:10:55 +0000 (23:10 +0000)]
0.3.3 release.
Release (finally!); update version string in configure.ac, README.
Update HISTORY and debian/changelog.

17 years agoUpdate my key
Jonathan McDowell [Sun, 4 Mar 2007 22:00:28 +0000 (22:00 +0000)]
Update my key
Update the copy of my key in the keys/ directory.

17 years agoFixup config file for Debian package upgrades
Jonathan McDowell [Sun, 4 Mar 2007 20:19:17 +0000 (20:19 +0000)]
Fixup config file for Debian package upgrades
We now need to configure a suitable DB backend and are also using the
mail_dir setting, so we need to add/fix these in onak.conf for package
upgrades.

17 years agoMake sure we own /var/spool/onak (Debian packaging)
Jonathan McDowell [Sun, 4 Mar 2007 19:27:46 +0000 (19:27 +0000)]
Make sure we own /var/spool/onak (Debian packaging)
chown onak /var/spool/onak in our postinst, so we can write incoming
mail files there.

17 years agoAllow checking for signature times and use in merging
Jonathan McDowell [Sun, 4 Mar 2007 16:37:52 +0000 (16:37 +0000)]
Allow checking for signature times and use in merging
Add support for pulling out the creation time of a signature, then use
this information when we're merging key signatures. This allows for
updating of signatures (eg key preferences) or adding new signatures eg
with later expiry dates. As reported in Debian bug #410796

17 years agoAdd Depends on adduser for Debian
Jonathan McDowell [Sun, 4 Mar 2007 15:47:09 +0000 (15:47 +0000)]
Add Depends on adduser for Debian
Add Depends on adduser for Debian; patch from Bastian Venthur as
reported in Debian bug #408270

17 years agoAdd revoked/bare public key signed keys
Jonathan McDowell [Sun, 4 Mar 2007 15:40:50 +0000 (15:40 +0000)]
Add revoked/bare public key signed keys
Add a revoked v4 key and a key with a signature on the main public key
that isn't revoked.

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.

17 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.