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

access_token encryption #355

Open
Pitometsu opened this issue May 15, 2018 · 1 comment
Open

access_token encryption #355

Pitometsu opened this issue May 15, 2018 · 1 comment

Comments

@Pitometsu
Copy link

How can I store access_token customization in *.el.gpg file (see: epa-* functions)?

@vermiculus
Copy link
Owner

vermiculus commented May 15, 2018

That's saved with sx-cache-set, so if you look in that implementation, you'll see we use sx-cache-get-file-name to turn 'auth into "auth.el" inside sx-cache-directory.

You can patch that function to encrypt it for the 'auth symbol.

It might be worth an enhancement to introduce an option to use auth-source instead, but I won't get to that any time soon.

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