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

sso_proxy: Add comment marking private key as test data #260

Merged
merged 1 commit into from
Oct 23, 2019

Conversation

itwasntandy
Copy link
Contributor

Problem

Despite this key being stored in a testdata directory, we've received a number of reports highlighting that a private key is present in the SSO Repo.

Solution

PEM format means anything outside of the --- BEGIN PRIVATE KEY--- and `-- END PRIVATE KEY ---`` block will be ignored, so it's safe to add a descriptive comment explaining that yes, this really is test data and its intentionally public!

Despite this key being stored in a `testdata` directory, we've received a number of reports highlighting that a private key is present in the SSO Repo.

PEM format means anything outside of the `--- BEGIN ---` and `-- END ---`` block will be ignored, so it's safe to add a descriptive comment explaining that yes, this really is test data and its intentionally public!
@codecov
Copy link

codecov bot commented Oct 23, 2019

Codecov Report

Merging #260 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #260   +/-   ##
=======================================
  Coverage   62.14%   62.14%           
=======================================
  Files          53       53           
  Lines        4169     4169           
=======================================
  Hits         2591     2591           
  Misses       1391     1391           
  Partials      187      187

Copy link
Contributor

@jphines jphines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@itwasntandy itwasntandy merged commit 90463ae into master Oct 23, 2019
@itwasntandy itwasntandy deleted the mullers/test_keys branch October 23, 2019 15:52
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

2 participants