Skip to content

Commit d0fdc76

Browse files
committed
Fix note URL
1 parent 8e899c7 commit d0fdc76

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

threema/gateway/e2e.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ def sk_encrypt_raw(key, data, nonce=None):
132132
# Assemble and encrypt the payload
133133
box = libnacl.secret.SecretBox(key=key)
134134
# Note: Workaround for libnacl which lacks `pack_nonce` option
135-
# (see: )
136-
#return box.encrypt(data, nonce=nonce, pack_nonce=False)
135+
# (see: https://github.com/saltstack/libnacl/pull/61)
136+
# return box.encrypt(data, nonce=nonce, pack_nonce=False)
137137
data = box.encrypt(data, nonce=nonce)
138138
nonce_length = libnacl.crypto_secretbox_NONCEBYTES
139139
return data[:nonce_length], data[nonce_length:]

0 commit comments

Comments
 (0)