On 01.11.2016 12:50, Tobias Markmann wrote: > Sounds sensible, do you have a XEP using these HMACs in mind or is it > just for the future.
ISR [1] currently uses
<hmac>
<hash xmlns='urn:xmpp:hashes:1' algo='sha256'>
initator-hmac
</hash>
</hmac>
but I could imagine that we possible will see more usage of HMACs in
XEPs in the future.
> Probably makes sense to add them to XEP-300 as they
> are tightly related to the hash functions they are based on.
That is what I'm thinking too. The question is: Shall we assume that
every entity which announces support for hash algorithm X, also supports
HMAC based on X? If yes, then we could simply add a <hmac/> element to
XEP-0300 and be done. Doesn't even require a namespace version bump.
– Florian
1: http://geekplace.eu/xeps/xep-isr/xep-isr.html#resume
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Standards mailing list Info: https://mail.jabber.org/mailman/listinfo/standards Unsubscribe: [email protected] _______________________________________________
