summaryrefslogtreecommitdiff
path: root/changes/bug13111-generate-keys-on-empty-file
diff options
context:
space:
mode:
Diffstat (limited to 'changes/bug13111-generate-keys-on-empty-file')
-rw-r--r--changes/bug13111-generate-keys-on-empty-file20
1 files changed, 20 insertions, 0 deletions
diff --git a/changes/bug13111-generate-keys-on-empty-file b/changes/bug13111-generate-keys-on-empty-file
new file mode 100644
index 0000000000..1d602deb3e
--- /dev/null
+++ b/changes/bug13111-generate-keys-on-empty-file
@@ -0,0 +1,20 @@
+ o Minor bugfixes (file handling):
+ - Stop failing when key files are zero-length. Instead, generate new
+ keys, and overwrite the empty key files.
+ Fixes bug 13111; bugfix on all versions of Tor. Patch by "teor".
+ - Stop generating a fresh .old RSA key file when the .old file is
+ missing. Fixes part of 13111; bugfix on 0.0.6rc1.
+ - Avoid overwriting .old key files with empty key files.
+
+ o Minor enhancements (file handling):
+ - Skip loading zero-length extra info store, router store, stats, state,
+ and key files.
+
+ o Minor enhancements (testing):
+ - Test that tor does not fail when key files are zero-length.
+ Check that tor generates new keys, and overwrites the empty key files.
+ - Test that tor generates new keys when keys are missing (existing
+ behaviour).
+ - Test that tor does not overwrite key files that already contain data
+ (existing behaviour).
+ Tests bug 13111. Patch by "teor".