bug13111-generate-keys-on-empty-file 1.1 KB

1234567891011121314151617181920212223
  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. Patch by "teor".
  5. - Stop generating a fresh .old RSA key file when the .old file is missing.
  6. - Avoid overwriting .old key files with empty key files.
  7. - Stop crashing when a NULL filename is passed to file_status().
  8. Fixed as part of bug 13111. Patches by "teor".
  9. o Minor enhancements (file handling):
  10. - Skip loading zero-length extra info store, router store, stats, state,
  11. and key files.
  12. - Return FN_ERROR when a zero-length filename is passed to file_status().
  13. Fixed as part of bug 13111. Patches by "teor".
  14. o Minor enhancements (testing):
  15. - Test that tor does not fail when key files are zero-length.
  16. Check that tor generates new keys, and overwrites the empty key files.
  17. - Test that tor generates new keys when keys are missing (existing
  18. behaviour).
  19. - Test that tor does not overwrite key files that already contain data
  20. (existing behaviour).
  21. Tests bug 13111. Patch by "teor".