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

read the key value from .authinfo or some equivalent instead of init file #8

Closed
vxe opened this issue Mar 23, 2023 · 1 comment
Closed

Comments

@vxe
Copy link

vxe commented Mar 23, 2023

I'm doing something like

(setq chatgpt-arcana-api-key (auth-source-pick-first-password
                                              :host "chat.openai.com"))

with an ~/.authinfo that looks like

machine chat.openai.com login CHATGPT_EMAIL password API_KEY

so i don't accidentally make my key publicly available. great package btw, really enjoying the user experience

@CarlQLange
Copy link
Owner

That's a great idea, it would never have occurred to me. I will probably add this as instructions to the readme rather than the package itself.

Glad you like the package!

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

No branches or pull requests

2 participants