METHODS for enrolling data to verify the authenticity of security data or for verifying the authenticity of security data

The method employs fuzzy obfuscation and cryptographic fingerprints to enhance identity verification security by encoding identity document data, reducing false acceptance and brute force vulnerabilities.

FR3123742B1Active Publication Date: 2024-08-30IDEMIA PUBLIC SECURITY FRANCE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
FR2021005799
Authority / Receiving Office
FR · FR
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-06-02
Publication Date
2024-08-30
Estimated Expiration
2041-06-02

AI Technical Summary

Technical Problem

Existing identity verification methods using secure sketch encoding procedures are susceptible to false acceptance and brute force attacks, compromising the security of identity document authentication.

Method used

A method utilizing a fuzzy obfuscation type encoding procedure with Hamming distance and variable point comparison predicates, combined with cryptographic fingerprints, to encode and decode security data, ensuring secure and reliable verification of identity documents.

Benefits of technology

The method significantly reduces the risk of false acceptance and brute force attacks, providing a robust and secure means to authenticate identity documents by encoding security data in a way that prevents attackers from learning the original data, even in the presence of errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000022_0000
    Figure 00000022_0000
  • Figure 00000023_0000
    Figure 00000023_0000
  • Figure 00000024_0000
    Figure 00000024_0000
Patent Text Reader

Abstract

METHODS for enrolling data to verify the authenticity of security data or for verifying the authenticity of security data. The invention proposes a method for enrolling data to verify the authenticity of security data, the method being characterized in that it comprises the implementation by data processing means (21) of a server (2) of steps of: Obtaining a reference security data; Generating a first encoded data by applying to the reference security data a remote Hamming fuzzy obfuscation type encoding procedure; Determining from the reference security data a first and a second data derived from the reference security data;Generation of a first random variable, and determination of a second encoded variable such that a variable-point comparison predicate parameterized by the second encoded variable and the first random variable is true when said variable has coordinates to said first and second derived variables; Storage on data storage means (22) of the server (2) of at least said first and second encoded variables. The invention also relates to a verification method and a server for this purpose. Figure for the abstract: Fig. 1;
Need to check novelty before this filing date? Find Prior Art

Description

Description Title of the invention: METHODS for enrolling data to verify the authenticity of security data or verification of the authenticity of security data FIELD OF THE INVENTION

[0001] = The invention relates to methods of enrolling data to verify the authenticity of security data and verification of the authenticity of data security. STATE OF THE ART

[0002] — Possession of an identity document (identity card, passport, driving license) driver's license, social security card, etc.) in force proves the identity of a individual.

[0003] — Identity documents consist of a medium generally made of paper or plastic on which a photo and alphanumeric information are printed personal data (name, first name, date of birth, etc.) of its holder. also finds a band called MRZ (Machine-Readable Zone) optical), which contains a code (usually two lines of 36 characters) summarizing the alphanumeric information of the document. Alternatively to the MRZ, one can find a PDF-417 barcode containing the same information.

[0004] — Generally, identity documents have a large number of elements of high-level security such as watermarks or holograms to prevent tampering. fication. The lifespan of such a document is generally limited (10 or 15 years), because the appearance of its owner gradually changes, and the security elements evolve.

[0005] = When an individual is checked by an entity, for example at the entrance to a building, he is therefore asked to present his identity document for authentication. He It is desirable that this procedure be as quick as possible, while being as secure. Indeed, the risk is, for example, that wanted individuals present a falsified identity document in which information has been altered, for example example photography.

[0006] Applications FR3047688 and FR1759292 are known for methods of enrolling data intended to be used to automatically check the identity of a individual, and associated identity control processes, based on a very clever generation from a visual element of an identity document (in par- (particularly the photo) of a security data called "Digital Photo Seal". This security data constitutes a kind of signature of the visual element: images acquired from the same visual element, regardless of the acquisition conditions (i.e. including following scanning or photocopying), lead to obtaining substantially identical security data. On the contrary, the slightest modification of the visual element results in a significant variation in this security element. Thus, it is sufficient to store on a server database the "expected" reference security data for a given document, and to compare it with the "candidate" data generated from a copy of this document, to know whether the visual element of this document is intact or not. In particular, to guarantee the security of the reference data on the server, it is “masked” by applying an encoding procedure (typically a secure sketch type procedure) to the reference data and to a random data item, and the masked reference data is stored in the database with a cryptographic fingerprint, i.e. a hash, of a concatenation of the MRZ with said random data item. An identity document presented by an individual can then be authenticated on the basis of its MRZ (or any other alphanumeric data) and the photograph: a candidate security data item is obtained from the photograph of the document presented, and it is then possible by applying a decoding procedure to find the random data item if the photograph of the document presented is identical to that on the basis of which the reference security data item was generated, and to verify that the hash of a concatenation of the MRZ (or the alphanumeric data item) with said random data item corresponds to that stored. This solution is satisfactory, but there are rare cases of "false acceptance" in which the Secure Sketch decoding procedure allows the random data to be found despite a candidate security data item that does not match the reference security data item (the photograph presented is different from that of the document), which could be exploited by an attacker to fraudulently authenticate. And, even without false acceptance, in the event of a brute force attack, the attacker will be able to learn from the secure sketch, via the number of errors corrected by the corrective code and thus converge towards the solution. It would therefore be desirable to have a new, simple, reliable, and totally secure solution for encoding / decoding security data in order to be able to automatically verify the authenticity of target personal data. PRESENTATION OF THE INVENTION According to a first aspect, the invention relates to a method of enrolling data to verify the authenticity of security data, the method being characterized in that that it includes the implementation by data processing means of a server of steps of: A. Obtaining reference safety data: B. Generation of a first encoded data by application to the data of reference security of a fuzzy obfuscation type encoding procedure at Hamming distance; C. Determination from the reference safety data of a first and of a second data derived from the reference safety data; D. Generation of a first random data, and determination of a second encoded data such as a variable point comparison type predicate parameterized by the second encoded data and the first random data is true when said variable point has as coordinates said first and second derived data: B Storage on server data storage means of at least said first and second encoded data. According to advantageous and non-limiting characteristics: Step (D) further comprises the generation of a second random data item and a third random data item; step (E) comprising the storage on the data storage means of the server of: A cryptographic fingerprint of a concatenation of the second and third random data; A sum of the first and second random data; The third random data. The reference security data has n binary coordinates denoted w;, the Hamming distance obfuscation type encoding procedure comprising the drawing of n+1 prime numbers denoted p1, p2 …pn, and q, and the calculation of a product Mp;* modaq. The said parameters of the predicate define a straight line and the predicate of type comparison with variable point is true if and only if the said variable point lies on this straight line. Said variable point comparison type predicate is expressed by the formula “aW1+b==W2”, where a is the second encoded data, b the first random data, and W1 and W2 respectively the first and second derived data. Reference security data is information representative of an expected appearance of a target personal data. Either the target personal data is a visual element and said security data is of the Digital Photo Seal type; or the target personal data is a biometric trait and said security data is a biometric template. The target personal data comes from an individual's identity document. According to a second aspect, the invention proposes a method for verifying the authenticity of security data, characterized in that it comprises the implementation by data processing means of a server of steps of: a Obtaining a candidate security data; b. Calculation of a first decoded data by applying a procedure of Hamming distance fuzzy obfuscation type decoding to the data of candidate security and to a first encoded data stored on means server data storage; c. Determination from the first decoded data of a first and a second data derived from the first decoded data; d. Calculation of a second decoded data, corresponding to a first data randomness, such as a parameterized variable point comparison type predicate by a second encoded data stored on the storage means of server data and the second decoded data is true when said point variable has as coordinates the said first and second derived data. According to advantageous and non-limiting characteristics: The method further comprises a step (e) of verifying that a cryptographic fingerprint of a concatenation of a second calculated random data item and a third random data item stored on the data storage means of the server coincides with an expected cryptographic fingerprint stored on the data storage means of the server, the second random data item being calculated from the second decoded data item and a sum of the first and second random data items stored on the data storage means of the server. The candidate security data is information representative of a visible appearance of a target personal data in an image, step (a) comprising extracting said candidate data from the image. Step (a) comprises the prior acquisition of said image by optical acquisition means of client equipment and transmission to the server. According to a third aspect, the invention proposes a data enrollment server for verifying the authenticity of security data, characterized in that it comprises data storage means and data processing means configured to: Obtain a reference safety data; Generate a first encoded data by application to the security data reference of a remote fuzzy obfuscation type encoding procedure from Hamming; Determine from the reference safety data a first and a second data derived from the reference safety data; Generate a first random data item, and determine a second data item encoded as a parameterized variable point comparison type predicate by the second encoded data and the first random data is true when said variable point has as coordinates said first and second data derivatives; Store on the data storage means at least the said first and second encoded data. According to a fourth aspect, the invention proposes a server for verifying the authenticity of security data, characterized in that it comprises data storage means and data processing means configured to: Obtain a candidate security data: Calculate a first decoded data by applying a procedure of Hamming distance fuzzy obfuscation type decoding to the data of candidate security and to a first encoded data stored on the means data storage; Determine from the first decoded data a first and a second data derived from the first decoded data; Calculate a second decoded data, corresponding to a first data randomness, such as a parameterized variable point comparison type predicate by a second encoded data stored on the storage means of data and the second decoded data is true when said variable point has for coordinates said first and second derived data. According to a fifth and a sixth aspect, the invention provides a computer program product comprising code instructions for executing a method according to the first or second aspect of enrolling data to verify the authenticity of security data or verifying the authenticity of security data; and a storage means readable by computer equipment on which a computer program product comprises code instructions for executing a method according to the first or second aspect of enrolling data to verify the authenticity of security data or verifying the authenticity of security data. DESCRIPTION OF FIGURES Other characteristics, aims and advantages of the present invention will appear on reading the detailed description which follows, with regard to the appended figures, given as non-limiting examples and in which: [Fig.1] [Fig.1] schematically represents a system for the implementation implementation of the methods according to the invention: [Fig.2a] [Fig.2a] represents the steps of an embodiment of a enrollment method according to the invention; [Fig.2b] [Fig.2b] represents the steps of an embodiment of a verification method according to the invention. DETAILED DESCRIPTION Architecture The present invention relates on the one hand to a method of enrolling data to verify the authenticity of security data, and on the other hand to a method of verifying the authenticity of security data. These methods advantageously fall within the context of verifying the authenticity of target personal data represented by the security data (such as biometric data, but also any visual element such as a photograph) preferably originating from an identity document 1, in particular with a view to checking the identity of an individual or authenticating an identity document 1, but this will not be limited to this particular embodiment. With reference to [Fig. 1], a system architecture for implementing the present methods is schematically represented. This system comprises at least one server 2. The system may also comprise client equipment 3 connected to the server 2 via a network 20 such as the Internet. Security data is, as explained, any data derived from a target personal data that it protects: the target personal data cannot be found from the security data, but this security data characterizes the target personal data. As we will see, said target personal data is typically uniquely associated with an individual (i.e. it is identity data), in particular a photograph of said individual, preferably the one visible on the individual's identity document 1, but also a fingerprint, a handwritten signature, or even the complete visual appearance of the individual's identity document 1, etc. It is understood that all these target personal data never have a unique appearance (two photos of the same individual will never be exactly identical), hence the need to extract derived security data and a "fuzzy" procedure to be able to compare two data. The server 2 is a remote, secure device, typically from an authority or a security solution provider. It comprises data processing means 21 (of the processor type) and data storage means 22 (a memory, for example a hard disk). The client equipment 3 is a local terminal advantageously comprising optical acquisition means 30 (typically a camera or a scanner), and adapted to obtain and, if necessary, transmit to the server 2 an image from which the security data can be extracted (i.e., representing the target personal data, for example, a photograph of the identity document on which the photograph of the individual is visible, or even an image of the individual - in particular of a biometric trait of the individual). The client equipment 3 and the server 2 advantageously comprise communications interfaces allowing them to communicate remotely. Note that the client 3 may itself be a mobile terminal of the individual (in particular of the smartphone type). Note that equipment 3 remains optional; security data can be directly provided to the server to be processed. It should also be noted that client equipment 3 can include its own data processing means 31 and implement certain processing, see below. It is noted that it is entirely possible that other entities are connected to the server 2 and to the equipment 3, in particular servers implementing services consuming the assertions produced by the equipment 3, i.e. services wishing to authenticate an individual or their identity document 1, for example a server of a bank, a hotel, etc. Security data In a known manner, the present methods preferentially use as security data information representative of an appearance of the target personal data, i.e. descriptive data of at least one fragment of the target personal data as it appears, i.e. a “signature”, which will allow comparisons. “Reference” security data refers to the information representing the “theoretical” appearance of the target personal data, i.e. as expected. In contrast, “candidate” security data refers to the information representing the observed appearance of the target personal data, i.e. to be verified (on the basis of which an individual wishes, for example, to authenticate themselves). It is understood, as explained, that this observed appearance is generally not perfectly identical to the expected appearance, due to the conditions of the defects inherent in the acquisition of an image, and to the variability of the shooting conditions (lighting, motion, distance, etc.). However, said information representative of the appearance is chosen in such a way that if two target personal data have appearances which coincide (i.e. it is the same individual / same document 1 even if the shooting conditions are not identical), then their security data coincide (i.e. present a distance according to a given metric below a threshold) as well. Thus, the reference security data and the candidate security data coincide if and only if the observed appearance and the expected appearance of the target personal data coincide. If the target personal data is biometric data, the security data can be any biometric template, i.e. a set of characteristics defining a biometric trait, for example the position of minutiae for a fingerprint. If the target personal data is a visual element (typically a photograph of all or part of an identity document 1), the “Digital Photo Seal” (DPS) can be used as security data, as described in the applications cited in the introduction or more precisely application EP3206192, based on the position of singular points of a graphic element, or any other “signature” of a candidate personal data. The DPS of a photograph is a characteristic of this image which is not a biometric model (note that the DPS can be used as security data even if the target personal data is an image representing a biometric trait - for example the photograph of an individual's face as visible on his identity document - but it is then understood that the personal data is processed as an image and not as biometric data), and can for example include an oriented gradient histogram (we then speak of an algorithm with a HOG descriptor). In all cases, one can alternatively use a feature extraction algorithm (the security data is then a feature map) applied to the candidate personal data, of the type using a convolutional neural network, also known by the acronym CNN (for the English Convolutional Neural Network). Enrollment process With reference to [Fig.2a], according to a first aspect, a method is proposed implemented by the data processing means 21 of the data enrollment server 2 to verify the authenticity of security data. The method begins with a step (A) of obtaining a reference security data item, in particular representative of an expected appearance of a target personal data item. We denote W the reference security data item, and we denote W' a candidate security data item. As explained, the person skilled in the art will be able to use any type of security data produced in any known way, the server 2 will simply be able to receive it from outside, for example from an authority. Alternatively, step (A) may comprise extracting the reference security data from the target personal data, the latter being able to be provided by a authority (for example the "official" photograph of the individual from the identity document 1), or by the individual, for example by taking a photograph of his face or his identity document himself via the terminal 3. Then, in a step (B), a first encoded data is generated by applying to the reference security data an original encoding procedure of the fuzzy Hamming distance obfuscation type, in English "Fuzzy Hamming Distance Obfuscator" or simply OFHD, see the document Steven D. Galbraith, Lukas Zobernig: Obfuscated Fuzzy Hamming Distance and Conjunctions from Subset Product Problems. TCC 2019, rather than by secure sketch. We note o(W) the encoded security data, i.e. the first encoded data. We assume that W has n binary coordinates w;, 1 <i<n (ie. W est une donnée sur n bits), par exemple n=512 pour un DPS sur un document d’identité 1. OFHD is based on the modular subset product problem, which states that given an integer r <n / 2, n nombres premiers distincts p;, 1<i<n, un nombre premier q tel que le produit d’un sous-ensemble de r des p; est inférieur à q ([Lia Pi < q pour tout I sous-ensemble de { 1, 2, .…N} de taille r) et l’entier égal au produit d’un sous-ensemble choisi des p; modulo q (égal à IIp* mod q avec x=1 si p, est choisi et O sinon), retrouver le sous-ensemble des pi choisis est statistiquement impossible dès lors que q est suffisamment grand. On peut donc obfusquer le vecteur des x,, en particulier le vecteur W (i.e. on prend x; = w; » La première donnée de sécurité peut alors être exprimée comme le vecteur de dimension n+2 comprenant les pi, q et Mp;" mod q, i.e. o(W) = (p1, P> …Pn 9, Hp;"). On the other hand, from another data W', it is possible to decode o and find W when W and W' are sufficiently close in the sense of the Hamming distance using the techniques called continued fractions and, for example, the Euclid algorithm. We denote by Decode(o, W') the algorithm which, from a candidate security data W” and from o(W), seeks to find W. For example, considering as security data vectors with n=512 coordinates, with a maximum Hamming distance of 91 for acceptance. This gives a size for q of 1138 bits. With these parameters, the probability of finding a random element sufficiently close to W is less than 2-72. On a standard PC, Decode is executed in about 200 ms. The advantage of OFHD compared to secure sketch is that in case of error an attacker does not gain additional information on W. Indeed, Decode(o,W”) returns either W if W” is sufficiently close to W, or returns nothing, or another value W'° otherwise, in all cases the attacker cannot determine if it is close to W, and he does not cannot converge. However, unlike secure sketch, OFHD does not offer a "payload" in which it can store a random value. Indeed, the OFHD encoding procedure only takes the security data as input. In this respect, the present methods cleverly propose to couple OFHD with another technique, called variable point comparison type predicate, to generate a second encoded data this time carrying a payload for a random number. First of all, the method comprises a step (C) of determining, from the reference safety data, a first and a second data derived from the reference safety data, such that each of the two derived data does not, alone, allow one to go back to the reference safety data. It is entirely possible that it is not possible to go back to the safety data even when knowing the two derived data. Naturally, the two derived data must be different, i.e. obtained by two different derivations. We denote W1 and W2 the two derived data. We can see the two derived data as two “coordinates” obtained from the safety data. Any derivation functions can be used. According to a first embodiment, the security data is simply divided into two parts, i.e. W1 and W2 are the two parts of W, this division itself being able to be done in several different ways (selection of one bit out of two, of the first / last n / 2 bits, etc.). According to a second embodiment, the two derived data are two cryptographic fingerprints obtained by two different hash functions (this includes two different settings of the same hash function). All or part of the security data can be hashed, and for example each of the two parts obtained by division can be hashed in the same way in accordance with the first embodiment. Then, in a step (D), a first random data item is generated (as we will see, a second or even a third random data item can also be generated), and we then determine a second encoded data item such that a variable point comparison type predicate parameterized by the second encoded data item and the first random data item is true when said variable point has as coordinates said first and second derived data items. The random data item is, as its name indicates, a random value item providing randomness, which is important because knowing it will make it possible to prove that we have the reference security data item. Variable point comparison predicate obfuscation is proposed in Lukas Zobernig, Steven D. Galbraith, Giovanni Russello: When are Opaque Predicates Useful? TrustCom / BigDataSE 2019. The idea is to construct a predicate (i.e., a Boolean object) of the form P(x,y),» which is true substantially only when x and y have expected values. We see that a and b are parameters of the predicate. The predicate compares two values ​​and can thus be expressed as P(Xy)ap= « f(XY)ax==0 ». Compared to what is described in the aforementioned document, cleverly we do not seek to obfuscate the derived data W1 and W2 but rather the first random data, which we therefore note respectively with the second encoded data b and a. In other words we choose the second encoded data and the first random data as parameters a and b and the predicate is a function of W1 and W2, ie we express the predicate as P(W1,W2),». Preferably, said parameters of the predicate (second encoded data and first random data) define a straight line and the predicate is true if and only if said variable point is on this straight line, which is thus notably the case (but not exclusively) when the variable point has as coordinates said first and second derived data. The function f(x,y),p is in other words preferentially chosen as ax+by, Le. the predicate is P(x,ÿ)a»= « ax+b==y » (equation of said line), and therefore the formula linking the second encoded data a, the random data b, and the derived data W1 and W2 is aW1+b=W2. In summary, the encoding of step (D) consists of finding a(b) such that aW1+b=W2, so as to "hide" b, but we will not be limited by this equation. Knowing b, W1 and W2, we can easily calculate a as a function of these three other data, and in particular if the predicate is P(W1,W2),,= "aW1+b==W2" it is enough to set a = (W2-b) / W1 so that the predicate is true for the variable point with coordinates (W1, W2). The associated decoding procedure is simple, because starting from the second encoded data a, if we have the correct derived data W1 and W2 we can find b by calculating W2-aW1. More precisely, assuming that decoding o(W) using the candidate data W' returns W*, using the predicate allows us to recover the payload of the second encoded data a, i.e. the first random data b if W°'=W, without revealing any information about W. To do this, we calculate data derived from W°” (denoted W1”” and W2”") by the same derivation as for W1 and W2, and we calculate the decoded data, i.e. the payload b'' respecting the predicate, i.e. b”' = W2°'-aW1”. If W' is not close enough to W, then W°” is not equal to W and the decoded data b'' is not the correct value of the random data b. The present method completes the enrollment by a step (E) of storing on the data storage means 22 of the server 2 at least said first and second encoded data (0 and a). Preferably, when step (D) comprises the generation of a second random data item and a third random data item, step (E) further comprises the storage on the data storage means 22 of the server 2 of: A cryptographic fingerprint of a concatenation of the second and third random data: A sum of the first and second random data; The third random data. We understand that the second data and the third data can of course be interchanged. By denoting r and t as the second and third random data, we therefore have: h=H(rit) the cryptographic fingerprint and u =r+b. In the end we therefore store o, a, h, tet and u. This additional data allows us to test the obtained b'' again without revealing the hidden value of b: it is sufficient to check that H(ub”'It)=h. It should be noted that we are absolutely not limited to this solution and that we can just, for example, verify that H(b”'It)=H(b[t), or any other technique known to those skilled in the art to verify that b''=b while revealing b as little as possible. It is understood that none of the stored data o, a, ht and u is usable in itself because: The first encoded data 0 does not allow us to go back to W, even in testing W° iteratively; The second encoded data a does not allow us to go back to b unless know W with certainty; h is a simple cryptographic fingerprint and t is a random data providing no information; The result of the sum u does not allow us to go back to b unless we know Tr with certainty In a manner known elsewhere, step (E) may comprise the storage on the storage means 22 of an encrypted version of at least one other piece of data to be protected such as personal alphanumeric data, with a key based on the first random data item (for example a cryptographic fingerprint of a concatenation of the first random data item and said personal alphanumeric data item). Please note that the enrollment process may be repeated at regular intervals to verify or update security data or other personal data. Recent and reliable data may be retrieved from a government entity. In addition, an identity document 1 only has a lifespan limited, and must be regularly renewed. Preferably, as we will see later, we can provide for limiting the number of times that a 0(w) can be calculated / decoded for the same source, i.e. given a reference security data W, when a limit is passed, the system refuses a new calculation involving W. Verifying the authentication of a candidate security data With reference to [Fig.2b], we now assume that the enrollment has been successfully completed, and that we have a candidate security data item to verify, denoted W” (step (a) of the method for verifying the authenticity of a security data item). The candidate security data item is typically information representative of a visible appearance of a target personal data item (for example a biometric trait) in an image. In a preferred embodiment, the verification method begins in step (a) by obtaining in one way or another (for example via the acquisition means 30 of the client 3) an image, in particular an image of a user or an image of an identity document 1, the image representing at least the visible target personal data. For example, said image may represent the entire identity document 1 and present the photograph of the individual holding the identity document 3; Typically, it is the individual who takes a photo of their face or their identity document 1 with their mobile terminal. Step (a) may further comprise the extraction of said candidate data from the image (for example its DPS, or a biometric template if the image is that of a biometric trait), either by the server 2 (if the terminal 3 has sent it the image), or by the terminal 3 itself, and it then directly transmits the candidate security data. The procedure is carried out in exactly the same way as in the enrollment method. It is understood that the reference and candidate safety data will need to be obtained in an identical manner so that they can be compared. The objective is to verify that step (a) has been carried out as described above, and that we are not dealing with a fake (for example, an image that has been fraudulently modified). To do this, the individual or any other entity that wishes to verify the candidate security data requests it from the vA server In a step (b), the data processing means 21 of the server 2 calculate a first decoded data item by applying a Hamming distance fuzzy obfuscation type decoding procedure to the candidate security data item and to a first encoded data item stored on the data storage means 22 of the server 2. More precisely, the server 2 accesses the first encoded data o associated with the reference security data (typically referenced with the fingerprint of an identifier, this identifier being able to be that of the individual or of his identity document), and applies the aforementioned decoding procedure Decode(o, W”) (using the Euclid algorithm for example). As explained, we obtain at output a first decoded data W”' which corresponds to the reference security data W if the reference security data W and the candidate security data W” are sufficiently close in the sense of the Hamming distance. Generally speaking, the result of a comparison of the candidate security data and the reference security data must show that they are identical, or at least have a distance below a predetermined error threshold. For example, for visual elements, it is commonly considered that security data such as Digital Photo Seals coincide if they differ by less than 17%. Thus, for example, a maximum Hamming distance of 91 is taken for acceptance. At this point, one could compare W”' and W, but in doing so one would provide additional information about W. Thus, in a step (c), a first and a second data derived from the first decoded data are determined from the first decoded data, in exactly the same way as the first and second data derived from the reference security data during enrollment (division into two parts, hashing, etc.). It is thus understood that if W=W”", then W1=W1" and W2=W2". Finally, in a step (d), the server 2 accesses the second encoded data a associated with the reference security data and a second decoded data is calculated, i.e. a payload of the second encoded data a, denoted b'', corresponding to a first random data item (i.e. b”'=b if W=W”"), such that a variable point comparison type predicate parameterized by the second encoded data item and the second decoded data item is true when said variable point has as coordinates said derived data W1' and W2”' (as explained, said parameters of the predicate advantageously define a straight line and the variable point comparison type predicate is true if and only if said variable point is on this straight line, i.e. the variable point having as coordinates said derived data W1'' and W2”' is on the straight line defined by the second encoded data item a and the second decoded data item b°”).Knowing that the derived data W1”' and W2°° and the second encoded data a are defined, the only variable remains the second decoded data b'>. . The predicate is as explained preferentially “aW1”'+b”'=W2""”, which is true if and only if b”'=W2''-aW1''. In other words, step (f) preferentially sees the computation of b'' as W2'-aW1”. At this stage, we can directly check b'' in a step (e) (i.e. check that the second decoded data is indeed equal to the first random data) to verify the candidate security data. In a particularly preferred manner, the method more precisely comprises a step (e) of verifying that a cryptographic fingerprint of a concatenation of a second calculated random data item and a third random data item stored on the data storage means 22 of the server 2 coincides with an expected cryptographic fingerprint stored on the data storage means 22 of the server 2. In fact, the server stores h and t, and if we have the correct value of r (the second random data) we have ah=H(rlt). For this, the second random data can be recalculated from the second decoded data and a sum of the first and second random data stored on the data storage means 22 of the server 2 (i.e. the difference between said sum and the second decoded data). Indeed u = r+b, and we calculate ub”° which should be equal to r if b=b””. In summary we check that h=H(ub”'It). Alternatively, as explained we could directly compare H(bit) and H(b”*It) (the respective fingerprints of the first random data item and the second decoded data item concatenated with the third random data item), for example by storing on the data storage means 22 of the server 2 the cryptographic fingerprint of the first random data item concatenated with the third random data item (i.e. H(blt)). If W' is too far from W, then W°°#W, b''#b, and the entropy of the cryptographic hash functions means that we will arrive at a very different result. If the provided image has been altered (e.g. by replacing the photograph on an identity document), then the corresponding candidate and reference security data will not match, resulting in a false random value and therefore a false fingerprint value, and the authenticity will be rejected. An alert for fraudulent use may be issued. If the fingerprint is found, it means that the candidate security data is valid, i.e. not falsified. We can possibly deduce that a target personal data is authentic and authenticate a user or their identity document on this basis. If an encrypted version of at least one other piece of data to be protected, such as a personal alphanumeric piece of data, is stored on the data storage means 22 of the server 2, with a key based on the first random data item (for example a cryptographic fingerprint of a concatenation of the first random data item and said personal alphanumeric data item), this data item can be decrypted using the second decoded data item (since it coincides with the first random data item). Indeed, at this stage we know that the second decoded data corresponds to the first random data and that the individual has been able to successfully reconstruct the fingerprint. The said other data to be protected, at his request, are then transferred to the client equipment 3. It is understood that, to guarantee maximum confidentiality, the server 2 provides the encrypted data as is, and that it is at the level of the client 3 that the decryption takes place, so as to avoid any clear transfer of personal data. Note that it could be provided that the user is authorized to take advantage of this to update this personal data: if, for example, his address has changed, he modifies the data before re-encrypting it and retransmitting everything to server 2 for storage. Server According to a third aspect, the server 2 is proposed for implementing the methods according to the first or second aspect, i.e. an enrollment server for verifying the authenticity of a reference security data item and / or for verifying the authenticity of a candidate security data item. The server 2 is typically connected to a network 20, and comprises data storage means 22 and data processing means 21 configured to (in the case of enrollment): Obtaining reference safety data (in particular by extraction from from an image); Generate a first encoded data by application to the security data reference of a remote fuzzy obfuscation type encoding procedure from Hamming; Determine from the reference safety data a first and a second data derived from the reference safety data; Generate a first random data (and possibly a second and a third random data), and determine a second encoded data such that a variable point comparison type predicate parameterized by the second encoded data and the first random data is true when said variable point has as coordinates the said first and second data derivatives; Store on the data storage means 22 at least said first and second encoded data (and possibly a cryptographic fingerprint) graph of a concatenation of the second and third random data, a sum of the first and second random data, and the third data of hazard). In the case of authentication, the data processing means 21 are further configured to: Obtain candidate security data (in particular by extraction from of an image); Calculate a first decoded data by applying a procedure of Hamming distance fuzzy obfuscation type decoding to the data of candidate security and to a first encoded data stored on the means data storage 22; Determine from the first decoded data a first and a second data derived from the first decoded data; Calculate a second decoded data, corresponding to a first data randomness, such as a parameterized variable point comparison type predicate by a second encoded data stored on the storage means of data 22 and the second decoded data is true when said variable point has as coordinates said first and second derived data; Advantageously verify that a cryptographic fingerprint of a conca- tenation of a second calculated random data and a third data of randomness stored on the data storage means 22 coincides with a expected cryptographic fingerprint stored on the storage means of data 22, the second random data being calculated from the second decoded data and a sum of the first and second random data stored on data storage means 22. The system may further comprise at least one client device 3 (typically connected to the server 2 via the network 20, directly or indirectly) comprising optical acquisition means 30 for the acquisition of said image (in particular of an individual or their identity document 1). Computer program product According to a fourth and a fifth aspect, the invention relates to a computer program product comprising code instructions for the execution (in particular on the data processing means 21 of the server 2) of a method according to the first or second aspect of the invention, as well as storage means readable by computer equipment (a memory 22 of the server 2) on which this computer program product is found.

