sx.el icon indicating copy to clipboard operation
sx.el copied to clipboard

access_token encryption

Open Pitometsu opened this issue 7 years ago • 1 comments

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

Pitometsu avatar May 15 '18 21:05 Pitometsu

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.

vermiculus avatar May 15 '18 21:05 vermiculus