-
Notifications
You must be signed in to change notification settings - Fork 259
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
add option to log public key #122
Conversation
624228f
to
212f97d
Compare
In general: Do you have a good source explaining why public key fingerprints are a security issue? I still don't see the problem with that, and so I'd like to avoid adding any extra code/config option for it, in particular when it takes so many lines of code. The log messages are intended to help newcoming users in setting up things correctly and to make sure the necessary diagnostic information is there when issues are raised. To not defeat this purpose, at least the feature should be opt-out, not opt-in. |
@mpdude thanks for your reply. As for your questions and comments:
I'm not implying that but I still think some users of this GHA would find it beneficial if there was an option to do so. And just for completeness, it is not that we are logging out the fingerprint only but the entire public key. We would still log out the added keys as per output of
Sadly, it takes many more lines of code than initially intended because I wanted to force the flag to be a boolean and not required. But there is a shortcoming where the
Sounds reasonable. |
212f97d
to
370777e
Compare
Does this help? |
Sure, that is what I was referring to exactly. Specially this: actions/toolkit#725 (comment)
|
I've added a few tweaks and squash-merged this through fbef2c7. Thank you @camilo-celis ! |
Should hopefully be a fix for #100