-
Notifications
You must be signed in to change notification settings - Fork 63
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
Better Compatibility with authinfo.gpg
?
#103
Comments
Magithub itself doesn't handle any authentication, so this is an upstream issue. |
Thanks. I'll report it upstream. |
Sorry for reopen this issue, but I find that this snippet caused the my problem.
I wonder if it is possible to modify the above snippet to this:
Then if After all, if there is no Internet connected, another error would be catch and |
Nice catch. Hm… I'm not sure how I feel about your snippet (since any value instead of Other than that – we could also just try unlocking your authinfo before calling this code. When emacs asks you for your password, this info is cached, yes? If you ask authinfo for credentials to another account, does Emacs asks you for your authinfo password again? |
I'm currently unable to get gpg-agent to cooperate with me on this one – it may take me some time to fix it. If you can provide a snippet though that will do the following though, I can insert it (or you can in a PR) at
|
I was over-complicating this. Commit incoming 😄 |
I use
authinfo.gpg
, a GPG encryptedauthinfo
file, to manage my passwords in Emacs.Thou I've configured
gpg-agent
to cache the main password, running Magithub before the first time the password is entered would cause connection to GitHub API timeout.If it is possible to make Magithub waiting GPG's password prompt before connect to GtHub API or it is actually a upstream issue of
ghub
?The text was updated successfully, but these errors were encountered: