-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Allowed credential types should be a bitfield #1903
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
Conversation
|
I didn't realize that the @carlosmn are you happy with the language here? |
|
/cc @jamill |
|
Doh! Looks like something changes since #1853 was introduced. I'll dig in. |
include/git2/transport.h
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is the data/payload argument that lets the callback retrieve its context, rather than the data to sign. The callback gets passed two buffers for that already. One is the key data, the other the challenge data (though why this data (opaque) it's a void** is still a mystery).
|
@carlosmn I'm not sure that I really captured what you were looking to convey here? |
|
(Also I beefed up the test a little bit to complain about missing env vars, since that was not obvious to me.) |
|
So, I think that there are probably a number of issues here that we should look at in the longer-term, but I hope that this at least satisfies the immediate problems. |
|
My point was that |
|
This is not a bitfield at all, but yeah, the change looks nice. ^^ |
Allowed credential types should be a bitfield
Allowed credential types should be a bitfield
Obsoletes #1853.