Claims

Claims

1. Method of enrolling data to verify the authenticity of a security data, the method being characterized in that it comprises the implementation by data processing means (21) of a server (2) of steps of: A. Obtaining reference safety data; B. Generation of a first encoded data by application to the reference security data of an encoding procedure of the Hamming distance fuzzy obfuscation type; C. Determination from the reference safety data of a first and a second data derived from the reference safety data: D. Generation of initial random data, and determination of a second encoded data such as a type predicate variable point comparison parameterized by the second encoded data and the first random data is true when said variable point has as coordinates said first and second derived data; B Storage on data storage means (22) of the server (2) of at least said first and second data encoded.

2. A method according to claim |, wherein step (D) comprises in in addition to the generation of a second random data and a third random data; step (FE) comprising storage on the means of data storage (22) of the server (2) of: A cryptographic fingerprint of a concatenation of the second and third random data: A sum of the first and second random data; The third random data.

3. Method according to one of claims 1 and 2, in which the data of reference security presents n binary coordinates noted w,, the Hamming distance obfuscation type encoding procedure including the drawing of n+1 prime numbers noted pl, p2 ..pn, and q, and the calculation of a product Mp;"* mod q.

4. Method according to one of claims 1 to 3, wherein said pa- predicate parameters define a straight line and the predicate of type com- parison with variable point is true if and only if said variable point is is on this right.

