Open rubdos opened 9 months ago
crate::attachment_cipher::encrypt_in_place(iv, key, &mut contents) gets called synchronously, blocking the executor. This should probably go on a threadpool.
crate::attachment_cipher::encrypt_in_place(iv, key, &mut contents)
Also doesn't really make sense that encryption of attachments happens in the library, while decryption happens outside :'-)
crate::attachment_cipher::encrypt_in_place(iv, key, &mut contents)
gets called synchronously, blocking the executor. This should probably go on a threadpool.