SHA-1 support for XEP-0234 and XEP-0300
Currently nbxmpp's Hashes2
doesn't support SHA-1 hashes, but XEP-0234: Jingle File Transfer relies on XEP-0300: Use of Cryptographic Hash Functions in XMPP, which allows functions from IANA Hash Function Textual Names Registry, including SHA-1, so it would be nice to handle. Otherwise, when SHA-1 is used, Gajim rather confusingly says that a transferred file might have been damaged and proposes to reload it.