Skip to content
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

Add encryption support for KitKat #31

Merged
merged 19 commits into from
Nov 8, 2018
Merged

Add encryption support for KitKat #31

merged 19 commits into from
Nov 8, 2018

Conversation

patrickfav
Copy link
Owner

This PR implements AES/CBC + HMAC (Encrypt-then-MAC) encryption for Kitkat devices which do not support AES/GCM (see #6). It also adds migration support if the device gets updated to a newer version.

Intentionally the user must enable kitkat support manually.

@patrickfav patrickfav changed the title WIP: Add encryption support for KitKat Add encryption support for KitKat Oct 28, 2018
@patrickfav
Copy link
Owner Author

@davidmigloz If you have time, please take a look at this PR

@patrickfav patrickfav added this to the v0.6.0 milestone Oct 28, 2018
@davidmigloz
Copy link
Contributor

I'll try to find some time tomorrow to review it. Thanks for the work!

@patrickfav patrickfav mentioned this pull request Nov 3, 2018
@patrickfav
Copy link
Owner Author

Hey @davidmigloz I will release 0.6.0 this week; just want to check if you will get a chance to look at the PR :)

@davidmigloz
Copy link
Contributor

Hi @patrickfav! Sorry for the delay, I started reviewing it last week but I run out of time. I'll try to review it between tonight and tomorrow.

@davidmigloz
Copy link
Contributor

I've finished the review, it looks awesome. I really like the way you've implemented the multi-protocol decryption support. I haven't found anything and you've written quite a lot of tests. So I guess it's good to go! 😄

@patrickfav
Copy link
Owner Author

Great to hear. I had some offline reviews, so some of the issues maybe already fixed before you reviewed them :)

@patrickfav patrickfav merged commit e9129aa into master Nov 8, 2018
@patrickfav patrickfav deleted the feat-6-kitkat-cbc branch November 8, 2018 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants