-
Notifications
You must be signed in to change notification settings - Fork 105
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
(MODULES-10867) Ensure ssh key name is unique based on type, content and description #340
(MODULES-10867) Ensure ssh key name is unique based on type, content and description #340
Conversation
accounts::manage_keys is a typethat may have no external impact to Forge modules. This module is declared in 3 of 575 indexed public
|
|
Hey @mdklapwijk I would like to thank you for taking the time to both file a ticket and also create a PR for this issue. Would it be possible to address the failing test: It would also be great if you were able to
Many thanks |
|
Paula, thanks for the suggestion, missed that completely. |
Use '_' instead of '-' to conform to the used naming convention.
Codecov Report
@@ Coverage Diff @@
## main #340 +/- ##
======================================
Coverage ? 0.00%
======================================
Files ? 2
Lines ? 30
Branches ? 0
======================================
Hits ? 0
Misses ? 30
Partials ? 0 Continue to review full report at Codecov.
|
|
@mdklapwijk |
|
@david22swan, I am not sure how to solve the "Missing base report; Unable to compare commits because the base of the pull request did not upload a coverage report." message/error from codecov. Looking at your own pull request you do not seem to know a solution to this either: It seems the only way to solve that is to close this PR and create a new one? Please advise. And what do you mean about documentation? It is a bug-fix not a new feature, so all info is contained within the ticket: |
This commit adds tests to verify the previous commit's change. We should expect the md5 hash to be part of the ssh_authorized_key title.
|
Hi @mdklapwijk , Don't worry about the Thanks for the fix - as mentioned, it looks good, however, it would be nice if we could get a test around this new functionality. I've expanded one of the existing tests which should cover us, but feel free to split out or expand further: mdklapwijk-forks#1 |
…_uniq_ssh_key (MODULES-10867) Add tests to verify ssh_authorized_key unique title
|
@sanfrancrisko, thanks. That made it a lot more clear what was expected! |
Closing curlies needed some space...
Allow multiple ssh keys of the same type having the same description.