-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
I have been using this tool for quite some time & it has been very helpful.
I just started having issues with Authentication though. I specify an API key to the NVD database, in Maven:
<nvdApiKey>#######</nvdApiKey>
I am using the current release: 12.1.5
and receiving this error:
One or more exceptions occurred during dependency-check analysis: One or more exceptions occurred during analysis:
[ERROR] InitializationException: Error initializing OSS Index analyzer due to missing user/password credentials. Authentication is now required: https://ossindex.sonatype.org/doc/auth-required
-
Thinking that maybe my API key had expired (I don't know if there is an expiration, they don't seem to mention it),
I generated a new one at: https://nvd.nist.gov/developers/request-an-api-key
but received the same error message. -
The error message itself points to a different URL than the NVD one (sonatype) for generating an API key, so I also registered an account & created an API key there. Same error message.
-
I also tried just using the username/password from OSS/Sonatype registration (just these lines & also w/nvdApiKey):
<nvdUser>aaaaa</nvdUser>
<nvdPassword>bbbbbbbbbbb</nvdPassword>
also received the same error message.
Would you please point me in the right direction to solve this? Which place should I be using to generate an API key?
Thanks!