commit: 062dfa1f3bd86a7e8c898eac0ef948a425410986
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 4 04:04:56 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Mar 4 04:04:56 2020 +0000
URL: https://gitweb.gentoo.org/proj/security.git/commit/?id=062dfa1f
cvetool: info: show internal CVE id in addition
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
bin/cvetool | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/cvetool b/bin/cvetool
index f60248b..28b8901 100755
--- a/bin/cvetool
+++ b/bin/cvetool
@@ -83,7 +83,7 @@ class CVETool:
print('{} not found in Gentoo\'s CVE database!'.format(cve))
sys.exit(0)
- print(' CVE ID: ' + data['cve_id'])
+ print(' CVE ID: ' + data['cve_id'] + ' (#' + str(data['id']) + ')')
print(' Summary: ' + data['summary'])
print(' Published: ' + (data['published_at'] if data['published_at']
is not None else "Not yet published"))
print('-' * 80)