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

Restructure JWE encryption and decryption #210

Merged
9 commits merged into from
Feb 17, 2020
Merged

Conversation

ghost
Copy link

@ghost ghost commented Feb 17, 2020

Merges the already reviewed code of #203 and #132

Only new changes are re-adding the documentation headers to the Encrypter and Decrypter initializers:

Daniel and others added 6 commits February 14, 2020 11:50
* Rename asymmetric algorithm

* Rename symmetric algorithm

* Refactor algorithm enums

* Sketch out new encryption flow

* Refactor encryption flow

* Fix reference to old rsa encrypter

* Remove dummy keywrap mode

* Fix and extendcompression tests

* Add key management mode tests

* Adapt rsa tests

* Add alg check test

* Disable space linter rule for now

* Adap AES tests

* Add license headers to new files

* Make sonarqube happy

* Do full Sonarqube analysis in pull requests (#201)

* Do sonarqube analysis after test

* Log fastlane contents

* Remove deletion of coverage report

* Update sonar config to point to sonarcloud

* Trigger analysis

* Exclude tests from duplication calculation

* Remove loggign

* Dry up signing roundtrip tests (#198)

* Dry up tests

* Use guard in test helper

* Format code

* Redo mode creation

* REname key encryption mode implementations

* Final cleanup

* Commit something

* Revert "Commit something"

This reverts commit 91266d4.
* Replicate encryption flow for decryption

* Fix tests

* Split rsa mode in two types

* Replace deprecated decrypter calls in tests

* Remove todos
@ghost ghost self-requested a review February 17, 2020 14:44
@ghost ghost self-assigned this Feb 17, 2020
@JOSESwiftCI
Copy link

1 Message
📖 Any non-trivial changes to code should be reflected in the changelog. Please consider adding a note in the Unreleased section of the CHANGELOG.md.

Generated by 🚫 Danger

@ghost ghost removed their request for review February 17, 2020 14:45
@ghost ghost added the WIP 🚧 Work in progress, ignore for now label Feb 17, 2020
@ghost ghost self-requested a review February 17, 2020 14:56
@ghost ghost removed the WIP 🚧 Work in progress, ignore for now label Feb 17, 2020
@sonarcloud
Copy link

sonarcloud bot commented Feb 17, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

98.5% 98.5% Coverage
0.0% 0.0% Duplication

@ghost ghost merged commit d5e7f39 into master Feb 17, 2020
@ghost ghost deleted the jwe-crypto-restructure branch February 17, 2020 15:05
This pull request was closed.
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.

2 participants