Skip to content

Alternative to storing Gmail credentials in cleartext? #204

@outoftime

Description

@outoftime

I’d love to use gmailctl at work, but I wasn’t able to get security approval because credentials are stored in cleartext on my laptop. Would it be possible to provide an alternative? Two approaches come to mind:

  1. Have an option to store credentials in an encrypted secret store, maybe using something like https://github.com/99designs/keyring
  2. Don’t store credentials at all; just send the user through an OAuth flow each time I want to sync (as an alternative to, not replacement for, the current workflow)

For what it’s worth, I’m currently using the workaround of generating XML files with gmailctl and importing them manually, but Gmail’s filter import has a longstanding bug where it ignores category assignments, which makes that process particularly error-prone.

Anyway, thanks for the great tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/keep-aliveDenotes an issues or PR that should never be considered stale.needs designThe issue needs a sane design before implementation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions