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
Symmetric encryption #192
Merged
Merged
Symmetric encryption #192
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
d02a652
Refactor classes into separate files
ben-xD caab4d2
Merge remote-tracking branch 'origin/feature/push-notifications-dart'…
ben-xD 67acb68
Add CipherParams parameters and deserialize it correctly
ben-xD d9c4a3d
- Decode and use mode from ChannelOptions on Android
ben-xD 4e54081
Temporarily remove cipher related code, to be re-added in a separate PR
ben-xD 28080bf
Merge remote-tracking branch 'origin/main' into bug/channel-options
ben-xD fe83147
Continuating of recent commit: 4e540819c2600e296ee912febabe8431c6fc341c
ben-xD 4072c44
Remove unnecessary code change
ben-xD 8d6a36a
Revert "Continuating of recent commit: 4e540819c2600e296ee912febabe84…
ben-xD 33e26b1
Read cipher from channel options in native side
ben-xD f8e3346
Merge branch 'bug/fix-runtime-crash-for-channel-options' into feature…
ben-xD 69db673
WIP
ben-xD 50887f3
Complete symmetric encryption on Android
ben-xD ddf01f9
WIP: Symmetric encryption on iOS
ben-xD 426baca
Manually decode base64 on Android platform to overcome missing `getPa…
ben-xD 6c44ad7
Require key to be non-null in interface
ben-xD 2893d70
Merge remote-tracking branch 'origin/main' into feature/symmetric-enc…
ben-xD a6b5d73
Add generateRandomKey method on both iOS and Android
ben-xD b282d05
Revert changes to AblyFlutterReader
ben-xD 084a2be
Implement and validate Android encryption works
ben-xD 74cf012
Merge branch 'refactor/simplify-main-state' into feature/symmetric-en…
ben-xD 4a868f3
Use EncryptedMessageService in example app correctly
ben-xD 30cecd7
Add Publish encrypted messages with rest on example app
ben-xD d597a4c
Call connect only if not connected already
ben-xD dc26813
Run `flutter format .`
ben-xD 497067f
Android: Add more documentation to CipherParamsStorage
ben-xD 4a8b38c
iOS: Remove unused code
ben-xD 13f8b9d
Formatting: Remove unused code, fix import style
ben-xD 84ce348
Remove duplicate class
ben-xD dbe5f7e
Validate messages can be successfully encrypted and decrypted between…
ben-xD 28f2996
Update comment
ben-xD 81426f5
Remove unused code, fix state in example app encrypted messages UI, a…
ben-xD 06fe63b
Run `flutter format .`
ben-xD afe25d5
Add readme documentation for message encryption
ben-xD 6cd1382
Remove warning: symmetric encryption is not support
ben-xD fc50251
Simplification: replace 2 platform methods with usage of 1 existing p…
ben-xD 5bac6af
Add additional docs to symmetric encryption
ben-xD 0898c07
Merge remote-tracking branch 'origin/refactor/class-move' into featur…
ben-xD 73786b0
Fix failing test by importing and improve documentation minimally
ben-xD e5c372e
Merge branch 'main' into feature/symmetric-encryption
QuintinWillison 127856d
Apply suggestions from code review
ben-xD 9b42541
Remove extra forward slash in doc
ben-xD fb9cb6a
Remove unnecessary blank line
ben-xD 3c13d0f
"Dart-side" → "Dart side" and fix language
ben-xD 68bb531
Improve docs language
ben-xD c08f148
Finish Javadoc comment on CIpherParamsStorage
ben-xD def6c2d
Apply suggestions from code review
ben-xD 3faa10d
Move isolated bullet points into previous bullet points
ben-xD 8ecfce0
Remove unused code. This code stopped being used in fc50251f67bcf6b15…
ben-xD 61718ae
Replace bullet points with numbers
ben-xD 2b6e91b
Add warning about hashing a password to get a key, and more documenta…
ben-xD a6ac0c3
Assert length of key is 256 bits
ben-xD 7288f1b
Update README.md language
ben-xD e20a14d
Formatting (use `'` instead of `"`)
ben-xD bba9f4c
Remove key creation guidance / extra detail
ben-xD 0acd964
Add support for 128 bit keys in symmetric encryption
ben-xD 5106a99
Improve UI appearance (bolding, capitalization)
ben-xD 9534782
Remove outdated comment
ben-xD 7bfb9a7
Fix key length check (it was counting in bits, not bytes)
ben-xD d64a097
Merge remote-tracking branch 'origin/enhancement/update-dependencies'…
ben-xD 3ac1957
Run `flutter pub get`
ben-xD 457e594
Merge branch 'enhancement/update-dependencies' into feature/symmetric…
ben-xD File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excess vertical whitespace. We never need more than one blank line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh thanks, fixed: fb9cb6a