Changes 0 to 10 on this branch are displayed below, sorted in descending chronological order.

247 days ago: Adjust to Botan renaming SHA-1 to SHA-160 for its PKCS #5 implementation.
revision info | browse files | diff
Author: markus@bluegap.ch
Changelog: Adjust to Botan renaming SHA-1 to SHA-160 for its PKCS #5 implementation.
* src/botan_glue.hh: add a PBE_PKCS5_KEY_FORMAT constant that's Botan
version dependent.
* src/key_store.cc: use this constant in all invocations of the PKCS8
methods BER_encode and PEM_encode (or their deprecated counterparts
for older Botan versions).
Date: Sun, 12 Nov 2017 20:08:07 GMT
250 days ago: Correct PKCS8 key loading for Botan versions 2.0 and newer.
revision info | browse files | diff
Author: markus@bluegap.ch
Changelog: Correct PKCS8 key loading for Botan versions 2.0 and newer.
* src/botan_glue.{cc,hh}: extend and refine the `load_pkcs8_key` method to
handle exceptions thrown by Botan, provide a unified interface to the
rest of the monotone code (especially WRT the Passphrase_Requried
exception.
* src/{key_packet, key_store, packet}.cc: adapt and drop Botan version
specific exception handling.
Date: Thu, 09 Nov 2017 22:13:45 GMT
251 days ago: Increase minimum requirement for Botan to 1.8.0.
revision info | browse files | diff
Author: markus@bluegap.ch
Changelog: Increase minimum requirement for Botan to 1.8.0.
* m4/library.m4: increase minimum version requirement on Botan.
* NEWS: mention the new Botan requirements and compatibility.
* INSTALL: document new Botan requirements.
* src/*.{cc,hh}: drop all of the compatibility code for Botan
versions 1.6.x and 1.7.y.
Date: Wed, 08 Nov 2017 21:51:12 GMT
252 days ago: Correct the CRC32 check in Gzip_Decompression::check_footer.
revision info | browse files | diff
Author: markus@bluegap.ch
Changelog: Correct the CRC32 check in Gzip_Decompression::check_footer.
* src/gzip.cc: Rather than comparing the calculated four byte CRC to all
eight bytes of the footer, compare it only against the first four bytes
of the footer holding the CRC value. This dramatically increases changes
of matching checksums.
Date: Tue, 07 Nov 2017 21:30:56 GMT
252 days ago: gzip: Let's be more liberal in what we accept.
revision info | browse files | diff
Author: markus@bluegap.ch
Changelog: gzip: Let's be more liberal in what we accept.
* src/gzip.cc: When checking the gzip header, skip the mtime field,
allowing it to be non-zero, so that other gzip compressors *could* be
used from now on. Correct error type and message thrown in put_footer.
* test/unit/tests/transforms.cc: Extend the gzip_encode test to check for
a properly zeroed mtime gzip header field, so as to ensure compatibility
with older versions of monotone. (The other part of the robustness
principle.) Correct a comment in the gzip_decode_old test. Add a new
test `gzip_decode_real` checking the parser against non-zero timestamps.
Date: Tue, 07 Nov 2017 21:25:44 GMT
252 days ago: Add more `transforms` unit tests for better gzip coverage.
revision info | browse files | diff
Author: markus@bluegap.ch
Changelog: Add more `transforms` unit tests for better gzip coverage.
Date: Tue, 07 Nov 2017 19:19:58 GMT
252 days ago: More minor fixes.
revision info | browse files | diff
Author: markus@bluegap.ch
Changelog: More minor fixes.
* src/botan_glue.hh: include stdexcept header (presumably the removal of
botan.h made this necessary).
* src/key_store.cc: move inclusion of botan_glue.hh above all other botan
includes.
Date: Tue, 07 Nov 2017 19:14:25 GMT
252 days ago: Misc smaller fixes for increased Botan compatibility.
revision info | browse files | diff
Author: markus@bluegap.ch
Changelog: Misc smaller fixes for increased Botan compatibility.
* src/botan_glue.cc: really add the file this time.
* src/gzip.hh: include botan_glue.hh before any other botan header.
* Makefile.am: add botan_glue.cc to the test_bin_tester_SOURCES
Date: Tue, 07 Nov 2017 16:28:27 GMT
253 days ago: Adjust newer Botan versions, further centralize Botan version specific code.
revision info | browse files | diff
Author: markus@bluegap.ch
Changelog: Adjust newer Botan versions, further centralize Botan version specific code.
* src/botan_glue.cc: add and move a PKCS8 key loader method, including the
necessary Dummy_UI class and special exception handling here. Introduce
an initialize_botan method, used by monotone.cc and unit tests as well as
a central load_pkcs8_key one.
* src/automate.cc: Eliminate a compiler warning.
* src/{botan_pipe_cache,gzip,hmac,key_store,lazy_rng,packet}.hh,
src/{database,file_io,gzip,hmac,inodeprint,key_packet,key_store,
merkle_tree,monotone,packet,sha1,ssh_agent,transforms}.cc,
test/unit/{tests/packet,unit_tester}.cc: Drop inclusion of "botan.h", as
it got deprecated with Botan 2.3.
* src/{key_store,packet}.cc: factor out loading of unprotected keys to the
new load_pkcs8_key method in botan_glue.cc.
* src/monotone.cc,test/unit/unit_tester.cc: factor out Botan initialization
to the new method initialize_botan in botan_glue.cc
* src/database.cc: Use non-deprecated constructor for PK_Exncryptor_EME.
* src/lazy_rng.hh: Use non-deprecated AutoSeed_RNG for newer Botan versions.
* src/botan.hh: rename back to botan_glue.hh, move some method definitions
here.
* Makefile.am: add botan_glue.{cc,hh}
Date: Mon, 06 Nov 2017 18:22:25 GMT
254 days ago: explicit merge of '2751100d37e83007e5396f82eea95fdb6aad79c9'
revision info | browse files | diff, diff
Author: markus@bluegap.ch
Changelog: explicit merge of '2751100d37e83007e5396f82eea95fdb6aad79c9'
and '3b451f4bee22a2725be748e829c1ce7d3816607e'
Date: Sun, 05 Nov 2017 21:43:04 GMT
earlier changes recent changes (no later changes)