-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
Send and retrieve encrypted files when using OMEMO #1375
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
3370418
Initial /sendfile OMEMO encryption
wstrm 39c3290
Refactor to use file stream
wstrm e9d5875
Reformat HTTP get URL to AESGCM scheme
wstrm d5b1dc0
Move setup for AESGCM to omemo/crypto
wstrm fc6136d
Remove unused #define's and move URL scheme define to omemo/crypto.h
wstrm e98644f
Add guards for OMEMO
wstrm f4ab1ca
Move file encryption function to public header
wstrm 9d58472
Remove /omemo sendfile
wstrm 04bfa23
Remove temporary ciphertext file when finished
wstrm 362c697
Wording
wstrm 9499df6
Add http_download tool
wstrm eebf54c
Infer filename from content-disposition or URL
wstrm a0cf084
Remove unsafe Conent-Disposition inferring
wstrm 4711fc6
Run make format on rebase
wstrm fb002a5
Use fallback method when /executable urlsave is unset
wstrm 73f313b
Refactor OMEMO download into AESGCMDownload tool
wstrm 62cbad1
Add I/O error handling and use filenames instead of file descriptors
wstrm 7a1eb73
Explicitly clear fragment from HTTP URL
wstrm 3d344cf
Move common http tool code to http_common
wstrm ab83afe
Switch to g_strerror
wstrm be62b44
Add stubs
wstrm 1bb6cec
Fix stubs and move some tests to http_common
wstrm 3a6597e
Refactor for threaded external executable for built-in download methods
wstrm 1d2c0a8
Move unique_filename_from_url functions to common
wstrm ac03037
Rework url to filename
wstrm 4a1c118
Fix bad order of parameters for url save
wstrm 867d895
Add tests for format_call_external_argv
wstrm 5c5b4d7
Remove cmd_tiny, empty files and link nonce with IV
wstrm 332dc87
Fix wrong order of arguments for _url_http_method
wstrm 7f0165a
Fix segfault for urlopen[1]
wstrm d7848e3
Remove scheme and filetype matching for url (save|open)
wstrm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,3 +86,4 @@ breaks | |
|
||
*.tar.* | ||
*.zip | ||
*.log* |
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.
indentation got changed here. I know.. its a bit of a problem because we don't use default here.. :-/
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.
I shouldn't do something here, right? :)