GramEditor/gram
39
990
Fork
You've already forked gram
87

Remove unused credentials code #110

Merged
krig merged 1 commit from tjk/gram:no-credentials into main 2026年03月16日 05:49:03 +01:00
Contributor
Copy link

I started out by noticing that docs/linux.md references "OpenAI API keys" and removed that since it obviously no longer applies. Then I noticed "Gram login cookie" in the same sentence and realized there may still be some code for these removed features, and I found the read/write/delete_credentials functions for each platform that are unused in Gram. To finish it off, I found the keychain/credentials references, which I believe were also related to Zed persisting secrets unused by Gram.

I'm new to Gram and have never looked at Zed's code, so I apologize if I misunderstood something, or if you're planning to use some of these in the future in Gram.

cargo check still passes, so I'm fairly sure I didn't remove anything used right now.

I started out by noticing that `docs/linux.md` references "OpenAI API keys" and removed that since it obviously no longer applies. Then I noticed "Gram login cookie" in the same sentence and realized there may still be some code for these removed features, and I found the read/write/delete_credentials functions for each platform that are unused in Gram. To finish it off, I found the keychain/credentials references, which I believe were also related to Zed persisting secrets unused by Gram. I'm new to Gram and have never looked at Zed's code, so I apologize if I misunderstood something, or if you're planning to use some of these in the future in Gram. `cargo check` still passes, so I'm fairly sure I didn't remove anything used right now.
Owner
Copy link

Thank you! How did I miss that reference to openai... 😄

Thank you! How did I miss that reference to openai... 😄
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
GramEditor/gram!110
Reference in a new issue
GramEditor/gram
No description provided.
Delete branch "tjk/gram:no-credentials"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?