Closed Shivam7-1 closed 6 months ago
Hi @kazrakcom Could You Please Review Above PR Regards
As mentioned before, please update the README with notes on the new requirement.
Hi @kazrakcom Okay Yes Update Readme.md file Accordingly
Hi @kazrakcom Is there any Extra Changes Required to get merge PR
Thanks
Hi @kazrakcom Is there any Extra Changes Required to get merge PR
Thanks
My apologies for the delay.
Thank you for the update to the README and the path fix. There are still a few issues to resolve, though:
The call to loadClientCredentials should replace the b, err := ioutil.ReadFile(*clientSecretFlag)
call on line 943 of the original file.
The ClientCredentials struct is not needed, because we don't need to break down the credentials at all.
The last clause of loadClientCredentials, where the JSON is parsed, isn't required. Instead, just return the []byte that is returned from io.ReadFile.
Hi @kazrakcom Thanks For Reviewing Above PR and Your Valuable Feedback
I had taken an Account and Make Above Changes Successfully Thanks
Hi @kazrakcom Thanks For Reviewing Above PR and Your Valuable Feedback
I had taken an Account and Make Above Changes Successfully Thanks
Hi @kazrakcom Thanks For Reviewing Above PR and Your Valuable Feedback
I had taken an Account and Make Above Changes Successfully Thanks
Hi @kazrakcom Could You Please Review Above PR Regards
Hi @kazrakcom Could You Please Review Above PR Regards
Hi @kazrakcom Thanks For Reviewing Above PR and Your Valuable Feedback
I had taken an Account and Make Above Changes Successfully Could You Please Review This PR Again Thanks
Looks good; thank you! Merging the pull request now.
Changes Made Added file permission check to ensure the client secret file is readable only by the owner. Added the loadClientCredentials function to verify file permissions before reading the file contents. Purpose The purpose of this pull request is to enhance the security of the Go code by enforcing strict file permissions for the client secret file used for authentication with the Google Calendar API.
Why This Change is Necessary Ensuring that sensitive files, such as client secret files containing authentication credentials, are accessible only by authorized users is crucial for preventing unauthorized access and potential security breaches. By implementing a file permission check, we mitigate the risk of exposing sensitive information to unauthorized users or processes.