5. The method of claim 4, wherein said com-type predicate variable point parison is expressed by the formula “aW1+b==W2”, where a is the second encoded data, b the first random data, and W1 and W2 respectively the first and second derived data.

6. Method according to one of claims 1 to 5, in which the data of reference security is information representative of an appearance expected from a target personal data.

7. The method of claim 6, wherein either the data per- target sound is a visual element and said security data is type Digital Photo Seal; either the target personal data is a bio- trait metric and said security data is a biometric template.

8. Method according to one of claims 6 and 7, in which the data per- target data comes from an identity document (1) of an individual.

9. Method for verifying the authenticity of security data, ca- characterized in that it includes the implementation by means of data processing (21) of a server (2) of steps of; a Obtaining a candidate security data; b. Calculation of a first decoded data by applying a remote fuzzy obfuscation type decoding procedure Hamming to the candidate security data and a first encoded data stored on storage media data (22) from server (2); c. Determination from the first decoded data of a first and a second data derived from the first decoded data; d. Calculation of a second decoded data, corresponding to a first random data, such as a predicate of type com- parison with variable point parameterized by a second data encoded stored on data storage means (22) from server (2) and the second decoded data is true when said variable point has as coordinates said first and second derived data; e Verification of the second decoded data.

10. The method of claim 9, wherein step (e) comprises verifying- fication that a cryptographic fingerprint of a concatenation of a second random data calculated and a third random data stored on the data storage means (22) of the server (2) coincides with an expected cryptographic fingerprint stored on the data storage means (22) of the server (2), the second data randomness being calculated from the second decoded data and a sum of the first and second random data stored on the means data storage (22) of the server (2).

