bug13111-generate-keys-on-empty-file 963 B

1234567891011121314151617181920
  1. o Minor bugfixes (file handling):
  2. - Stop failing when key files are zero-length. Instead, generate new
  3. keys, and overwrite the empty key files.
  4. Fixes bug 13111; bugfix on all versions of Tor. Patch by "teor".
  5. - Stop generating a fresh .old RSA key file when the .old file is
  6. missing. Fixes part of 13111; bugfix on 0.0.6rc1.
  7. - Avoid overwriting .old key files with empty key files.
  8. o Minor enhancements (file handling):
  9. - Skip loading zero-length extra info store, router store, stats, state,
  10. and key files.
  11. o Minor enhancements (testing):
  12. - Test that tor does not fail when key files are zero-length.
  13. Check that tor generates new keys, and overwrites the empty key files.
  14. - Test that tor generates new keys when keys are missing (existing
  15. behaviour).
  16. - Test that tor does not overwrite key files that already contain data
  17. (existing behaviour).
  18. Tests bug 13111. Patch by "teor".