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

Do not log sensitive command params when Apple ID authentication fails #333

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

lpusok
Copy link
Contributor

@lpusok lpusok commented Dec 12, 2023

Checklist

  • I've read and followed the Contribution Guidelines
  • step.yml and README.md is updated with the changes (if needed)

Version

Requires a MAJOR/MINOR/PATCH version update

Context

Pulls in updated bitrise-io/go-xcode#221.

We logged potential secrets due to using the v2/command package: https://github.com/bitrise-io/go-utils/blob/921272de13f5811b3a22dcd883459ea472c7f461/command/command.go#L172.

Apple ID authentication failed: The input stream is exhausted., error: command failed with exit status 1 (bundle "exec" "ruby" "main.rb" "--subcommand" "list_dev_certs" "--username" "myemail@gmail.com" "--password" "my-readable-password" "--session"

Fixed this by omitting the error returned by v2/command.

Resolves: #328
https://bitrise.atlassian.net/browse/SSW-1144

Changes

Investigation details

Decisions

@lpusok lpusok changed the title dep update Do not log sensitive command params when Apple ID authentication fails Dec 12, 2023
@lpusok lpusok merged commit d1f823a into master Dec 12, 2023
1 check passed
@lpusok lpusok deleted the SSW-1144-2 branch December 12, 2023 11:17
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.

Error log leaks password
2 participants