ZAdamMac / Tapestry

Specialist Batch File Backup Tool
GNU General Public License v3.0
3 stars 1 forks source link

[BUG]Generate_Keys does not update the namespace, only the config. #13

Closed ZAdamMac closed 5 years ago

ZAdamMac commented 5 years ago

Describe the bug When generating a new key, tapestry will thereafter exhibit one of two behaviours:

This is because generate_keys is correctly updating the configuration, but it's called after parse_config() and therefore needs to be patched to update the NAMESPACE as well.

To Reproduce Steps to reproduce the behavior:

  1. Run tapestry with the --genKey flag.

Expected behavior A new key should be generated and written to configuration, and that key should be used throughout the rest of the backup process.

Log/Console Output Where possible, add the output of the Logs or Console when the problem occurs.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Bug was reported by the redoubtable Kat Adam-MacEwen

ZAdamMac commented 5 years ago

This will be closed in the 2.0.1 release and the current dev source in the "bug-fixes" branch contains a tested fix.

Slightly premature, but closing as that release will be coming out later today.