Closed iamamoose closed 1 year ago
Hmm, I thought that was fixed in https://github.com/CVEProject/cve-services/issues/436 and the name object should be returned even if all of its values are empty. I guess https://github.com/CVEProject/cve-services/pull/451/commits/260512963bb20a07d97281518e454813eb39a56e didn't really address this... I'll file an issue with cve-services and will work around it here for now.
Even though this was fixed in code in cvelib to account for the missing name object, it turned out to be resolved by a data migration in CVE Services itself to fill in empty values for the users that didn't have names before 2.1 was released. So even version 1.0.0 of cvelib should not encounter this error any more. Still, will keep the "fix" in place in cvelib for the time being.
agree, for example they changed my entry and I no longer hit this bug with earlier cvelib versions.
In 1.0.0 if a user has no name then you get a traceback in print_user/get_full_name name_data = user_data["name"] KeyError: 'name'