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

Allow users to pass in a path for the --identity-token flag #2538

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

priyawadhwa
Copy link
Contributor

Seems cleaner to pass in a file name than to pass in an entire token.

Signed-off-by: Priya Wadhwa priya@chainguard.dev

Release Note

Allow users to pass in a path for the --identity-token flag

@priyawadhwa priyawadhwa enabled auto-merge (squash) December 12, 2022 22:04
@codecov-commenter
Copy link

codecov-commenter commented Dec 12, 2022

Codecov Report

Merging #2538 (0fb2a5a) into main (8a9897b) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #2538      +/-   ##
==========================================
- Coverage   30.11%   30.08%   -0.04%     
==========================================
  Files         139      139              
  Lines        8597     8607      +10     
==========================================
  Hits         2589     2589              
- Misses       5632     5642      +10     
  Partials      376      376              
Impacted Files Coverage Δ
cmd/cosign/cli/fulcio/fulcio.go 16.80% <0.00%> (-1.47%) ⬇️
cmd/cosign/cli/options/fulcio.go 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@haydentherapper
Copy link
Contributor

Any concerns with this encouraging users to write ID tokens to files and risk token theft?

Seems cleaner to pass in a file name than to pass in an entire token.

Signed-off-by: Priya Wadhwa <priya@chainguard.dev>
@priyawadhwa
Copy link
Contributor Author

@haydentherapper I can't think of anything compelling, doesn't seem much worse than passing in the token on the command line.

@priyawadhwa priyawadhwa merged commit 6256d94 into sigstore:main Dec 13, 2022
@github-actions github-actions bot added this to the v1.14.0 milestone Dec 13, 2022
@priyawadhwa priyawadhwa deleted the identity-token-path branch December 13, 2022 13:12
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.

None yet

4 participants