CMP implementation, incremental PR chunk 3: CMP ASN.1 structures#8669
CMP implementation, incremental PR chunk 3: CMP ASN.1 structures#8669DDvO wants to merge 15 commits intoopenssl:masterfrom
Conversation
|
This is the first CMP chunk with contributions also by @Akretsch. |
9ac9a76 to
5dcbc05
Compare
5dcbc05 to
54534bf
Compare
54534bf to
5dcbc05
Compare
8810f10 to
abc219d
Compare
|
Thanks @mattcaswell and @FdaSilvaYY for your comments. |
488e950 to
45e8eb7
Compare
|
@mattcaswell, we have a general question regarding the review process of the CMP chunks. Chunk 3 is still under review, and it seems likely that even if you approve it soon it will take some further while until it can be merged since a second review (which has not yet started) and approval is needed. In order to save time (since the overall timeline for the CMP contribution until the release of 3.0.0 is pretty tough), would it make sense to submit chunk 4 somewhat in parallel to chunk 3, for example just after you have approved chunk 3? |
|
Does chunk 4 depend on the chunk 3 commits? It's easier to review if it doesn't because github shows all code that isn't in the target branch when you are reviewing. |
|
Unfortunately, there are a couple of files (at least |
45e8eb7 to
80df8a5
Compare
That is unfortunate. You could create chunk 4 as a WIP PR but github will show it with all the chunk 3 commits. It is possible to click into each individual commit and review each one in turn, but if there are multiple commits this is also problematic because it is difficult to get a "big picture" view. |
|
Another workaround could be to submit at first only the 'meat' of the next chunk, i.e., the new source, doc, and test files, and to add the files that have dependencies later. |
@DDvO you could open a pull request for chunk4 against chunk3 in your own repository for @mattcaswell to (p)review. Doing that, Matt would get to see the big picture, but without the commits from chunk3. To create the pull request, just go to the following comparison page: (Currently, there seem to be merge conflicts, which you will need to fix first. Best is to rebase chunk4 on top of chunk3 first.) |
|
You could even create two pull requests: an „official“ one against master in our repo, and an incremental one in your repo for reference. |
This sounds like a good way to go, thanks @mspncp for this hint!
@mattcaswell, would you be able to give review comments in that repository?
Yes, this is because (as mentioned in a response to a review comment above: #8669 (comment)) I needed to squash (most of) cmpossl_incremental3. We'll rebase our preliminary cmpossl_incremental4 tomorrow.
@mspncp, I did not get what you mean here. Also the 'official' one is necessarily incremental. |
The idea was that an 'inofficial' pull request in your clone would go unnoticed by most people except for Matt. However, an 'official' pull request against our repo would need to be made against master, so it would have to include the changes from chunk3. So the solution would be to make an official pull request against our master and in the description of the pr include a link to the relative pr on your repo. Whenever you push changes to chunk4, both pull requests would be updated. Well, it's just an idea. You don't have to do it if it sounds too complicated. |
|
(Note: I'm assuming that your branch for chunk4 will be based on top of the branch for chunk3.) |
Sounds like a good idea to me |
|
@mattcaswell, I've just resolved all (new) review comments on this PR, handling all change requests. |
3b5dab8 to
3bd5979
Compare
@mattcaswell, I've meanwhile rebased both branches, such that as mentioned by @mspncp : you can have a clean preview of our chunk 4 and could already do a first review pass there. |
mattcaswell
left a comment
There was a problem hiding this comment.
Needs a second reviewer for this. Ping @openssl/committers.
…ilar ones, same with _set and _push
fdaffaf to
1586c96
Compare
|
Btw: The cla bot is complaining about a missing CLA? Is it because of @Akretsch‘s commits? |
1586c96 to
e2715d6
Compare
I was wondering about this CLA complaint, too. It is about @Rick113's commits. I've just double-checked: Roman Schauer sent his CLA already on May 13th, |
cc @mattcaswell |
e2715d6 to
2abe29d
Compare
|
Close/reopen to kick cla bot |
Apologies for the delay on this. Roman's email ended up in my spam folder for some reason. All sorted now. |
2abe29d to
483174d
Compare
2dd86dc to
e15c87a
Compare
e15c87a to
31daf74
Compare
|
Squashed and pushed. Thanks all! |
Also includes CRMF (RFC 4211) and HTTP transfer (RFC 6712)
CMP and CRMF API is added to libcrypto, and the "cmp" app to the openssl CLI.
Adds extensive man pages and tests. Integration into build scripts.
Incremental pull request based on OpenSSL commit 1362190 of 2018-09-26
3rd chunk: CMP ASN.1 structures (in crypto/cmp/cmp_asn.c) and related files
Reviewed-by: Bernd Edlinger <[email protected]>
Reviewed-by: Matt Caswell <[email protected]>
(Merged from #8669)
Certificate Management Protocol (CMP, RFC 4210) extension to OpenSSL.
Also includes CRMF (RFC 4211) and HTTP transfer (RFC 6712).
CMP and CRMF API is added to libcrypto, and the "cmp" app to the openssl CLI.
Adds extensive man pages and tests. Integration into build scripts.
3rd chunk: CMP ASN.1 structures (in crypto/cmp/cmp_asn.c) and related files.
Tests will be added with chunk 4 and following.
Checklist