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

Use Clortho to securely save credentials for patch uploads #40

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

morganestes
Copy link

@morganestes morganestes commented Oct 14, 2016

When a patch is uploaded, the user is prompted for the username and password each time before uploading to a ticket. This will save the credentials in the system store and only prompt for the username for each upload.

Alternatively, we could store the username in a config file and not prompt for it each time, but asking for it each time probably isn't that horrible.

See #37.

Uses the Clortho NPM package to securely save username and password
for authentication when uploading patches.

If a username doesn't have a password saved, it will prompt to save
it using either native dialog boxes, or the CLI. Afterwards, the user
will be prompted for a WP.org username, and the saved password will
be automatically used without further prompting.
@aaronjorbin
Copy link
Member

😍 Thanks @morganestes
What OS have you tested on this so far?

@morganestes
Copy link
Author

morganestes commented Oct 14, 2016 via email

@aaronjorbin
Copy link
Member

https://www.npmjs.com/package/keytar seems like it might be a better choice since it's actively developed while Clortho seems to be somewhat forgoten.

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

Successfully merging this pull request may close these issues.

2 participants