We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ac2608 commit 102bf6eCopy full SHA for 102bf6e
backend/globaleaks/utils/securetempfile.py
@@ -19,7 +19,7 @@ def __init__(self, filesdir):
19
"""
20
filename = str(uuid.uuid4())
21
self.filepath = os.path.join(filesdir, filename)
22
- self.cipher = Cipher(ChaCha20(os.urandom(32), os.urandom(16)), mode=None, backend=default_backend)
+ self.cipher = Cipher(ChaCha20(os.urandom(32), os.urandom(16)), mode=None, backend=default_backend())
23
24
@property
25
def size(self):
0 commit comments