11. Method according to one of claims 9 and 10, in which the data of candidate security is information representative of an appearance visible of a target personal data in an image, step (a) comprising extracting said candidate data from the image.

12. The method of claim 11, wherein step (a) comprises the prior acquisition of said image by acquisition means optical (30) of a client equipment (3) and transmission to the server (2).

13. Data enrollment server (2) to verify the authenticity of a security data, characterized in that it comprises means of data storage (22) and data processing means (21) configured for: Obtain a reference safety data; Generate a first data encoded by application to the reference security data of an encoding procedure of the Hamming distance fuzzy obfuscation type; Determine from the reference safety data a first and second data derived from the data of reference security; Generate initial random data, and determine a second data encoded as a predicate of type com- parison with variable point parameterized by the second data encoded and the first random data is true when said variable point has as coordinates the said first and second derived data; Store on data storage means (22) at least said first and second encoded data.

14. Server for verifying the authenticity of security data, ca- characterized in that it includes data storage means (22) and data processing means (21) configured to: Obtain candidate security data; Calculate a first decoded data by applying a remote fuzzy obfuscation type decoding procedure Hamming to the candidate security data and a first encoded data stored on the storage means of data (22); Determine from the first decoded data a first and second data derived from the first decoded data: Calculate a second decoded data, corresponding to a first random data, such as a predicate of type com- parison with variable point parameterized by a second data encoded stored on data storage means (22) and the second decoded data is true when said point variable has the coordinates of said first and second derived data.

15. Computer program product comprising code instructions for carrying out a method according to one of claims 1 to 12 data enrollment to verify the authenticity of a data security or verification of the authenticity of security data, when said method is executed on a computer.

16. A storage medium readable by computer equipment on which a computer program product includes code instructions for carrying out a method according to one of claims 1 to 12 data enrollment to verify the authenticity of a data security or verification of the authenticity of security data.