Path: ...!news.mixmin.net!aioe.org!Zx7D/NYItFLykhxJSZ3Jrw.user.46.165.242.91.POSTED!not-for-mail From: Franck Newsgroups: fr.comp.usenet.serveurs Subject: Re: usage de cancel-clock Date: Sat, 10 Sep 2022 08:44:48 +0200 Organization: Aioe.org NNTP Server Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: gioia.aioe.org; logging-data="63196"; posting-host="Zx7D/NYItFLykhxJSZ3Jrw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: fr Bytes: 1644 Lines: 18 Le 10/09/2022 à 08:23, Marc SCHAEFER a écrit : > C'est par contre pour la génération du secret où ils ont toute > latitude. Par exemple secret = hash(très-secret-du-serveur, user, > message-id). Ton exemple est complètement faux. Il s'agit d'un HMAC (qui accepte un secret) et non d'un HASH (qui n'accepte pas de secret) et il s'agit d'une concaténation de l'uid et du mid donc, il convient d'écrire : K = HMAC(très-secret-du-serveur, user+message-id) Franck