Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Yann Leboulanger
gajim-plugins
Commits
96c3e17b
Commit
96c3e17b
authored
Aug 07, 2017
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[omemo] Support 12bit IVs on httpupload files
parent
3bf7dddc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
omemo/file_decryption.py
omemo/file_decryption.py
+5
-0
No files found.
omemo/file_decryption.py
View file @
96c3e17b
...
...
@@ -134,6 +134,11 @@ class FileDecryption:
file
.
iv
=
fragment
[:
16
]
if
len
(
file
.
key
)
==
32
and
len
(
file
.
iv
)
==
16
:
return
True
file
.
key
=
fragment
[
12
:]
file
.
iv
=
fragment
[:
12
]
if
len
(
file
.
key
)
==
32
and
len
(
file
.
iv
)
==
12
:
return
True
except
:
return
False
return
False
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment