• [^] # Re: Pourquoi pas GCM ?

    Posté par . En réponse à la dépêche GnuPG, OpenPGP.js & cie : quoi de neuf ?. Évalué à 6.

    pourquoi ne pas avoir retenu GCM ?

    GCM ne fait pas l’unanimité chez les cryptographes. Ou alors, il fait l’unanimité contre lui.

    D’après Jon Callas (un des membres du groupe de travail OpenPGP, et premier auteur du RFC 4880) :

    I’ll request that another mode than GCM be used. In particular, I disagree with it being "uncontroversial." It's the most controversial mode you could pick.

    GCM is very brittle. It breaks in very bad ways if you aren't careful with nonces/tags. There are many cases of people misusing it and getting worse than no security. I state that because if you think you're getting authenticated data, but it's actually been altered in transit, and that will likely cause issues in the receiving state machine.

    Ou d’après Matthew Green :

    Galois Counter Mode has quietly become the most popular AE(AD) mode in the field today, despite the fact that everyone hates it. The popularity is due in part to the fact that GCM is extremely fast, but mostly it’s because the mode is patent-free. [...]

    Une chose qui revient souvent dans la littérature sur GCM est sa fragilité (cf. le commentaire de Jon Callas, GCM is very brittle) dans le sens où il est très facile de l’utiliser de façon catastrophique. Voir par exemple Gueron and Krasnov (2013), Joux (2006), Ferguson (2005).

    Au contraire, OCB est encensé par tout le monde, comme Brian Carlson (OCB is the mode everyone really wants to use), Jon Callas (We all really want to use OCB) ou Matthew Green (OCM blows the pants off of all the other modes I mention in this post)... la seule critique à son égard étant ce (削除) censuré (削除ここまで) de brevet. D’ailleurs comme le dit Werner Koch :

    GCM has only be developed to avoid the OCB patent