Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gajim
gajim-plugins
Commits
8c62878c
Commit
8c62878c
authored
Apr 09, 2018
by
Philipp Hörist
Browse files
[omemo] Remove pycrypto methods
parent
9c4bdb1d
Changes
1
Show whitespace changes
Inline
Side-by-side
omemo/omemo/state.py
View file @
8c62878c
...
@@ -273,8 +273,8 @@ class OmemoState:
...
@@ -273,8 +273,8 @@ class OmemoState:
return
result
return
result
def
create_gc_msg
(
self
,
from_jid
,
jid
,
plaintext
):
def
create_gc_msg
(
self
,
from_jid
,
jid
,
plaintext
):
key
=
get_
random
_bytes
(
16
)
key
=
os
.
u
random
(
16
)
iv
=
get_
random
_bytes
(
16
)
iv
=
os
.
u
random
(
16
)
encrypted_keys
=
{}
encrypted_keys
=
{}
room
=
jid
room
=
jid
encrypted_jids
=
[]
encrypted_jids
=
[]
...
...
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