Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No API key in new user creation & reset token for a user resets my token #8

Closed
AlastairPooley opened this issue Oct 4, 2021 · 9 comments

Comments

@AlastairPooley
Copy link
Contributor

I’m using the Redhat client to create a new user but didn’t get an API key in the response. I tried using reset-token for the user but it reset mine instead of the user key.

@mprpic
Copy link
Contributor

mprpic commented Oct 5, 2021

cve_user

@mprpic mprpic closed this as completed in 40cb136 Oct 6, 2021
@erwanlr
Copy link

erwanlr commented Oct 21, 2021

Same issue here, on MacOSX, 4.0.0 installed via pip

Screenshot 2021-10-21 at 23 08 10

@AlastairPooley
Copy link
Contributor Author

AlastairPooley commented Oct 22, 2021

@erwanlr I pulled the updated file cvelib/cli.py down manually and updated that way and it did solve the issue.

@erwanlr
Copy link

erwanlr commented Oct 23, 2021

Then a new version should be released as the current latest 4.0.0 does not have the patched code.

@mprpic could a new release be done please ?

@mprpic
Copy link
Contributor

mprpic commented Oct 25, 2021

Then a new version should be released as the current latest 4.0.0 does not have the patched code.

@mprpic could a new release be done please ?

@erwanlr I guess you meant 0.4.0. This issue only affects the testing instance (https://cveawg-dev.mitre.org/api/) as far as I can tell. Or did you also run into this issue while updating users in the currently-deployed CVE Services 1.1.1 in prod (https://cveawg.mitre.org/api/)?

@erwanlr
Copy link

erwanlr commented Oct 25, 2021

Whoops yes 0.4.0, and yes this happened in prod

@mprpic
Copy link
Contributor

mprpic commented Oct 25, 2021

Whoops yes 0.4.0, and yes this happened in prod

Hmm, ok, I guess prod was silently updated beyond 1.1.1 then. I'll test it out and release an updated package if that's the case. Thanks!

@mprpic mprpic reopened this Oct 25, 2021
@mprpic
Copy link
Contributor

mprpic commented Oct 25, 2021

mprpic added a commit that referenced this issue Oct 25, 2021
This is a side effect of CVE Services now returning time information for
all requests:

CVEProject/cve-services#451

Resolves #8
@mprpic
Copy link
Contributor

mprpic commented Oct 25, 2021

Package released: https://pypi.org/project/cvelib/0.5.0/

@mprpic mprpic closed this as completed Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants