-
Notifications
You must be signed in to change notification settings - Fork 568
Description
In solving #1, @pdxjohnny and I made some pretty big changes to the way we load the NVD data, removing the old NVDAutoUpdate.py in favour of the new cvedb.py. One of the things I did was change the default location from
.cache/cve-bin-tool/
which included nvd.vulnerabilities.db and a bunch of zip files
to
.cache/cvedb/
which included nvd.vulnerabilities.db and a bunch of json files
That's because it made it easier fo rme to test people's incoming PRs while sitll working on the new updater. I'd intended to fix it to use the old directory (although the new filename just to be sure of not getting stale data) but I forgot in my enthusiasm for having gotten it to work.
Options
- Do nothing. People may never notice they have old files hanging around.
- Document so people can remove the files manually
- Make the tool check once and remove old files.
- Make -u now remove the old files if they exist.
- Switch back to the old directory and do one of of the previous options to deal with both old and new files.
- Switch back to the old directory and switch back to using zipfiles instead of unzipping them, then do one of the previous options to deal with the now obsolete nvd.vulnerabilities.db
I'm not in a huge hurry to do anything as long as I make a reasonable decision before we release 1.0, so I'm just documenting thoughts here for now. Feel free to chime in if you have a particular opinion about any of these.