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

Check private key when modifying credential #1351

Merged
merged 4 commits into from
Nov 11, 2020
Merged

Conversation

mattmundell
Copy link
Contributor

@mattmundell mattmundell commented Nov 10, 2020

What:

Check private key and password when modifying "usk" credential (Username + SSH key).

Why:

This same check is done when creating the credential. Without the check it is possible to enter the wrong password for the key.

How:

Create a usk credential with key and password "eg".
Modify the password to "e". The operation should fail.

Checklist:

@mattmundell mattmundell changed the title Check key Check private key when modifying credential Nov 10, 2020
@mattmundell mattmundell marked this pull request as ready for review November 10, 2020 16:21
@timopollmeier timopollmeier merged commit 3390153 into gvmd-20.08 Nov 11, 2020
@timopollmeier timopollmeier deleted the check-key branch October 15, 2021 06:43
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