]> the.earth.li Git - onak.git/commitdiff
Merge branch 'switch-to-debhelper' of git://git.sommitrealweird.co.uk/onak
authorJonathan McDowell <noodles@earth.li>
Sun, 6 Oct 2013 11:41:18 +0000 (12:41 +0100)
committerJonathan McDowell <noodles@earth.li>
Sun, 6 Oct 2013 11:41:18 +0000 (12:41 +0100)
.gitignore
Doxyfile
HISTORY
README
configure.ac
debian/changelog
keydb_hkp.c
keydctl.c

index 6a7382ca2188b724304c3468fa0a6e88fc03af7f..b31362883a14729195965f5581417f413fe7243d 100644 (file)
@@ -21,6 +21,7 @@ testparse
 wotsap
 tags
 .depend
+aclocal.m4
 autom4te.cache
 version.h
 *.o
index 92ae05515282963e028c18cf002e0b5c2a597d79..353a002d0dfd05cb6ef9b553e7f25285cbd9406c 100644 (file)
--- a/Doxyfile
+++ b/Doxyfile
@@ -32,7 +32,7 @@ PROJECT_NAME           = onak
 # This could be handy for archiving the generated documentation or
 # if some version control system is used.
 
-PROJECT_NUMBER         = 0.4.1
+PROJECT_NUMBER         = 0.4.2
 
 # Using the PROJECT_BRIEF tag one can provide an optional one line description
 # for a project that appears at the top of each page and should give viewer
diff --git a/HISTORY b/HISTORY
index 4f578c54671c82daf299d34547cd31f4aa903128..3bc56fa256390a55d89f220211bfd0130f539523 100644 (file)
--- a/HISTORY
+++ b/HISTORY
 * Always put a leading 0x on keyids in HTML output links
 * Allow retrieval of key by full fingerprint
 * Add keyid to DB4 backend deletion error messages
+
+0.4.2 - 1st October 2013
+
+* Add support for RIPEMD160, SHA224, SHA384 & SHA512 when available
+* Fix stripkeys to output all the keys at the end rather as it goes along
+* Add support for checking signature hashes
+* Use Doxygen for some initial code documentation generation
+* Cleanup code in preparation for a separate libonak for general PGP bits
+* Prevent read_openpgp_stream from returning empty packages + causing crashes
+* Allow maxpath + splitkeys to take a -c option to specify the config file
+* Add wotsap tool to generate data files for wotsap
+* Add HKP backend to allow onak to be used as a proxying keyserver
diff --git a/README b/README
index 63b2a21a6ddff82883b93f108f3dbc08ac72eea0..e1cc1ca8de3b2f2b83dc18e9ca651757772642fc 100644 (file)
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
-onak 0.4.1
-Copyright 2003-2012 Jonathan McDowell
+onak 0.4.2
+Copyright 2003-2013 Jonathan McDowell
 http://www.earth.li/projectpurple/progs/onak.html
 
 
@@ -62,7 +62,7 @@ should live; by default it'll be PREFIX/etc/onak.conf.
 
 Backends:
 
-Currently there is support for 5 different database backends:
+Currently there is support for 6 different database backends:
 
 * file
   The original backend. Very simple and ideal for testing. Stores each
@@ -93,6 +93,10 @@ Currently there is support for 5 different database backends:
   subkey searching). Needs a good filesystem to get good performance
   though as it creates many, many files and links.
 
+* hkp
+  A proxying backend. No keys are stored locally; all fetch and store
+  requests are forwarded to the provided keyserver.
+
 
 Other keyservers:
 
@@ -138,12 +142,14 @@ onak lives at:
 
 http://www.earth.li/projectpurple/progs/onak.html
 
-Development is carried out using arch; you can access the repository
+Development is carried out using git; you can access the repository
 with something like:
 
-tla register-archive noodles@earth.li--2004-laptop \
-       http://www.earth.li/~noodles/arch/
-tla get -A noodles@earth.li--2004-laptop onak--mainline--0.3
+git clone git://the.earth.li/onak.git
+
+or it can be browsed via gitweb at:
+
+http://the.earth.li/gitweb/?p=onak.git;a=summary
 
 
 License:
index 55def5cf13a4420cf5cff9054d991a0f8a6c718b..f949a770fb5750d56bb8075ea7cb0d2699b092d8 100644 (file)
@@ -1,5 +1,5 @@
 AC_PREREQ(2.50)
-AC_INIT([onak],[0.4.1],[noodles-onak@earth.li])
+AC_INIT([onak],[0.4.2],[noodles-onak@earth.li])
 AC_CONFIG_SRCDIR(onak.c)
 AC_CONFIG_HEADER(config.h)
 
index 5ae0246d8cdc5c2056ee81c3f0fa6bacd856d53f..6e608b0a076988f724e1fa14b4d447ed7bac4d09 100644 (file)
@@ -1,13 +1,14 @@
-onak (0.4.1-1+bzr) unstable; urgency=low
+onak (0.4.2-1) unstable; urgency=low
 
-  * Development build
+  * New upstream release
+    * Prevent splitkeys crash with malformed key input. (Closes: #716350)
   * Switch to source format 3.0 (quilt).
   * Only seed initial database if key file is available. (Closes: #710665)
   * Bump Debian Standards-Version to 3.9.4.0
     * Update year in copyright file
   * Updated Vcs fields to point to git repository
 
- -- Jonathan McDowell <noodles@earth.li>  Tue, 24 Apr 2012 21:54:17 -0700
+ -- Jonathan McDowell <noodles@earth.li>  Tue, 01 Oct 2013 11:56:55 +0100
 
 onak (0.4.1-1) unstable; urgency=low
 
index f1dfe4477786b83b087359533d5e95457b6b5532..3802e4985b60bcb5076ff139a80cc236f695606d 100644 (file)
@@ -31,6 +31,7 @@
 #include "mem.h"
 #include "onak-conf.h"
 #include "parsekey.h"
+#include "version.h"
 
 static CURL *curl = NULL;
 
@@ -43,6 +44,11 @@ static void hkp_initdb(bool readonly)
 {
        curl_global_init(CURL_GLOBAL_DEFAULT);
        curl = curl_easy_init();
+       if (curl == NULL) {
+               logthing(LOGTHING_CRITICAL, "Could not initialize CURL.");
+               exit(EXIT_FAILURE);
+       }
+       curl_easy_setopt(curl, CURLOPT_USERAGENT, "onak/" ONAK_VERSION);
 }
 
 /**
index e46a355c5aa41aa5030c75c0cd3c04e1e1eb6815..11e5e8f3ae4fdfe0aaba40a8f20afab618a31cc5 100644 (file)
--- a/keydctl.c
+++ b/keydctl.c
@@ -190,7 +190,7 @@ static void usage(void)
 {
        puts("keydctl " ONAK_VERSION " - control an onak keyd instance.\n");
        puts("Usage:\n");
-       puts("\tonak [options] <command> <parameters>\n");
+       puts("\tkeydctl [options] <command> <parameters>\n");
        puts("\tCommands:\n");
        puts("\tcheck    - check if keyd is running");
        puts("\tquit     - request that keyd cleanly shuts down");