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

The elevate credential must be different from the SSH credential #3038

Closed
BasvanH opened this issue Jun 28, 2021 · 10 comments
Closed

The elevate credential must be different from the SSH credential #3038

BasvanH opened this issue Jun 28, 2021 · 10 comments
Labels

Comments

@BasvanH
Copy link

BasvanH commented Jun 28, 2021

Expected behavior

Able to rename a target without credentials.
Able to create a target without credentials.

Actual behavior

When I try to rename a target I get an error and unable to save it.
The elevate credential must be different from the SSH credential

I get the same error when trying to create a target without credentials.

Steps to reproduce

I recently upgraded to v20.4.1, but unsure if this bug is due to this.

GVM versions

Greenbone Security Assistant 21.4.1 dev1
Greenbone Vulnerability Manager 21.4.1 git-5f3063af8-HEAD
GIT revision 5f3063af8-HEAD
Manager DB revision 242
OpenVAS 21.4.1 git-81c6a4e8-HEAD
GIT revision git-81c6a4e8-HEAD
gvm-libs 21.4.1git-f10b1be1-HEAD

Please adjust the github issue template,
openvas-scanner: (openvassd --version)

Should be:
openvas-scanner: (openvas --version)

Environment

Operating system:
Linux xxxxxx 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"

@BasvanH BasvanH added the bug label Jun 28, 2021
@BasvanH
Copy link
Author

BasvanH commented Jun 28, 2021

Return from GMP:
<envelope><version>21.4.1~dev1</version><vendor_version></vendor_version><token>381094c6-da74-4ea7-bcdb-85342488a198</token><time>Mon Jun 28 06:48:26 2021 GMT</time><timezone>UTC</timezone><login>admin</login><session>1624868278</session><role>Admin</role><i18n>nl_NL</i18n><client_address>1.1.1.1</client_address><backend_operation>0.05</backend_operation><action_result><action>Save Target</action><message>The elevate credential must be different from the SSH credential</message></action_result></envelope>

@bjoernricks
Copy link
Contributor

Thanks for your report. We are already aware of that issue and will create a fix soon.

@bjoernricks
Copy link
Contributor

It is already fixed with greenbone/gvmd#1586

@BasvanH
Copy link
Author

BasvanH commented Jun 28, 2021

Ok great, is there an eta for v21.4.2 ?

@y0urself
Copy link
Member

We will need to release https://github.com/greenbone/gvmd again. Will give you a hint, if we are done. Expected today.

@y0urself
Copy link
Member

@BasvanH this should be fixed with https://github.com/greenbone/gvmd/releases/tag/v21.4.2 ...

@BasvanH
Copy link
Author

BasvanH commented Jun 30, 2021

Sorry, but it isnt fixed.

Greenbone Vulnerability Manager 21.4.1~git-5f3063af8-HEAD
GIT revision 5f3063af8-HEAD
Manager DB revision 242
Greenbone Security Assistant 21.4.1~dev1

Still getting the The elevate credential must be different from the SSH credential when saving or adding a target without credentials.

@y0urself
Copy link
Member

Greenbone Vulnerability Manager 21.4.1~git-5f3063af8-HEAD is not the correct GVMD version.
That is the commit greenbone/gvmd@5f3063a that is tagged 21.4.1.
I have linked you the gvmd release 21.4.2. You will need to use that.

@BasvanH
Copy link
Author

BasvanH commented Jun 30, 2021

Jeesh, sorry @y0urself, I did a rebuild with v21.4.1 and not v21.4.2 . My bad, rebuilding now.

@BasvanH
Copy link
Author

BasvanH commented Jun 30, 2021

Yes, I can confirm it is solved! Much appriciated.

Greenbone Vulnerability Manager 21.4.2~git-09bdb532f-HEAD
GIT revision 09bdb532f-HEAD
Manager DB revision 242

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

3 participants