-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Conversation
02dd25b
to
42be1b7
Compare
af79e3b
to
0476ddc
Compare
@wstrm: Have you progressed on it? |
The Content-Disposition inferring is probably a bad idea security wise, so I am going to remove it.
f0988eb
to
1bb6cec
Compare
No, not lately. Hopefully I'll get back to it soon. |
@jubalh Show no mercy |
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.
See comments in code plus:
- Where do you use
omemo_free()
- You added two empty files: src/tools/aesgcm_upload.c src/tools/aesgcm_upload.h
"/omemo trust c4f9c875-144d7a3b-0c4a05b6-ca3be51a-a037f329-0bd3ae62-07f99719-55559d2a", | ||
"/omemo untrust loki@valhalla.edda c4f9c875-144d7a3b-0c4a05b6-ca3be51a-a037f329-0bd3ae62-07f99719-55559d2a", | ||
"/omemo char *") | ||
parse_args, 1, 3, NULL, |
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? :)
I like a lot what you did to http upload! Some more reviewing:
What happens when a user sets So first I think |
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.
Looking good! Except that you don't expand ~. So /url save https://profanity-im.github.io/faq.html ~/something
will make trouble.
unique_filename_from_url() is used for `/url save`. It doesn't recognize ~ by itself, we need to expand it first. Mentioned in #1375 (review)
I opened #1447 for the last comment. |
@wstrm Thanks a lot for your work! This will be a nice christmas present for users! |
@wstrm: Thanks for your job in Profanity! I am not sure if https://github.com/wstrm/omemo-utils is compatible with all OMEMO 0.3.0 clients:
|
Fixes: #1262