Skip to content

Conversation

@ethomson
Copy link
Member

Obsoletes #1853.

@ethomson
Copy link
Member Author

I didn't realize that the online::push simply aborted because of this. Let's get this fixed, then.

@carlosmn are you happy with the language here?

@ethomson
Copy link
Member Author

/cc @jamill

@ethomson
Copy link
Member Author

Doh! Looks like something changes since #1853 was introduced. I'll dig in.

@tiennou
Copy link
Contributor

tiennou commented Oct 21, 2013

Thanks for taking care of that ;-). I hadn't noticed that @carlosmn had reviewed #1853, and it swept under my radar.

Copy link
Member

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).

@ethomson
Copy link
Member Author

@carlosmn I'm not sure that I really captured what you were looking to convey here?

@ethomson
Copy link
Member Author

(Also I beefed up the test a little bit to complain about missing env vars, since that was not obvious to me.)

@ethomson
Copy link
Member Author

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.

@carlosmn
Copy link
Member

My point was that sign_data wasn't anything to do with signing, but just the context that's passed to the sign function. The current wording is fine.

@vmg
Copy link
Member

vmg commented Oct 21, 2013

This is not a bitfield at all, but yeah, the change looks nice. ^^

vmg pushed a commit that referenced this pull request Oct 21, 2013
Allowed credential types should be a bitfield
@vmg vmg merged commit 8677474 into libgit2:development Oct 21, 2013
phatblat pushed a commit to phatblat/libgit2 that referenced this pull request Sep 13, 2014
Allowed credential types should be a bitfield
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.

4 participants