-
Notifications
You must be signed in to change notification settings - Fork 2
fix: [AI-266] Snowflake auth — support all auth methods, fix field name mismatches #268
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
Changes from all commits
4656767
7e5b3e4
f9bf8dd
d2dcecb
06e8bb2
1fef6e6
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 |
|---|---|---|
|
|
@@ -14,8 +14,16 @@ const SERVICE_NAME = "altimate-code" | |
|
|
||
| const SENSITIVE_FIELDS = new Set([ | ||
| "password", | ||
| "private_key", | ||
| "privateKey", | ||
|
Comment on lines
+17
to
+18
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: When Suggested FixModify Prompt for AI Agent |
||
| "private_key_passphrase", | ||
| "privateKeyPassphrase", | ||
| "privateKeyPass", | ||
| "access_token", | ||
| "token", | ||
| "oauth_client_secret", | ||
| "oauthClientSecret", | ||
| "passcode", | ||
| "ssh_password", | ||
| "connection_string", | ||
| ]) | ||
|
|
||
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.
Bug: The
privateKeyPassfield, an alias for the Snowflake private key passphrase, is not included in theSENSITIVE_FIELDSset, causing it to be stored in plaintext.Severity: HIGH
Suggested Fix
Add
"privateKeyPass"to theSENSITIVE_FIELDSset inpackages/opencode/src/altimate/native/connections/credential-store.tsto ensure it is treated as a sensitive value and stored securely.Prompt for AI Agent