Friday 24 June 2016

Week 2


Hi! Thanks to all who went over my previous post.

So the coding period has started and we are two weeks into the schedule. 

The code I had developed till now was designed such that each individual module of the ARC set used its own set of signing and verifying functions. That is, heavy code duplication since the basic underlying process remains the same.
I was actually ahead of the milestones and ended up writing (or refactoring!) a huge chunk of the code, i.e. including the AAR, AMS and AS signing and verifying! Basically the code worked, but was highly inefficient.

So after a long discussion with Stephen, we decided to give the entire project a makeover.
Stephen suggested that instead of developing code with a local objective that would work for us, why not go ahead and refactor the `dkimpy` package such that we could contribute the new code upstream and make it available to other users too. The `dkimpy` package could be refactored to provide ARC capability in addition to DKIM using the same API with minimum possible changes. We could then contribute this back upstream and do our good bit!

The new project would consist of two separate modules - 

1. The refactored dkimpy module with ARC support.
   https://gitlab.com/adityadivekar/sign-message

2. The ARC module consisting of code to take the email from Mailman, and return the ARC signed email. 
   https://gitlab.com/adityadivekar/arc

For now I will start working on the refactoring then, and get back with the next two weeks' updates soon.

Thanks for reading!

No comments:

Post a Comment