Skip to content

Commit

Permalink
Sending 12 byte IV's instead of 16 now, fixes #31
Browse files Browse the repository at this point in the history
  • Loading branch information
Syndace authored Feb 16, 2020
1 parent 7c22e62 commit 45e56db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omemo/sessionmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def __encryptKeyTransportMessage(
##############

# Prepare AES-GCM key and IV
aes_gcm_iv = os.urandom(16)
aes_gcm_iv = os.urandom(12)
aes_gcm_key = os.urandom(16)

# Create the AES-GCM instance
Expand Down

0 comments on commit 45e56db

Please sign in to comment.