-
-
Notifications
You must be signed in to change notification settings - Fork 258
Traduction de library/hmac.po #823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
bb49c82
9612f95
00df475
deb02b0
8d4b58a
26700c0
cdd514a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,3 +11,4 @@ Jules Lasne | |
| Mathieu Dupuy | ||
| Vivien Lambert | ||
| Andy Kwok | ||
| Valériane Venance | ||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -6,17 +6,18 @@ msgstr "" | |||||||||
| "Project-Id-Version: Python 3.6\n" | ||||||||||
| "Report-Msgid-Bugs-To: \n" | ||||||||||
| "POT-Creation-Date: 2018-06-28 15:29+0200\n" | ||||||||||
| "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||||||||
| "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||||||||
| "PO-Revision-Date: 2019-06-15 16:15+0200\n" | ||||||||||
| "Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||||||||
| "Language: fr\n" | ||||||||||
| "MIME-Version: 1.0\n" | ||||||||||
| "Content-Type: text/plain; charset=UTF-8\n" | ||||||||||
| "Content-Transfer-Encoding: 8bit\n" | ||||||||||
| "Last-Translator: Valériane Venance <venance.valeriane@gmail.com>\n" | ||||||||||
| "X-Generator: Poedit 2.2.3\n" | ||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:2 | ||||||||||
| msgid ":mod:`hmac` --- Keyed-Hashing for Message Authentication" | ||||||||||
| msgstr "" | ||||||||||
| msgstr ":mod:`hmac` --- Hachage à clé pour authentification des messages" | ||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:10 | ||||||||||
| msgid "**Source code:** :source:`Lib/hmac.py`" | ||||||||||
|
|
@@ -25,6 +26,7 @@ msgstr "**Code source :** :source:`Lib/hmac.py`" | |||||||||
| #: ../Doc/library/hmac.rst:14 | ||||||||||
| msgid "This module implements the HMAC algorithm as described by :rfc:`2104`." | ||||||||||
| msgstr "" | ||||||||||
| "Ce module implémente l'algorithme HMAC tel que décrit par la :rfc:`2104`." | ||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:19 | ||||||||||
| msgid "" | ||||||||||
|
|
@@ -34,17 +36,26 @@ msgid "" | |||||||||
| "object to use. It supports any name suitable to :func:`hashlib.new` and " | ||||||||||
| "defaults to the :data:`hashlib.md5` constructor." | ||||||||||
| msgstr "" | ||||||||||
| "Retourne un nouvel object hmac. *key* est un *byte* ou un objet *bytearray* " | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| "donnant la clé secrète. Si *msg* est présent, la méthode ``update(msg)`` est " | ||||||||||
| "appelée. *digestmod* est le nom du *digest*, le constructeur du *digest* ou " | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Je propose ici de traduire "for the HMAC object to use" plus simplement par "à utiliser", ca va de pair avec la proposition suivante. Je propose aussi de prendre un peu de liberté, en anglais ils utilisent "digest" aussi bien pour le nom de l'algorithme qui "digère" que pour son résultat, le "digéré", qu'on traduirait par "empreinte cryptographique" (ou "haché" ?). J'ai l'impression que "digest" représente plus le résultat que l'algorithme, et ici ça parle de l'algorithme, donc au lieu de tenter de traduire digest, je propose "algorithme de hachage". [plus tard] Je me rend compte qu'on est d'accord, plus loin tu écris "digestmod peut être le nom d'un algorithme de hachage.".
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. digest (nom) se traduit aussi par condensat.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah pas mal :) |
||||||||||
| "le module à utiliser de l'object HMAC. Il accepte tous les noms appropriés " | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| "à :func:`hashlib.new` et est défini par défaut sur le constructeur :data:" | ||||||||||
| "`hashlib.md5`." | ||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:25 | ||||||||||
| msgid "" | ||||||||||
| "Parameter *key* can be a bytes or bytearray object. Parameter *msg* can be " | ||||||||||
| "of any type supported by :mod:`hashlib`. Parameter *digestmod* can be the " | ||||||||||
| "name of a hash algorithm." | ||||||||||
| msgstr "" | ||||||||||
| "Le paramètre *key* peut être un *byte* ou un objet *bytearray*. Le paramètre " | ||||||||||
| "*msg* peut être de n'importe quel type pris en charge par :mod:`hashlib`. Le " | ||||||||||
| "paramètre *digestmod* peut être le nom d'un algorithme de hachage." | ||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:31 | ||||||||||
| msgid "MD5 as implicit default digest for *digestmod* is deprecated." | ||||||||||
| msgstr "" | ||||||||||
| msgstr "MD5 comme digest par défaut implicite pour *digestmod* est déprécié." | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. on avait dit deprecated -> "obsolète", non :) ?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Et c'est pas dans le README bouh.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pris en compte dans #831. |
||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:36 | ||||||||||
| msgid "" | ||||||||||
|
|
@@ -54,28 +65,41 @@ msgid "" | |||||||||
| "The parameters *key*, *msg*, and *digest* have the same meaning as in :func:" | ||||||||||
| "`~hmac.new`." | ||||||||||
| msgstr "" | ||||||||||
| "Retourne le *digest* de *msg* pour une *key* secrète et un *digest* donnés. " | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| "La fonction est équivalente à ``HMAC(key, msg, digest).digest()``, mais elle " | ||||||||||
| "utilise du C optimisé ou une implémentation *inline*, ce qui est plus rapide " | ||||||||||
| "pour les messages qui s'intègrent dans la mémoire. Les paramètres *key*, " | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pas fan de "s'intègrent dans la mémoire" pour "fit in memory". Ici ils essayent de contraster deux usages de la classe :
|
||||||||||
| "*msg* and *digest* on la même signification que dans :func:`~hmac.new`." | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Dans le rendu HTML ce serait invisible alors c'est pas bien grave. Ça se verrait dans le rendu PDF (je crois) et texte (certain). |
||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:42 | ||||||||||
| msgid "" | ||||||||||
| "CPython implementation detail, the optimized C implementation is only used " | ||||||||||
| "when *digest* is a string and name of a digest algorithm, which is supported " | ||||||||||
| "by OpenSSL." | ||||||||||
| msgstr "" | ||||||||||
| "Détail d'implémentation CPython, l'implémentation C optimisée n'est utilisée " | ||||||||||
| "que lorsque le *digest* est une chaîne de caractères et le nom d'un " | ||||||||||
| "algorithme de *digest* qui est supporté par OpenSSL." | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:49 | ||||||||||
| msgid "An HMAC object has the following methods:" | ||||||||||
| msgstr "" | ||||||||||
| msgstr "Un objet HMAC a les méthodes suivantes :" | ||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:53 | ||||||||||
| msgid "" | ||||||||||
| "Update the hmac object with *msg*. Repeated calls are equivalent to a " | ||||||||||
| "single call with the concatenation of all the arguments: ``m.update(a); m." | ||||||||||
| "update(b)`` is equivalent to ``m.update(a + b)``." | ||||||||||
| msgstr "" | ||||||||||
| "Met à jour l'object hmac avec *msg*. Des appels répétés sont équivalents à " | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| "un seul appel avec la concaténation de tous les arguments: ``m.update(a); m." | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| "update(b)`` est équivalent à ``m.update(a + b)``." | ||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:57 | ||||||||||
| msgid "Parameter *msg* can be of any type supported by :mod:`hashlib`." | ||||||||||
| msgstr "" | ||||||||||
| "Le paramètre *msg* peut être de n'importe quel type supporté par :mod:" | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
supporter est vraiment rarement utile en fait dans la doc de Python, souvent synonyme d'endurer, ou de porter physiquement (https://www.dictionnaire-academie.fr/article/A8S1904). |
||||||||||
| "`hashlib`." | ||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:63 | ||||||||||
| msgid "" | ||||||||||
|
|
@@ -84,6 +108,10 @@ msgid "" | |||||||||
| "given to the constructor. It may contain non-ASCII bytes, including NUL " | ||||||||||
| "bytes." | ||||||||||
| msgstr "" | ||||||||||
| "Retourne le *digest* des *bytes* passés à la méthode :meth:`update` jusque " | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
digest étant aussi un nom de paramètre, si on ne le traduit pas, j'ai peur que ça ralentisse la lecture, le lecteur ayant a chaque fois besoin de comprendre si on parle du concept ou du paramètre. C'est un peu notre faute, on représente graphiquement les mots non traduits et les paramètres (qui sont souvent des mots non traduits) de la même manière : en italique. Pareil pour bytes, ici on parle du concept, pas de type, puisque ça pourrait être des octets stockés dans un bytearray. |
||||||||||
| "là. Cet objet *bytes* sera de la même longueur que la *digest_size* du " | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Pas fan de leur manière de l'écrire en anglais, cette phrase parle de l'objet renvoyé, on peut donc faire mieux :) |
||||||||||
| "*digest* donné au constructeur. Il peut contenir des octets qui ne sont pas " | ||||||||||
| "dans la table ASCII, y compris des octets NUL." | ||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:70 | ||||||||||
| msgid "" | ||||||||||
|
|
@@ -92,13 +120,22 @@ msgid "" | |||||||||
| "`compare_digest` function instead of the ``==`` operator to reduce the " | ||||||||||
| "vulnerability to timing attacks." | ||||||||||
| msgstr "" | ||||||||||
| "Si l'on compare la sortie de :meth:`digest` avec celle d'un *digest* obtenu " | ||||||||||
| "par un service extérieur durant une routine de vérification, il est " | ||||||||||
| "recommandé d'utiliser la fonction :func:`compare_digest` au lieu de " | ||||||||||
| "l'opérateur ``==`` afin de réduire la vulnérabilité aux attaques basées sur " | ||||||||||
| "les temps de réponse." | ||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:78 | ||||||||||
| msgid "" | ||||||||||
| "Like :meth:`digest` except the digest is returned as a string twice the " | ||||||||||
| "length containing only hexadecimal digits. This may be used to exchange the " | ||||||||||
| "value safely in email or other non-binary environments." | ||||||||||
| msgstr "" | ||||||||||
| "Comme :meth:`digest` sauf que ce *digest* est retourné en tant que chaîne de " | ||||||||||
| "caractères de taille doublée contenant seulement des chiffres hexadécimaux. " | ||||||||||
| "C'est utile pour échanger cette valeur de façon sécurisée par email ou dans " | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pas persuadé par le mot "sécurisé". Ce qui est "safe" ici c'est qu'un hexdigest ne va pas casser le protocole de transport sous-jacent vu qu'il ne contient que de l'ASCII. Ce serait pas bien safe d'essayer de s'envoyer un digest pouvant contenir n'importe quel octet dont l'octet zéro via un chat un mail, ou n'importe quel protocole. Je fais une suggestion mais j'ignore ce qu'elle vaut :
Suggested change
|
||||||||||
| "d'autres environnements non binaires." | ||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:84 | ||||||||||
| msgid "" | ||||||||||
|
|
@@ -107,21 +144,29 @@ msgid "" | |||||||||
| "`compare_digest` function instead of the ``==`` operator to reduce the " | ||||||||||
| "vulnerability to timing attacks." | ||||||||||
| msgstr "" | ||||||||||
| "Si l'on compare la sortie de :meth:`hexdigest` avec celle d'un *digest* " | ||||||||||
| "obtenu par un service extérieur durant une routine de vérification, il est " | ||||||||||
| "recommandé d'utiliser la fonction :func:`compare_digest` au lieu de " | ||||||||||
| "l'opérateur ``==`` afin de réduire la vulnérabilité aux attaques basées sur " | ||||||||||
| "les temps de réponse." | ||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:92 | ||||||||||
| msgid "" | ||||||||||
| "Return a copy (\"clone\") of the hmac object. This can be used to " | ||||||||||
| "efficiently compute the digests of strings that share a common initial " | ||||||||||
| "substring." | ||||||||||
| msgstr "" | ||||||||||
| "Retourne une copie (un clone) de l'objet hmac. C'est utile pour calculer de " | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| "manière efficace les *digests* de chaînes de caractères qui ont en commun " | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| "une sous-chaîne initiale." | ||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:96 | ||||||||||
| msgid "A hash object has the following attributes:" | ||||||||||
| msgstr "L'objet haché possède les attributs suivants ::" | ||||||||||
| msgstr "Un objet *hash* possède les attributs suivants :" | ||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:100 | ||||||||||
| msgid "The size of the resulting HMAC digest in bytes." | ||||||||||
| msgstr "" | ||||||||||
| msgstr "La taille du HMAC *digest* résultant en octets." | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Suggested change
J'sais pas þ |
||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:104 | ||||||||||
| msgid "The internal block size of the hash algorithm in bytes." | ||||||||||
|
|
@@ -130,10 +175,12 @@ msgstr "La taille interne d'un bloc de l'algorithme de hachage en octets." | |||||||||
| #: ../Doc/library/hmac.rst:110 | ||||||||||
| msgid "The canonical name of this HMAC, always lowercase, e.g. ``hmac-md5``." | ||||||||||
| msgstr "" | ||||||||||
| "Le nom canonique de ce HMAC, toujours en lettres minuscules, par exemple " | ||||||||||
| "``hmac-md5``." | ||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:115 | ||||||||||
| msgid "This module also provides the following helper function:" | ||||||||||
| msgstr "" | ||||||||||
| msgstr "Ce module fournit également la fonction utilitaire suivante:" | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:119 | ||||||||||
| msgid "" | ||||||||||
|
|
@@ -143,18 +190,28 @@ msgid "" | |||||||||
| "either :class:`str` (ASCII only, as e.g. returned by :meth:`HMAC." | ||||||||||
| "hexdigest`), or a :term:`bytes-like object`." | ||||||||||
| msgstr "" | ||||||||||
| "Retourne ``a == b``. Cette fonction utilisée une approche destinée à " | ||||||||||
| "prévenir l'analyse des temps de réponse en évitant les comportements de " | ||||||||||
| "court circuit basés sur le contenu, ce qui la rend appropriée pour de la " | ||||||||||
| "cryptographie. *a* et *b* doivent être du même type: soit :class:`str` " | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| "(caractères ASCII seulement, comme retourné par :meth:`HMAC.hexdigest` par " | ||||||||||
| "exemple), ou :term:`bytes-like object`." | ||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:127 | ||||||||||
| msgid "" | ||||||||||
| "If *a* and *b* are of different lengths, or if an error occurs, a timing " | ||||||||||
| "attack could theoretically reveal information about the types and lengths of " | ||||||||||
| "*a* and *b*—but not their values." | ||||||||||
| msgstr "" | ||||||||||
| "Si *a* et *b* sont de longueurs différentes ou si une erreur se produit, une " | ||||||||||
| "attaque basée sur les temps de réponse pourrait en théorie révéler des " | ||||||||||
| "informations sur les types et longueurs de *a* et de *b*—mais pas sur leurs " | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| "valeurs." | ||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:137 | ||||||||||
| msgid "Module :mod:`hashlib`" | ||||||||||
| msgstr "" | ||||||||||
| msgstr "Module :mod:`hashlib`" | ||||||||||
|
|
||||||||||
| #: ../Doc/library/hmac.rst:138 | ||||||||||
| msgid "The Python module providing secure hash functions." | ||||||||||
| msgstr "" | ||||||||||
| msgstr "Le module Python fournissant des fonctions de hachage sécurisé." | ||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Voir : https://github.com/python/python-docs-fr/#le-cas-de----