SublimeJira
SublimeJira copied to clipboard
alternative to plaintext password
I was curious if there is an alternative to plaintext passwords in Sublime settings. Possibly supporting OSX keychain or some such.
Stackoverlfow post: http://stackoverflow.com/questions/22818017/is-there-a-way-to-use-sublimetext-jira-package-user-setting-securely-using-login
Python keychain manager: https://pypi.python.org/pypi/keychain_manager
A password prompt upon first command run would also be great.
Jirash solves this by reading a config file in user's home directory i.e: ~/.jirash.json
. But this is still stored in plain. As far as I know there's no "single" built-in cross-platform password store... many services rely on plain text passwords stored in config files ...
Though there is keyring
What about OAuth?
https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-oauth-authentication
I'd like to use this, but I'm not in love with putting any plaintext passwords anywhere.
+1
I will not use this package until it removes the requirement of plaintext passwords.
I wouldn't mind if it just loaded Jira in my browser and didn't attempt to log me in. Cookies are a wonderful thing. If I need to log in manually, I'd rather do that than store a plaintext password in some random ST package.
+1 on above
Would love to use this.
I took a look around. I think the API client for this could pretty easily take an OAuth token, but it looks like someone would need to register an OAuth app key with Atlassian.
I believe a token can be obtained as part of JIRA’s OAuth dance.
But, before it can be obtained, a consumer-key/public-key pair must be generated by an admin.
To configure/obtain a consumer key pair, ask you JIRA administrator to follow the following guide: https://confluence.atlassian.com/display/JIRA042/Configuring+OAuth+Consumer+Information+for+JIRA https://confluence.atlassian.com/display/JIRA042/Configuring+OAuth+Consumer+Information+for+JIRA
Later, when consumer/server relation is established, a token can requested: https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-oauth-authentication https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-oauth-authentication
If we implement this, we should mention the requirement to obtain a consumer key pair as above.
On 4 Apr 2016, at 9:01 PM, Ben Mosher [email protected] wrote:
I took a look around. I think the API client for this could pretty easily take an OAuth token, but it looks like someone would need to register an OAuth app key with Atlassian.
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/mix86/SublimeJira/issues/9#issuecomment-205449145
Not sure if there are additional implications, but it would be considering self-hosted environments too.
This is a must for many of us accessing Jira through single sign-on technologies like Google, Okta, etc.