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

Fixing 0-byte credential creator issue #2011

Merged
merged 5 commits into from
Jun 15, 2023
Merged

Conversation

syspect-tech
Copy link
Contributor

What

The credential creator packages for .deb, .rpm, and .exe created 0-byte packages.

Why

To allow Greenbone to effectively create the credential packages for authenticated scans.

References

None.

Checklist

  • [ *] These solutions have been tested on Ubuntu, CentOS, and Kali Linux distros.

@syspect-tech syspect-tech requested review from a team and mattmundell as code owners June 14, 2023 16:38
syspect-tech and others added 5 commits June 15, 2023 07:34
Fixed issue in .deb credential script that throws an error when running script twice for a username to replace a credential
Fixing issues with tar by correcting paths required to create the data archive before compiling the .deb
Fixing a bug in the EXE credential creator resulting from syntax error in the ExecWait commands.
Setting  "_topdir" in the rpmbuild config is required to prevent the rpmbuild process from attempting to access the gvm user's home directory, (which does not exist) resulting in a 0-byte user credential creator .rpm package.
@bjoernricks bjoernricks merged commit 9fe19b8 into greenbone:main Jun 15, 2023
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

Successfully merging this pull request may close these issues.

2 participants