8000 Fix BZ API key configuration · Issue #1610 · abrt/abrt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix BZ API key configuration #1610

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

Open
oglok opened this issue May 30, 2022 · 2 comments
Open

Fix BZ API key configuration #1610

oglok opened this issue May 30, 2022 · 2 comments
Labels

Comments

@oglok
Copy link
oglok commented May 30, 2022

Once you enter the bugzilla API key wrong, is there any way to remove that existing configuration, or overwritting it with a correct one?

I constantly get this error when reporting:

fatal: RPC failed at server.  The API key you specified is invalid. Please check that you typed it correctly.

and I've added my correct API key (after I mistyped it the first time) in:

/etc/libreport/plugins/bugzilla.conf

With no luck. Thanks

@mgrabovsky
Copy link
Contributor
mgrabovsky commented May 30, 2022

Hi, the user-specific API key is stored in ~/.config/libreport/bugzilla.conf which overrides any settings in /etc. When you edit the file, you should see your previous API key and should be able to change it to the new one.

Please note that the config file /etc/libreport/plugins/bugzilla.conf should only be used for global settings that affect all users and it's readable by all users by default, so it should not be used to store sensitive information like your API key.

@oglok
Copy link
Author
oglok commented May 30, 2022

Hi @mgrabovsky ,

Thanks for your quick reply. Unfortunately, I don't see any ~/.config/libreport/bugzilla.conf in my system. I tried to create it and I'm still getting the same error message about the API key. Is there any other location?

Thanks

--- Running analyze_BodhiUpdates ---
Looking for similar problems in bugzilla
fatal: RPC failed at server.  The API key you specified is invalid. Please check that you typed it correctly.
abrt-action-find-bodhi-update [ERROR] Search for duplicate bugs failed: None
('analyze_BodhiUpdates' exited with 2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
0