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

Allow to auto-generate password and ssh-key for credentials #1152

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

bjoernricks
Copy link
Contributor

What

Allow to auto-generate password and ssh-key for credentials

Why

Support auto-generating the password for a username+password credential and the ssh-key for a username+ssh-key credential. This is already supported by GMP since early versions but wasn't implemented in python-gvm.

References

DOS-209

Checklist

  • Tests

Support auto-generating the password for a username+password credential
and the ssh-key for a username+ssh-key credential. This is already
supported by GMP since early versions but wasn't implemented in
python-gvm.
@bjoernricks bjoernricks requested a review from a team as a code owner June 18, 2024 13:32
@bjoernricks bjoernricks enabled auto-merge (rebase) June 18, 2024 13:32
Copy link

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 47171e7.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

Copy link

Conventional Commits Report

Type Number
Changed 1

🚀 Conventional commits found.

Copy link

codecov bot commented Jun 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.57%. Comparing base (ae1bd44) to head (47171e7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1152   +/-   ##
=======================================
  Coverage   97.57%   97.57%           
=======================================
  Files          65       65           
  Lines        4544     4544           
  Branches      832      832           
=======================================
  Hits         4434     4434           
  Misses         74       74           
  Partials       36       36           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bjoernricks bjoernricks merged commit 029aa88 into main Jun 18, 2024
22 checks passed
@bjoernricks bjoernricks deleted the auto-generate-credentials branch June 18, 2024 13:35
@y0urself
Copy link
Member

y0urself commented Aug 1, 2024

@bjoernricks can you explain why the documentation of the function does not contain the new example code blocks? https://greenbone.github.io/python-gvm/api/gmpv224.html#gvm.protocols.gmp.GMPv224.create_credential

@bjoernricks
Copy link
Contributor Author

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