-
Notifications
You must be signed in to change notification settings - Fork 0
🔒 Security Fix: Remove Hardcoded Stripe Secrets from Configuration #40
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -21,8 +21,8 @@ | |||||||||
| }, | ||||||||||
|
|
||||||||||
| "Stripe": { | ||||||||||
| "SecretKey": "sk_test_51QuyIFD6nzE4vVF4SOS4AQwYaiC4SWV7eJczPpvJCvSFKZ4MYRwLEwtyW5D4wuA89UZFPWTvQQuHRKPuf1wyz3a100UPaEcGhY", | ||||||||||
| "WebhookSecret": "whsec_80107d4e619ab717a3bf321647ea277de0e7791018c6f95a6fa5af75e57716c5" | ||||||||||
| "SecretKey": "", | ||||||||||
| "WebhookSecret": "" | ||||||||||
|
Comment on lines
+24
to
+25
|
||||||||||
| "SecretKey": "", | |
| "WebhookSecret": "" | |
| "SecretKey": null, | |
| "WebhookSecret": null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR description says the app will fall back to user secrets for local development, but this project doesn't appear to be configured for user-secrets loading (no UserSecretsId in the .csproj and no explicit AddUserSecrets in Program.cs). Either update the PR description to mention only environment variables, or add/enable user-secrets support so the stated fallback actually works.