Derivation of proof keys for managing a public key infrastructure
The portable computing device uses hash functions and extended key derivation to manage digital identities securely and cost-effectively, addressing the inefficiencies of rebuilding PKI systems upon private key compromise.
Patent Information
- Application Number
- FR2023003767
- Authority / Receiving Office
- FR · FR
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-14
- Publication Date
- 2024-10-18
AI Technical Summary
Existing public key infrastructure (PKI) systems are costly and inefficient due to the need to rebuild the entire infrastructure when a private key is compromised, especially in decentralized identity management systems like Self-Sovereign Identity (SSI), where individuals bear the maintenance costs.
A portable computing device with a calculation unit derives public keys for digital identities using hash functions and extended key derivation algorithms, allowing secure management of digital identities without regenerating the entire PKI, even in the event of private key compromise.
This approach enables secure, long-term management of digital identities at a reduced cost by generating new certificates and keys without rebuilding the entire infrastructure, ensuring secure transactions and identity verification.
Smart Images

Figure 00000022_0000 
Figure 00000023_0000 
Figure 00000024_0000
Abstract
Description
Title of the invention: Derivation of proof keys for the management of a public key infrastructure Technical field
[0001] The present disclosure relates to the field of cryptography. More specifically, it relates to the field of public key infrastructure management. Prior art
[0002] Many cybersecurity systems are based on digital certificates, using what are generally called public key infrastructures or PKIs (from the English acronym "Public Key Infrastructure") standardized by the ITU X.509 recommendation. In the context of a PKI architecture, a user can be authenticated by a certificate issued by a certification authority, and including a public key. The user must be the only person in possession of the private key associated with the public key. Indeed, any third party can then communicate securely via the public key with the user having the private key, while having the guarantee of the user's identity via the certificate signed by a certification authority.
[0003] The ability to retain the associated private key is crucial. At some point, if the security of the private key is called into question, the best practice is to revoke the certificate and rebuild the infrastructure from scratch with a newly generated certificate, associated with a new public / private key pair. The cost of such events is extremely high. This makes the use of a secure PKI generally expensive.
[0004] While PKIs are generally based on large centralized identity providers, the so-called "SSI" approach (from the English "Self-Sovereign Identity", or Self-Sovereign Identity also sometimes called "decentralized ID" (English term for "decentralized identity" or "DiD")) consists of providing individuals with control over the information they use to authenticate themselves. The costs of maintaining a reliable PKI are then all the higher when they are borne by an individual.
[0005] There is therefore a need to enable less costly secure management of a public key infrastructure over its entire life cycle, in particular by avoiding the need to re-generate the entire infrastructure in the event of a private key being compromised. Summary
[0006] The present disclosure improves the situation.
[0007] A portable computing device is provided for creating a plurality of digital identities comprising at least one computing unit configured, for each digital identity of said plurality of digital identities, to: derive a public proof key of the digital identity; obtain proof of the digital identity by applying a hash function to the public proof key; generate a certificate of the digital identity comprising the proof, and an application public key associated with the digital identity.
[0008] The term “computing unit” means an electronic component capable of performing electronic or computer calculations to perform a specific function. A computing unit may designate any type of processor or electronic component capable of performing digital calculations. For example, a computing unit may be an integrated circuit, an ASIC (from the English acronym “Application-Specific Integrated Circuit”, literally in French “integrated circuit specific to an application”, a microcontroller, a microprocessor, a DSP (from the English acronym “Digital Signal Processor”, literally in French “digital signal processor”), a processor, a GPU (from the English acronym “Graphics Processing Unit”, literally in French “graphics computing unit”). A computing unit according to the invention is not limited to a particular type of computing architecture. For example, a processor may implement a Harvard or Von Neumann type architecture.
[0009] The term "memory" means a digital electronic device used to store data. Different types of memories may be used in the invention, such as a read-only memory, a random access memory, a volatile memory or a flash memory. A device according to the invention may be equipped with one or more non-volatile memories which may be of different types such as mass memories, flash memory, read-only memories or SSD memories. A device according to the invention may also comprise one or more random access memories such as RAM, DRAM, SRAM, DPRREAM, VRAM, eDRAM or 1T-SRAM memories.
[0010] "Digital identity" means a technological link between a real entity, for example a natural or legal person, and a digital representation.
[0011] "Derivation of a key" means the generation of a child key from a number, for example a parent key or a random number. Different key derivation algorithms can be used within the scope of the invention. Extended key generation algorithms such as the HMAC-SHA512 algorithm used in the Bitcoin BIP32 specification are particularly applicable to the invention. Such algorithms have the advantage of being able to generate a child public key from a parent public key, without having to generate the child private key, and without requiring the parent private key.
[0012] "Digital identity proof public key" means the public key of a key pair associated with the digital identity.
[0013] "Proof of digital identity" means data that allows any third party to verify the digital identity. Proof can sometimes be called a "commitment".
[0014] "Application public key" means the public key of a key pair associated with an application that can be used securely by the digital identity. The proof public key can be associated with different applications, for example online payment or secure messaging applications.
[0015] Thus, the identity certificate and the application key are linked by proof, and the certificate allows a third party to ensure that the identity is valid, and that the public key is indeed associated with this identity, which allows secure transactions.
[0016] Furthermore, in case of doubt as to the integrity of the application private key linked to the application public key, a single certificate must be generated, comprising a private key of a new pair of application keys, without the need to reconstruct an entire public key infrastructure. The method according to the invention therefore makes it possible to manage digital identities securely over the long term at a reasonable cost.
[0017] According to another aspect, there is provided a method implemented by at least one calculation unit for creating a plurality of digital identities comprising: deriving a public key for proof of the digital identity; obtaining a proof of the digital identity by applying a hash function to the public key for proof; generating a certificate of the digital identity comprising the proof, and an application public key associated with the digital identity.
[0018] According to another aspect, there is provided a method implemented by at least one computing unit for verifying a digital identity of subsequent index comprising: a reception of a certificate of a digital identity of index immediately prior to the subsequent index, said certificate of the digital identity of immediately prior index comprising: a proof of the digital identity of immediately prior index; an application public key associated with the digital identity of immediately prior index; a reception of a signed exchange certificate associated with the digital identity of subsequent index, said exchange certificate comprising: a digest of the certificate of the digital identity of immediately prior index; a private proof key of the digital identity of immediately prior index; a proof of the digital identity of subsequent index; an application public key associated with the digital identity of subsequent index;a verification of the validity of the exchange certificate, said verification of the validity of the exchange certificate comprising: a verification that the hash of the certificate of the digital identity of immediately prior index is identical to a hash obtained by applying a hash function to the certificate of the digital identity of immediately prior index; a verification that the proof of the digital identity of immediately prior index is identical to the application of a; hash function to the public proof key of the immediately prior index digital identity; a verification that the signature of the exchange certificate is a valid signature of the initial certificate with the immediately prior index proof private key.
[0019] According to another aspect, there is provided a computer program comprising instructions for implementing all or part of a method as defined herein when this program is executed by a processor. According to another aspect, there is provided a non-transitory, computer-readable recording medium on which such a program is recorded.
[0020] The features set out in the following paragraphs may, optionally, be implemented, independently of one another or in combination with one another:
[0021] Advantageously, the at least one computing unit is configured to derive the application public key from the proof public key.
[0022] This makes it possible to generate an application public key linked to the proof public key, while having the possibility of generating the corresponding application private key from the proof private key.
[0023] Advantageously, the public proof key is derived from a parent key and an index of the digital identity
[0024] This makes it possible to derive unique public proof keys for each index. The derivation of proof keys and generation of associated certificates can be done without having to communicate the parent key, which makes it possible to generate as many new proofs and associated certificates as necessary. This therefore makes it possible to ensure that the issuer using the application key is indeed the holder of the parent key.
[0025] Advantageously, the parent key is the public key of a pair of parent keys (par), said at least one calculation unit being configured to, prior to said derivation of the proof key, derive the pair of parent keys from a random seed engraved in a read-only memory of the device.
[0026] A "random seed" is a number used to initialize a pseudo-random number generator, for example a key generator.
[0027] In order to ensure the true randomness of the seed, the seed may be generated from the state of a physical system (e.g. based on a clock value read at the time of generation, or via a hardware random number generator).
[0028] This allows the parent key to be regenerated if necessary, in order to secure the key generation device in the long term. Since the generation is carried out from the random seed engraved in a memory of the device, the keys cannot be corrupted. without physically obtaining the device.
[0029] Advantageously, said at least one calculation unit is configured, after obtaining the proof and deriving the pair of application keys, to delete said public proof key.
[0030] By "deletion of said public proof key" is meant the deletion of any copy of the proof key from all memories where such a copy may have been copied.
[0031] Deleting the proof key prevents the proof key from being stored, and thus potentially compromised, while reserving the possibility of regenerating the proof key from the parent key and the digital identity index. This therefore further strengthens the security of key generation, while preserving the functionality of the system.
[0032] Advantageously, the digital identity is an initial digital identity associated with an initial index.
[0033] This allows an initial certificate to be published associated with an initial digital identity.
[0034] Advantageously, the digital identity is a subsequent digital identity; the certificate is an exchange certificate signed with the private proof key associated with the public proof key of the digital identity of index immediately prior to the subsequent index, said exchange certificate comprising: a digest obtained by applying a hash function to a certificate of the digital identity of the immediately prior index; the private proof key associated with the public proof key of the digital identity of the immediately prior index.
[0035] This makes it possible to publish an exchange certificate associated with a change of digital identity. The exchange certificate is linked to the immediately prior index identity certificate, and can be deterministically linked to it, since: - the presence of the digest of the immediately prior certificate allows a recipient to ensure that it is indeed the next certificate in the chain of successive certificates; - the publication of the private key of proof of immediately prior index allows a recipient to find the public key of proof of immediately prior index, and verify that: • the proof of the immediately prior certificate is indeed a digest of the public key of the immediately prior index; • the exchange certificate is properly signed with the private key of the immediately preceding index
[0036] In other words, an exchange certificate can only be validly issued by a person having at his disposal the private proof key of the immediately prior index. Such a certificate cannot therefore be issued by a third party, since, before its issue, neither the public proof key, nor a fortiori the private proof key, had been published.
[0037] Furthermore, since the exchange certificate is intended to replace the previous certificate, the publication at this stage of the private key of proof of previous index is not detrimental, since it is no longer intended to be used.
[0038] Advantageously, the public keys and the private keys are extended keys, and the at least one computing unit is configured to derive the keys by an extended key derivation using a HMAC type hash function.
[0039] "Extended key" means a pair between a key and a chain code, in which possession of the chain code is necessary to derive child keys.
[0040] The term "HMAC type hash function" (from the English "Hashed-Based Message Authentication Code") means a type of message authentication code that simultaneously verifies the integrity of the data and the authenticity of a message.
[0041] This type of function is for example described by Bellare, M., Canetti, R., & Krawczyk, H. (1996, August). Keying hash functions for message authentication. In Annual international cryptology conference (pp. 1-15). Springer, Berlin, Heidelberg. And Bellare, M., Canetti, R., & Krawczyk, H. (1996). Message authentication using hash functions: The HMAC construction. RSA Laboratories' CryptoBytes, 2(1), 12-15. An example of such a function is the HMAC-SHA512 key derivation algorithm used in the Bitcoin BIP32 specification.
[0042] Using extended key derivation via an HMAC-like hash function allows for the separate derivation of private and public keys of the same pair. For example, a child public key can be obtained from the parent public key only without having to generate the child private key, while the corresponding private key can be generated from the parent private key.
[0043] This further improves the security of key generation, as it is not even necessary to generate the private proof key to derive the public proof key.
[0044] Advantageously, the at least one computing unit is configured to obtain at least one of the public keys from at least one of the private keys and an elliptic curve.
[0045] The term "elliptic curve" (in English "Elliptic Curve Cryptography" or "ECC") refers to a set of cryptographic techniques using the properties of elliptic curves, in particular to deduce a public key from a private key. These algorithms include, for example, the ECDSA algorithm (from the English "Elliptic Curve Digital Signature Algorithm") described by Johnson, D., Menezes, A., & Vanstone, S. (2001). The elliptic curve digital signature algorithm (ECDSA). International journal of information security, 1(1), 36-63.
[0046] Using an elliptic curve makes it possible to obtain a public key from a private key, but makes the reverse operation practically impossible. This therefore makes it possible to regenerate private keys from public keys, without being able to find private keys from public keys. Brief description of the drawings
[0047] Other characteristics, details and advantages will appear on reading the detailed description below, and on analyzing the attached drawings, in which: Fig.
[0048] [Fig. 1a] shows an example of certificate exchange in a telecommunications system in which the invention can be implemented. Fig. 1b
[0049] [Fig.lb] shows an example of data exchange in a telecommunications system in which the invention can be implemented. Fig. 2
[0050] [Fig.2] shows an example of a portable computing device according to a mode of realization lization. Fig. 3
[0051] [Fig.3] shows an example method in a set of embodiments of the invention. Fig. 4
[0052] [Fig.4] shows a first example of generation of digital identities in a set of embodiments of the invention. Fig. 5
[0053] [Fig.5] shows a second example of generating digital identities in a set of embodiments of the invention. Fig. 6
[0054] [Fig.6] shows a plurality of certificates according to a set of embodiments. Fig. 7
[0055] [Fig.7] shows an example of verification of a digital identity by a certificate exchange according to one embodiment. Description of the embodiments
[0056] Reference is now made to [Fig. 1a].
[0057] [Fig. 1a] shows an example of a telecommunications system in which three users Utl, Ut2 and Ut3 communicate via 3 applications Appl, App2 and App3. The applications Appl, App2 and App3 can be any type of applications needed requiring secure data exchanges between authenticated users. For example, these may include applications for cryptocurrency transactions, secure payment, secure messaging, etc.
[0058] The user Utl is equipped with a smartphone Tell, on which the three applications Appl, App2 and App3 are installed, as well as a public key infrastructure manager PKI1.
[0059] User Ut2 is equipped with a smartphone Tel2 on which the three applications Appl, App2 and App3 are installed. User Ut2 uses a PKI2 infrastructure manager in a dedicated external PKI2 device that can connect to the smartphone Tel2. Thus, the management of the PKI infrastructure by user Ut2 is managed by the dedicated external PKI2 device, and not by the smartphone Tel2.
[0060] Such a configuration strengthens the security of the digital identity of the user Ut2, because the management of his digital identities is carried out by dedicated hardware. In addition, the management of digital identities can then implement a random seed PKey2 engraved in the external PKI2 device, and therefore inviolable as long as the user Ut2 is in possession of the PKI2 device.
[0061] The user Ut3 is equipped with a smartphone Tel3, on which the applications Appl, and App3 are installed, as well as a public key infrastructure manager PKK. The user Ut3 is also equipped with a fixed computer Ord3 connected to the smartphone Tel3, on which the application App2 is installed.
[0062] The infrastructure managers PKI1, PKK, and PKI3 are in communication with each other. This allows users Utl, Ut2 and Ut3: - to issue certificates to authenticate their digital identity; - to verify certificates issued by other users.
[0063] A system such as the Sys system therefore allows decentralized management of digital identities, in which each user publishes the certificates relating to their digital identity, and verifies the validity of the certificates issued by third parties.
[0064] In addition, the certificates may include application public keys linked to the different applications Appl, App2 and App3.
[0065] Reference is now made to [Fig. lb].
[0066] [Fig.lb] shows an example of data exchange in the Sys system already shown in [Fig.la].
[0067] [Fig.lb] shows more particularly an example of data exchange in the Sys system, in which: - the application App3 of the user Utl communicates with the application App3 of the user Ut2 on the telephone Tel2; - the application Appl of user Utl communicates with the application Appl of user Ut3 on the telephone Tel3; - the application Appl of user Ut2 on the phone Tel2 communicates with the application Appl of user Ut3 on the phone Tel3; - the application App2 of user Ut2 on the phone Tel2 communicates with the application App2 of user Ut3 on the computer Ord3.
[0068] As indicated above, the issued certificates may include public application keys. For example, the PKI2 infrastructure manager may issue a certificate for the user Ut2 and the application Appl, including a public key for the application Appl, and proof of the identity of the user Ut2, and transmit this certificate to Ut3. Ut3 may thus: - verify the identity of Ut2; - use the public key of the application Appl to communicate securely with Ut2, it being understood that Ut2 has the application private key associated with the public key.
[0069] As will be explained in more detail below, a public key infrastructure according to the invention thus makes it possible both to verify the identity of a user, and to validate that the application key used by an application is indeed linked to his identity.
[0070] The exchange and verification of certificates shown in [Fig.1a] allows the applications of different users to communicate securely, as shown in [Fig.1b].
[0071] [Fig.2] shows an example of a portable computing device according to one embodiment.
[0072] The Disp device is a device for creating a plurality of digital identities. It may, for example, be the PKI2 infrastructure manager.
[0073] In the example of [Fig.2], the device is a USB key, which can be used to create digital identities when connected to a user device such as a tablet, computer or smartphone.
[0074] For this purpose, the device Disp comprises a calculation unit Cale configured to execute all or part of the steps of a method according to the invention.
[0075] In a set of embodiments of the invention, the device Disp may also comprise one or more memories Mem storing at least one private key PKey used for the generation of keys and certificates.
[0076] The device Disp may in particular comprise at least one read-only memory in which a random seed is recorded for generating keys.
[0077] This makes it possible to make the keys stored on the device tamper-proof as long as the device is in the user's possession, in particular when a random seed engraved in a read-only memory serves as the basis for generating the keys. For example, if the Disp device is a USB key, the user can store the USB key in a secure safe, and only remove it from the safe when new keys and new certificates must be regenerated.
[0078] Although the device shown in [Fig.2] is a USB key, the invention is in no way limited to this example. Other portable devices could be used, such as for example a smart card, or computer card.
[0079] Although [Fig.2] shows an example of a device specifically dedicated to the creation of a plurality of digital identities, the invention is not limited to this example. For example, according to the invention, digital identities can also be created by a digital identity manager installed on a non-specific device, for example a smartphone.
[0080] Reference is now made to [Fig.3].
[0081] [Fig.3] shows an example method in a set of embodiments of the invention.
[0082] Method P3 is a method for creating a plurality of digital identities implemented by at least one calculation unit, for example the Cale calculation unit.
[0083] The method P3 comprises at least three steps S32, S33 and S36 implemented for the creation of each digital identity.
[0084] Steps S32, S33 and S36 are described below in the context of creating a digital identity.
[0085] Step S32 is a step of deriving a public key for proof of digital identity. This derivation can be done from a value obtained in different ways. For example, the derivation can be done: - from a random number generated by a random number generator or “RNG” (Random Number Generator); - from a parent key and a digital identity index.
[0086] Step S33 is a step of obtaining proof of the digital identity by applying a hash function to the public proof key.
[0087] Different types of hash functions can be used. For example, a SHA-256 type hash function can be used to obtain the proof. Thus, the proof is the digest of applying the hash function to the proof public key.
[0088] Step S36 is a step of generating a certificate of the digital identity comprising the proof, and an application public key associated with the digital identity.
[0089] The application public key is a public key of a key pair used by an application, and linked to the digital identity. For example, the holder of the digital identity may also possess the application private key associated with the application public key, which allows him to communicate securely with third parties for a given application, while allowing third parties to make the link between the keys used and the digital identity of the user.
[0090] Thus, the identity certificate and the application key are linked to the proof, and the certificate allows a third party to ensure that the identity is valid, and that the public key is indeed associated with this identity, which allows secure transactions.
[0091] Furthermore, in case of doubt as to the integrity of the application private key linked to the application public key, a single new certificate must be generated, comprising a private key of a new application key pair, without the need to rebuild an entire public key infrastructure. The P3 method therefore makes it possible to manage digital identities securely over the long term at a reasonable cost.
[0092] As highlighted above, not all of the steps shown in [Fig.3] are essential to the invention. Thus, for example, steps S31, S34, S35 and S37 may only be implemented in certain embodiments of the invention.
[0093] Reference is now made to [Fig.4].
[0094] [Fig.4] shows an example of digital identity generation in which the public proof keys and application keys are derived from a random number generator.
[0095] [Fig.4] shows more precisely the generation of three digital identities ID40, ID41 and ID4N.
[0096] In this example the generation of each digital identity ID40, ID41 and ID4N includes: - the derivation, from a random number generator RNG, of a public key for proof of digital identity, respectively prvK40, prvK41, prvK4N; - obtaining proof of digital identity, respectively prvK40, prvK41, prvK4N, by applying a hash key to the public proof key, respectively prv40, prv41, prv4N; - the generation of a certificate including the proof, respectively prv40, prv41, prv4N, and an application key, respectively appk40, appk41, appK4N.
[0097] This therefore allows at each stage to obtain unique proof of identity keys, proof of identity and application key.
[0098] Returning to [Fig.3], method P3 may optionally comprise several additional steps or embodiments.
[0099] In some embodiments of the invention, some of the public or private keys (e.g., proof keys and application keys) are extended keys, and the keys may be derived from each other through extended key derivation.
[0100] Extended key derivation allows to derive separately, from a parent public key / private key pair, a child public key / private key pair: the child public key can be derived from the parent public key (or the private key parent), but the corresponding child private key must be derived from the parent private key.
[0101] Thus, the child public key can be derived from the parent public key without having to generate the child private key at any time, but it remains possible if necessary to derive the child private key from the parent private key.
[0102] Extended key derivation may for example use a HMAC type hash function.
[0103] In addition, a private key and a public key of the same pair can be linked together by an elliptic curve. They can for example be linked by the ECDSA algorithm (Elliptic Curve Digital Signature Algorithm).
[0104] Other algorithms may be implemented to link public keys and private keys. For example, they may be linked by the Schnorr algorithm.
[0105] This makes it possible to derive the public key of a pair from the public key and the elliptic curve, but it is in practice impossible to derive the private key from the public key. This therefore makes it possible to regenerate public keys from private keys if necessary, without allowing holders of a public key to find the corresponding private key.
[0106] Method P3 can thus comprise a step P34 of deriving the application public key from the proof public key.
[0107] This makes it possible to generate an application public key linked to the proof public key, while having the possibility of generating the corresponding application private key from the proof private key, in particular if the proof keys and application keys are extended keys. The generation of the private key is then not necessary at the time of certificate generation, which makes it possible to greatly limit the risk of theft of a private key.
[0108] The public proof key can itself be derived from a parent key and an index of the digital identity.
[0109] Thus, a unique proof key can be generated for each index, which makes it possible to generate as many new proofs and associated certificates as necessary. The generation and publication of certificates can thus be done without having to communicate the parent key, but makes it possible to ensure that the issuer using the application key is indeed the holder of the parent key.
[0110] A first identity may thus have been generated with an initial index, then, for each new identity and new certificate to be generated, the index may be incremented at step S37, before returning to step S32 for the generation of the keys and certificate associated with the identity.
[0111] In other embodiments, the application or proof public key may be generated from other sources of entropy, such as the generator of random numbers RNG in the example of [Fig.4].
[0112] The parent key may itself be the public key of a pair of parent keys. In this case, the method P3 may comprise a prior step S31 of deriving the pair of parent keys from a random key recorded in a read-only memory of a device such as the device Disp shown in [Fig.2].
[0113] Thus, the parent key can be regenerated as needed from the random seed, but cannot be corrupted without physically obtaining the Disp device. This helps secure the public key architecture in the long term, as the set of keys can only be regenerated by the person in physical possession of the Disp device.
[0114] Another optional step is step S35 consisting of deleting, at the end of step S33 or S34, the public proof key.
[0115] Indeed, when the public proof key is generated from a parent key, it can be regenerated at any time, for example from the parent key and the index of the digital identity. It can therefore be deleted after having been used to obtain the proof of the digital identity, and / or after having been used to derive the application key.
[0116] Thus, there is no need to store the proof key, which limits the risks of it being compromised.
[0117] Reference is now made to [Fig.5].
[0118] [Fig.5] shows a second example of generating digital identities in a set of embodiments of the invention.
[0119] [Fig.5] shows the generation of digital identities ID50, ID51 and ID52.
[0120] In the example of [Fig.5]: - a random seed gm is generated from a random number generator; - a parent public key is generated from the random seed; - for each of the identities ID50, ID51 and ID5N respectively: • the public proof key prvK50, prvK51, prvK5N is derived from the parent public key by, and an index of each digital identity (respectively 0, 1 and N for the identities ID50, ID51 and ID5N; • the proof prv50, prv51, prv5N is obtained by hashing the public proof key prvK50, prvK51, prvK5N; • the application public key appK50, appK51, appK5N is obtained by derivation of the proof public key prvK50, prvK51, prvK5N; • a digital identity certificate is generated and published, each time including the application public key appK50, appK51, appK5N, and proof prv50, prv51, prv5N.
[0121] [Fig.5] shows the dependency relationships between the different keys by arrows.
[0122] It can be noted here that: Thanks to the principle of extended key derivation, it is not necessary for certificate generation and publication to generate a private key, only public keys can be generated. This therefore makes it possible not to generate or store a private key at the time of certificate publication; all public and private keys can be regenerated from the parent key and the digital identity index.
[0123] Reference is now made to [Fig.6].
[0124] [Fig.6] shows a plurality of certificates according to a set of embodiments.
[0125] According to different embodiments of the invention, different digital identities can be considered: an initial digital identity is associated with an initial certificate; a subsequent digital identity, which can be associated with a new initial certificate, or an exchange certificate.
[0126] For example, in the example in [Fig.4]: an initial digital identity ID40 is associated with an initial certificate; subsequent digital identities ID41 ... ID4N can each be associated with an initial certificate, or with an exchange certificate recording the replacement of a digital identity by a new identity.
[0127] Using an exchange certificate allows the digital identity to be replaced with a new digital identity, for example if an application private key is compromised.
[0128] [Fig.6] represents: an initial C6 certificate of an initial C60 identity; and two exchange certificates (or “swapping certificates” in English) C61 and C62 of two subsequent digital identities ID61 and ID62.
[0129] The publication of each exchange certificate has the effect of revoking the previous certificate, and replacing it with the exchange certificate. For example, when the holder of identities ID60, ID61 and ID62 publishes exchange certificate C61, digital identity ID60 must no longer be used and must be replaced by digital identity ID61; when the holder of identities ID60, ID61 and ID62 publishes exchange certificate C62, digital identity ID61 must no longer be used and must be replaced by digital identity ID62, etc.
[0130] The initial certificate C60 contains a prv60 proof of identity, and an application key appK60.
[0131] The exchange certificate C61 contains a proof prvôl of identity, and an application key appKôl, which can be obtained for example according to the embodiments presented in figures 4 and 5.
[0132] The C61 exchange certificate also contains: - a cnd6 digest obtained by applying a hash function to the C60 certificate of the digital identity ID60; - the private proof key prvKôO associated with the public proof key of identity ID60; - a signature of the certificate with the private key prvKôO.
[0133] The holder of the C61 identity can therefore generate an exchange certificate such as the C61 certificate in the following manner: - by generating the proof prvôl and the application public key appKôl; - by applying a hash function to the C60 certificate to obtain the cndôO digest; - by inserting the proof private key prvKôO into the certificate. In some embodiments of the invention, it is possible that at this stage the proof private key prvKôO has been erased, or has not been generated. In this case, the holder of the digital identities can generate prvKôO, for example by deriving the parent private key by; - by signing the certificate with the private key prvKôO.
[0134] Such an exchange certificate makes it possible to secure the exchange of digital identities in several ways.
[0135] First of all, the presence of the condensate of the immediately preceding certificate makes it possible to establish a chain of certificates, and to ensure that the C61 certificate actually replaces the C60 certificate.
[0136] Furthermore, the publication of the private proof key prvKôO, and the signature sig61 of the certificate by the private proof key prvKôO make it possible to ensure that only the person validly in possession of the private proof key prvKôO (i.e. the holder of the identity ID60) can generate and publish the certificate C61. The proof prv60 can also be found using the private proof key prvKôO, by deriving the corresponding public proof key, then by applying a hash function to the public proof key. Thus, a third party can ensure that the private proof key prvKôO corresponds to the same identity.
[0137] Thus, the publication of the private proof key prvKôO is done only when the holder needs it, i.e. to allow the publication of an exchange certificate proving with certainty the link between the digital identities. The publication of the exchange certificate C61 also having the effect that the identity C60, and therefore the application key appK60 can no longer be used, the publication of the private proof key prvK60 is not detrimental.
[0138] The use of hash improves traceability during the exchange. The publication of the private key is done only when a user needs it, in particular in the case where different certificates are necessary for different applications. This is the important point of differentiation with the X509 standard where the publication of the CA (Certificate of Authority) is necessary, that is to say that in the X.509 standard the authority certificate must be known to verify the validity of the signed certificates, whereas, in the context of the invention, the publication is done only when needed, for example at the time of the exchange. This makes the system of the invention simpler to use, because there is no need to synchronize root certificates.
[0139] Following publication of the C61 exchange certificate, the holder of the C61 identity will be able to communicate with third parties using the public application key appKôl, and the corresponding private key.
[0140] If a new identity exchange is necessary, the holder of the identities ID60 and ID61 can generate a new exchange certificate C62 comprising, on the same principle as the certificate C61: - the cndôl condensate of certificate C61; - proof prv62 of the new identity ID62; - the private proof key prvKôl associated with the identity ID61; - the public application key appK62 of the new identity ID62; - a sig62 signature of the certificate, by the private proof key prvKôl.
[0141] It is thus possible to generate as many exchange certificates as necessary. Exchange certificates thus make it possible to replace digital identities as soon as necessary (for example, by period and / or when a key linked to an identity is compromised). Exchange certificates therefore allow secure and inexpensive management of digital identities.
[0142] Reference is now made to [Fig.7].
[0143] [Fig.7] shows an example of verification of a digital identity by a exchange certificate according to one embodiment.
[0144] Method P7 is a method for verifying a digital identity of subsequent index, for example the digital identity ID61 or ID62. Method P7 can be implemented by a third party wishing to verify the validity of an exchange certificate. For example, if the certificate to be verified is issued by the PKI2 manager, method P7 can be implemented by the PKI1 or PKI3 manager.
[0145] This method comprises the following steps: - a step S70 of receiving the certificate of the immediately preceding index identity. For example, this may be the receipt of certificate C60 or C61; - a step S71 of receiving the certificate of the subsequent index digital identity, for example the certificate C61 or C62; - a step S72 for verifying the validity of the exchange certificate.
[0146] Step S72 itself comprises 3 sub-steps: - a verification that the hash of the certificate of the digital identity of the immediately preceding index is identical to a hash obtained by applying a hash function to the certificate of the digital identity of the immediately preceding index. For example, if the exchange certificate to be verified is the C62 certificate, this step consists of verifying that the hash cndôl included in the certificate is indeed identical to the application of the hash function (for example SHA256, or any other hash function) to the C61 certificate; - a verification that the proof of the digital identity of the immediately preceding index is identical to the application of a hash function to the public proof key of the digital identity of the immediately preceding index. For example, if the exchange certificate to be verified is the C62 certificate, this step consists of verifying that the proof prvôl included in the C61 certificate is indeed equal to the application of a hash function to the public key obtained by derivation of the private key prvK61 included in the C62 certificate; - a verification that the signature of the exchange certificate is a valid signature of the initial certificate with the immediately prior proof of index private key. For example, if the exchange certificate to be verified is the C62 certificate, this step consists of verifying that the sig62 signature is indeed a signature of the C62 certificate by the prvK61 key.
[0147] If multiple exchange certificates have already been issued, verification may be performed iteratively across multiple certificates. For example, if the certificate to be verified is certificate C62 and certificate C61 has not yet been verified, the verification method may include verifying certificate C61 and then certificate C62.
[0148] The present disclosure is not limited to the examples of method, computer program and device described above, only by way of example, but it encompasses all the variants that may be envisaged by those skilled in the art within the framework of the protection sought.
Claims
Claims
1. Portable computing device (Disp; PKI2; Tel3) for creating a plurality of digital identities (ID40; ID41; ID42; ID50; ID51; ID52; ID60; ID61; ID62) comprising at least one computing unit (Cale) configured, for each digital identity of said plurality of digital identities, to: - derive (S32) a public key for proof of the digital identity (prvK40; prvK41, prvK4N, prvK50; prvK51, prvK5N); - obtaining (S33) a proof of the digital identity (prv40; prv41, prv4N, prv50; prv51; prv5N; prv60; prvôl; prv62) by applying a hash function to the proof public key (prvK40; prvK41, prvK4N, prvK50; prvK51, prvK5N); - generating (S36) a certificate (C60, C61, C62) of the digital identity comprising the proof, and an application public key associated with the digital identity (appK40; appK41, appK4N, appK50; appK51, appK5N, appK60; appKôl, appK62).
2. Device according to claim 1, wherein the at least one computing unit is configured to derive (S34) the application public key from the proof public key.
3. Device according to one of claims 1 or 2, in which the public proof key is derived from a parent key (par) and an index (Ind) of the digital identity.
4. Device according to claim 3, in which the parent key is the public key of a pair of parent keys (par), said at least one computing unit being configured to, prior to said derivation of the proof key, derive (S31) the pair of parent keys from a random seed (grn) engraved in a read-only memory of the device.
5. Device according to any one of the preceding claims, in which said at least one computing unit is configured, after obtaining the proof and deriving the application key pair, to delete (S35) said public proof key.
6. A device according to any preceding claim, in which the digital identity is an initial digital identity (ID40, ID50, ID60) associated with an initial index.
7. Device according to any one of claims 1 to 5, in which: - the digital identity is a subsequent digital identity (ID41, ID4N, ID51, ID5N, ID61, ID62); - the certificate is an exchange certificate signed with the private proof key associated with the public proof key of the digital identity of index immediately prior to the subsequent index, said exchange certificate comprising: • a condensate (cnd60, cndôl) obtained by applying a hash function to a certificate of the digital identity of the immediately prior index; • the private proof key associated with the public proof key of the digital identity of the immediately prior index.
8. A device according to any preceding claim, wherein the public keys and the private keys are extended keys, and the at least one computing unit is configured to derive the keys by extended key derivation using an HMAC type hash function.
9. A device according to any preceding claim, wherein the at least one computing unit is configured to obtain at least one of the public keys from at least one of the private keys and an elliptic curve.
10. Method (P3) implemented by at least one calculation unit for creating a plurality of digital identities (ID40; ID41; ID42; ID50; ID51; ID52; ID60; ID61; ID62) comprising: - the derivation (S32) of a public key for proof of the digital identity (prvK40; prvK41, prvK4N, prvK50; prvK51, prvK5N); - obtaining (S33) a proof of the digital identity (prv40; prv41, prv4N, prv50; prv51; prv5N; prv60; prvôl; prv62) by applying a hash function to the public proof key (prvK40; prvK41, prvK4N, prvK50; prvK51, prvK5N); - generating (S36) a certificate (C60, C61, C62) of the digital identity including the proof, and an application public key associated with the digital identity (appK40; appK41, appK4N, appK50; appK51, appK5N, appKôO; appKôl, appK62).
11. Method (P7) implemented by at least one calculation unit for verifying a digital identity of subsequent index (ID61, ID62) comprising: - a reception (S70) of a certificate (C60, C61) of a digital identity of index immediately prior to the subsequent index (ID60, ID61), said certificate of the digital identity of immediately prior index comprising: • proof of the digital identity of immediately prior index (prv60, prvôl); • an application public key associated with the digital identity of the immediately preceding index (appKôO, appKôl); - a reception (S71) of a signed exchange certificate (C61, C62) associated with the subsequent index digital identity, said exchange certificate comprising: • a condensate (cndôO, cndôl) of the certificate of the digital identity of the immediately preceding index; • a private proof key (prvKôO, prvKôl) of the digital identity of the immediately preceding index; • proof of the subsequent index digital identity (prvôl, prv62); • an application public key associated with the subsequent index digital identity (appKôl, appK62); - a verification (S72) of the validity of the exchange certificate, said verification of the validity of the exchange certificate comprising: • a verification that the hash of the certificate of the digital identity of the immediately preceding index is identical to a hash obtained by applying a hash function to the certificate of the digital identity of the immediately preceding index prior; • a verification that the proof of the immediately prior index digital identity is identical to the application of a hash function to the public proof key of the immediately prior index digital identity; • a verification that the signature of the exchange certificate is a valid signature of the initial certificate with the immediately prior proof of index private key.
12. Computer program comprising instructions for implementing the method according to one of claims 9 and 10 when this program is executed by a processor.
