Fix getting leaf certificate#121
Conversation
|
Thanks a lot; the fix is excellent. I took the liberty to add tests to your PR - I hope you won't mind. |
Absolutely, of course not. Great to have those tests in there :) |
d09a10b to
05819d9
Compare
|
I've just rebased and pushed to fix the merge conflicts now that #120 is merged. @DarkaMaul can you please double check and review? Thanks! |
Everything looks good minor two nitpicks (a test that was never merged, and a weirdly placed comments). Thanks a lot for your help into identifying and fixing this issue - that's really appreciated! |
|
Thanks for being so quick to respond! I've pushed those tweaks :) |
|
Thanks for the merge! Looking forward to a new release 🎉 We will start using the client in auto-archiver once this is released :) |
As per the discussion in #104 - this correctly re-orders the certificate chain to get the correct leaf cert.
The logic here is: the leaf certificate is the one that isn't an issuer of any other cert.
Requesting to be merged into @DarkaMaul 's current
fix-ekubranch