Derivation of proof keys for public key infrastructure management
The use of hash functions and extended key derivation algorithms in a portable device allows for secure and cost-effective management of digital identities by deriving proof keys without the need to regenerate the entire PKI infrastructure, addressing the high costs and complexity of existing PKI management systems.
Patent Information
- Application Number
- PCT/EP2024/059972
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-14
- Filing Date
- 2024-04-12
- Publication Date
- 2024-10-17
AI Technical Summary
The high cost and complexity of managing a public key infrastructure (PKI) due to the need to regenerate the entire infrastructure in case of private key compromise, especially in decentralized identity systems where individuals bear the maintenance costs, necessitate a more cost-effective and secure method for long-term digital identity management.
A portable computing device with a calculation unit that derives proof keys for digital identities using hash functions and extended key derivation algorithms, allowing the generation of child public keys without the parent private key, enabling secure and efficient management of digital identities by regenerating only the necessary keys and certificates without rebuilding the entire infrastructure.
This approach enables secure, long-term management of digital identities at a lower cost by allowing unique proof keys to be derived for each index, ensuring the issuer is the parent key holder, and securely regenerating keys without compromising the system's functionality or integrity.
Smart Images

Figure EP2024059972_17102024_PF_FP_ABST
Abstract
Description
Description Title: Derivation of proof keys for the management of a public key infrastructure Technical field
[0001] This 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 (PKIs) standardized by the ITU X.509 recommendation. In 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 who has 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 compromised, 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 "Decentralized ID") consists of giving individuals control over the information they use to authenticate themselves. The costs of maintaining a reliable PKI are therefore 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 lifecycle, in particular by avoiding the need to re-generate the entire infrastructure in the event of a private key being compromised. Summary
[0006] This 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 proof public key of the digital identity; obtain proof of the digital identity by applying a hash function to the proof public 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 read-only memory, random access memory, volatile memory or 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] "Deriving a key" means generating a child key from a number, for example a parent key or a random number. Various 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" is defined as data that allows any third party to verify digital identity. Proof can sometimes be called a "commitment."
[0014] An "application public key" is 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 application key pair, without the need to rebuild 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 computing 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 hash 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 the immediately prior index is identical to a hash obtained by applying a hash function to the certificate of the digital identity of the immediately prior index; a verification that the proof of the digital identity of the immediately prior index is identical to applying a hash function to the public proof key of the digital identity of the immediately prior index; a verification that the signature of the exchange certificate is a valid signature of the initial certificate with the private proof key of the immediately prior index.;
[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 each other or in combination with each other:
[0021] Advantageously, the at least one computing unit is configured to derive the application public key from the proof public key.
[0022] This allows the generation of 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 allows for the derivation of unique public proof keys for each clue. The derivation of proof keys and generation of associated certificates can be done without having to communicate the parent key, which allows for the generation of as many new proofs and associated certificates as necessary. This therefore ensures 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 computing 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, such as a key generator.
[0027] To ensure the true randomness of the seed, the seed can be generated from the state of a physical system (e.g. based on a clock value read at generation time, or via a hardware random number generator).
[0028] This allows the parent key to be regenerated as needed, to secure the key generation device in the long term. Since the generation is done 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 computing unit is configured, after obtaining the proof and deriving the application key pair, to delete said public proof key.
[0030] "Deletion of said public proof key" means 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 you to publish an initial certificate 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 the 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 allows the publication of an exchange certificate associated with a change of digital identity. The exchange certificate is linked to the identity certificate of the immediately prior index, and can be linked deterministically to it, since: the presence of the hash 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 the proof of the immediately prior index allows a recipient to retrieve the public key of the proof of the immediately prior index, and verify that: o the proof of the immediately prior certificate is indeed a hash of the public key of the immediately prior index; o the exchange certificate is indeed signed with the private key of the immediately prior index
[0036] In other words, an exchange certificate can only be validly issued by a person who has 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 extended key derivation using an HMAC type hash function.
[0039] An "extended key" is a pair of a key and a chaincode, in which possession of the chaincode is required to derive child keys.
[0040] A "Hashed-Based Message Authentication Code" (HMAC) is a type of message authentication code that simultaneously verifies the integrity of 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 from the same pair. For example, a child public key can be derived from only the parent public key 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] Elliptic curve cryptography (ECC) refers to a set of cryptographic techniques that use the properties of elliptic curves, particularly to derive a public key from a private key. Examples of such algorithms include the Elliptic Curve Digital Signature Algorithm (ECDSA) 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 allows you 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 recover private keys from public keys. Brief description of the drawings
[0047] Other features, details and advantages will become apparent upon reading the detailed description below, and upon analyzing the attached drawings, in which: Fig. 1a
[0048] [Fig. 1 a] shows an example of certificate exchange in a telecommunications system in which the invention can be implemented. Fig. 1b
[0049] [Fig. 1 b] 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 one embodiment. Fig. 3
[0051] [Fig. 3] shows an exemplary method in a set of embodiments of the invention. Fig. 4
[0052] [Fig. 4] shows a first example of generating 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 an exchange certificate according to one embodiment. Description of the embodiments
[0056] Reference is now made to Figure 1a.
[0057] Figure 1a shows an example of a telecommunication system in which three users Ut1, Ut2 and Ut3 communicate via 3 applications App1, App2 and App3. The applications App1, App2 and App3 can be any type of applications requiring secure data exchanges between authenticated users. For example, they can be applications for performing cryptocurrency transactions, secure payment, secure messaging, etc.
[0058] User Ut1 is equipped with a smartphone Tell , on which the three applications App1 , App2 and App3 are installed, as well as a public key infrastructure manager PKI1 .
[0059] User Ut2 is equipped with a Tel2 smartphone on which the three applications App1, App2 and App3 are installed. User Ut2 uses a PKI2 infrastructure manager in a dedicated external PKI2 device that can connect to the Tel2 smartphone. Thus, the management of the PKI infrastructure by user Ut2 is managed by the dedicated external PKI2 device, and not by the Tel2 smartphone.
[0060] Such a configuration strengthens the security of the Ut2 user's digital identity, because the management of their digital identities is carried out by dedicated hardware. In addition, the digital identity management can then implement a random PKey2 seed engraved in the external PKI2 device, and therefore inviolable as long as the Ut2 user is in possession of the PKI2 device.
[0061] User Ut3 is equipped with a smartphone Tel3, on which the applications App1 and App3 are installed, as well as a public key infrastructure manager PKI3. User Ut3 is also equipped with a fixed Ord3 computer connected to the Tel3 smartphone, on which the App2 application is installed.
[0062] The infrastructure managers PKI1, PKI2, and PKI3 are in communication with each other. This allows users Ut1, Ut2, and Ut3: to issue certificates to authenticate their digital identity; to verify the 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] Additionally, certificates may include application public keys related to the different applications App1, App2 and App3.
[0065] Reference is now made to Figure 1b.
[0066] Figure 1 b shows an example of data exchange in the Sys system already shown in Figure 1 a.
[0067] Figure 1 b shows more specifically an example of data exchange in the Sys system, in which: the application App3 of the user Ut1 communicates with the application App3 of the user Ut2 on the telephone Tel2; the application App1 of the user Ut1 communicates with the application App1 of the user Ut3 on the telephone Tel3; the application App1 of the user Ut2 on the telephone Tel2 communicates with the application App1 of the user Ut3 on the telephone Tel3; the application App2 of the user Ut2 on the telephone Tel2 communicates with the application App2 of the user Ut3 on the computer Ord3.
[0068] As indicated above, the issued certificates may include public application keys. For example, the PKI infrastructure manager2 may issue a certificate for the user Ut2 and the application App1 , including a public key for the application App1 , 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 App1 to communicate securely with Ut2, given that Ut2 possesses 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 Figure 1a allows applications of different users to communicate securely, as shown in Figure 1b.
[0071] Figure 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 can, for example, be the PKI2 infrastructure manager.
[0073] In the example in Figure 2, the device is a USB flash drive, 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 Cale calculation unit 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 include one or more memories Mem storing at least one private key PKey used for the generation of keys and certificates.
[0076] The Disp device may in particular comprise at least one read-only memory in which a random seed is engraved for generating keys.
[0077] This makes the keys stored on the device tamper-proof while the device is in the user's possession, especially when a random seed engraved in a read-only memory serves as the basis for key generation. For example, if the Disp device is a USB flash drive, the user can store the USB flash drive in a secure vault, and only remove it from the vault when new keys and certificates need to be regenerated.
[0078] Although the device shown in Figure 2 is a USB key, the invention is in no way limited to this example. Other portable devices could be used, such as a smart card or computer card.
[0079] Although Figure 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 Figure 3.
[0081] Figure 3 shows an example method in a set of embodiments of the invention.
[0082] Method P3 is a method of creating a plurality of digital identities implemented by at least one computing unit, for example the Cale computing unit.
[0083] Method P3 includes 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 the 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 an index of the digital identity.
[0086] Step S33 is a step of obtaining proof of digital identity by applying a hash function to the proof public 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 in 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 them to communicate securely with third parties for a given application, while allowing third parties to link the keys used to the user's digital identity.
[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, if there is any doubt about the integrity of the application private key linked to the application public key, a single new certificate must be generated, including 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 Figure 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 Figure 4.
[0094] Figure 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] Figure 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 comprises: the derivation, from a random number generator RNG, of a public key for proof of the digital identity, respectively prvK40, prvK41, prvK4N; obtaining a proof of the digital identity, respectively prvK40, prvK41, prvK4N, by applying a hash key to the public key for proof, respectively prv40, prv41, prv4N; generating a certificate comprising 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 Figure 3, method P3 may optionally include 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 a child public / private key pair to be derived separately from a parent public key / private key pair: the child public key can be derived from the parent public key (or the parent private key), 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 needing to generate the child private key at any time, but it is still possible to derive the child private key from the parent private key if necessary.
[0102] Extended key derivation can for example use an HMAC-like hash function.
[0103] Additionally, a private key and a public key of the same pair can be linked together by an elliptic curve. For example, they can be linked by the ECDSA algorithm (Elliptic Curve Digital Signature Algorithm).
[0104] Other algorithms can be implemented to bind public and private keys. For example, they can be bound by the Schnorr algorithm.
[0105] This allows the public key of a pair to be derived from the public key and the elliptic curve, but it is practically impossible to derive the private key from the public key. This therefore allows public keys to be regenerated from private keys if necessary, without allowing holders of a public key to find the corresponding private key.
[0106] Method P3 can thus include a step P34 of deriving the application public key from the proof public key.
[0107] This allows the generation of 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, particularly 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 greatly limits 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] This allows a unique proof key to be generated for each clue, allowing for the generation of as many new proofs and associated certificates as needed. Certificate generation and publication can thus be done without having to communicate the parent key, but ensures that the issuer using the application key is indeed the holder of the parent key.
[0110] A first identity can thus have been generated with an initial index, then, for each new identity and new certificate to be generated, the index can 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 random number generator RNG in the example of Figure 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 Figure 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 proof public 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 risk of it being compromised.
[0117] Reference is now made to Figure 5.
[0118] Figure 5 shows a second example of generating digital identities in a set of embodiments of the invention.
[0119] Figure 5 shows the generation of digital identities ID50, ID51 and ID52.
[0120] In the example of Figure 5: a random seed grn 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: o the proof public 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; o the proof prv50, prv51, prv5N is obtained by hashing the proof public key prvK50, prvK51, prvK5N; o the application public key appK50, appK51, appK5N is obtained by deriving the proof public key prvK50, prvK51, prvK5N; o a certificate of the digital identity is generated and published, comprising each time the application public key appK50, appK51, appK5N, and the proof prv50, prv51, prv5N.
[0121] Figure 5 shows the dependency relationships between 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 Figure 6.
[0124] Figure 6 shows a plurality of certificates according to one 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 Figure 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 with 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] Figure 6 represents: an initial certificate C6 of an initial identity C60; 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 C60 certificate contains a prv60 proof of identity, and an appK60 application key.
[0131] The exchange certificate C61 contains a proof prv61 of identity, and an application key appK61, which can be obtained for example according to the embodiments presented in figures 4 and 5.
[0132] The exchange certificate C61 further contains: a hash cnd6 obtained by applying a hash function to the certificate C60 of the digital identity ID60; the private proof key prvK60 associated with the public proof key of the identity ID60; a signature of the certificate with the private key prvK60.
[0133] The holder of the identity C61 can therefore generate an exchange certificate such as the certificate C61 in the following way: by generating the proof prv61 and the application public key appK61; by applying a hash function to the certificate C60 to obtain the digest cnd60; by inserting the proof private key prvK60 into the certificate. In some embodiments of the invention, it is possible that at this stage the proof private key prvK60 has been erased, or has not been generated. In this case, the holder of the digital identities can generate prvK60, for example by deriving the parent private key by; by signing the certificate with the private key prvK60.
[0134] Such an exchange certificate allows the exchange of digital identities to be secured in several ways.
[0135] First of all, the presence of the digest 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 prvK60, and the signature sig61 of the certificate by the private proof key prvK60 ensure that only the person validly in possession of the private proof key prvK60 (i.e. the holder of the identity ID60) can generate and publish the certificate C61. The proof prv60 can also be retrieved using the private proof key prvK60, by deriving the corresponding public proof key, and then applying a hash function to the public proof key. Thus, a third party can ensure that the private proof key prvK60 corresponds to the same identity.
[0137] Thus, the publication of the private proof key prvK60 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. Since the publication of the exchange certificate C61 also has 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, especially in the case where different certificates are required 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 easier to use, because there is no need to synchronize root certificates.
[0139] After the 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 appK61 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 digest cnd61 of the certificate C61; the proof prv62 of the new identity ID62; the proof private key prvK61 associated with the identity ID61; the application public key appK62 of the new identity ID62; a signature sig62 of the certificate, by the proof private key prvK61.
[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 Figure 7.
[0143] Figure 7 shows an example of verification of a digital identity by an exchange certificate according to one embodiment.
[0144] Method P7 is a method for verifying a subsequent index digital identity, for example, 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 PKI2 manager, method P7 can be implemented by 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 certificate C61 or C62; a step S72 of 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 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. For example, if the exchange certificate to be verified is the certificate C62, this step consists of verifying that the hash cnd61 included in the certificate is indeed identical to the application of the hash function (for example SHA256, or any other hash function) to the certificate C61; 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 digital identity of immediately prior index.For example, if the exchange certificate to be verified is the C62 certificate, this step consists of verifying that the proof prv61 included in the C61 certificate is indeed equal to the application of a hash function to the public key obtained by deriving 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 proof private key of immediately prior index. For example, if the exchange certificate to be verified is the C62 certificate, this step consists of verifying that the signature sig62 is indeed a signature of the C62 certificate by the key prvK61 .
[0147] If multiple exchange certificates have already been issued, verification can be performed iteratively across multiple certificates. For example, if the certificate to be verified is the C62 certificate and the C61 certificate has not yet been verified, the verification method might include verifying the C61 certificate and then verifying the C62 certificate.
[0148] This disclosure is not limited to the examples of method, computer program and device described above, solely 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; prv61; 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; appK61, 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, wherein 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. Device according to any one of the preceding claims, 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, wherein: 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: o a digest (cnd60, cnd61) obtained by applying a hash function to a certificate of the digital identity of the immediately prior index; o 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: deriving (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; prv61; 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; appK61, 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: o a proof of the digital identity of immediately prior index (prv60, prv61); o an application public key associated with the digital identity of immediately prior index (appK60, appK61); a reception (S71) of a signed exchange certificate (C61, C62) associated with the digital identity of subsequent index, said exchange certificate comprising: o a digest (cnd60, cnd61) of the certificate of the digital identity of immediately prior index; o a private proof key (prvK60, prvK61) of the digital identity of immediately prior index; o a proof of the subsequent index digital identity (prv61, prv62); o an application public key associated with the subsequent index digital identity (appK61, appK62);a verification (S72) of the validity of the exchange certificate, said verification of the validity of the exchange certificate comprising: o 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; o a verification that the proof of the digital identity of immediately prior index is identical to applying a hash function to the public proof key of the digital identity of immediately prior index; o a verification that the signature of the exchange certificate is a valid signature of the initial certificate with the private proof key of immediately prior index.;
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.
