Question about hash element in File Transfer XEPs
5 Oct
2025
5 Oct
'25
5:33 p.m.
Hi, There are multiple filetransfer XEPs like e.g. XEP-0385 / XEP-0447 / XEP-0396 They define a hash element, but its not clear to me if the hash is after encryption or before, if the file should be transferred encrypted. If it is after encryption, the hash can only be used in edge cases for caching purposes (look up if we have this file already) because encryption keys change with each file transfer hence the hash of the encrypted file would change. Regards Philipp
347
Age (days ago)
347
Last active (days ago)
0 comments
1 participants
participants (1)
-
Philipp Hörist