# US 2021/0176057 A1 · Renewal of one-time keys

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0176057 A1
- Document ID: US20210176057A1
- Status: Published application
- Kind: A1
- Application number: 17/103,507
- Filed: 2020-11-24
- Published: 2021-06-10
- Earliest claimed: 2019-12-04
- Inventors: Bruno SANGLE-FERRIERE
- Web page: https://patentgrep.com/patent/US20210176057A1

## CPC

- H04L 9/14: using a plurality of keys or algorithms
- H04L 9/3242: {involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC}
- H04L 9/0656: {Pseudorandom key sequence combined element-for-element with data sequence, e.g. one-time-pad [OTP] or Vernam's cipher}
- H04L 9/083: {involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP]}
- H04L 9/088: {Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms (network architectures or network communication protocols for using time-dependent keys in a packet data network H04L63/068)}
- H04L 9/0891: {Revocation or update of secret information, e.g. encryption key update or rekeying}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- H04L 9/12: Transmitting and receiving encryption devices synchronised or initially set up in a particular manner
- H04L 9/16: the keys or algorithms being changed during operation
- H04L 9/321: {involving a third party or a trusted authority}
- H04L 9/3236: {using cryptographic hash functions}
- H04L 12/2814: {Exchanging control software or macros for controlling appliance services in a home automation network (arrangements for maintenance or administration involving configuration of the network and network elements H04L41/08)}
- H04L 63/067: {using one-time keys (cryptographic mechanisms or cryptographic arrangements for generation of one-time passwords H04L9/0863)}
- H04L 9/0863: {involving passwords or one-time passwords (network architectures or network communication protocols for using one-time keys in a packet data network H04L63/067)}
- H04L 2012/285: {Generic home appliances, e.g. refrigerators}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for securing communication within a system including at least one server and at least two appliances able to communicate with the server and with each other, wherein a pair of appliances communicating together and having at least one shared one-time encryption key for securing communication between the two has at least one other shared one-time encryption key supplied by the server following the connection of only one of the two appliances to said server.

## Claims

### Claim 1

A method for securing communication within a system comprising at least one server and at least two appliances able to communicate with the server and with each other, with the communication between the two appliances occurring securely using a one-time encryption key shared with the two appliances, in which method, after said key is used, a one-time encryption key that is not used but that is already present on one of the two appliances is sent by the server to the other appliance, after said appliance has connected to said server, with a view to a subsequent secure communication between the two appliances, the connection between the server and the appliances taking place in an insecure environment.

### Claim 2 (depends on 1)

The method according to claim 1, wherein said at least one server and said at least two appliances keep their last sent message of the same type in a memory until an acknowledgement of receipt has been received for said message.

### Claim 3 (depends on 1)

The method according to claim 1, wherein said at least one server and said at least two appliances keep a register of the acknowledgements of receipt sent following the reception of the last message of the same type, so that they can resend said acknowledgement of receipt should they receive the same message again.

### Claim 4 (depends on 3)

The method according to claim 3, wherein said at least one server and said at least two appliances also keep a register of the messages corresponding to the retained acknowledgements of receipt, or alternatively another means of acknowledging said messages, such as their hash, so as to be able to verify whether the received message has already resulted in the preparation of an acknowledgement of receipt.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the registers modified by the creation and the signing of a message, including the register containing a last sent message, and that have not received an acknowledgement, are modified at the same time.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the registers that must be modified when a message is received, including the register containing a last sent acknowledgement of receipt message, are modified at the same time.

### Claim 7 (depends on 1)

A system for implementing the method according to claim 1, with a set of registers present on said server, said set of registers comprising:
a register S1 for each appliance, but located on the server, containing an ordered list of random numbers associated with the appliance, said numbers being able to be used as shared one-time keys for securing communication between the appliance and the server and one-time keys used to secure communications between the appliance and another appliance;
at least one register S3 for each appliance, but located on the server, containing, for the appliance, a reference of keys assigned to secure communication between the appliance and another appliance.

### Claim 8 (depends on 7)

The system according to claim 7, wherein said set of registers comprising:
a register S11 for each appliance, but located on the server, comprising the reference of the first key of the register S1 that has not yet been either used or assigned to communicate between appliances;
a register S12 for each appliance, but located on the server, comprising the reference of the first key of the register S1 assigned to decrypt data originating from the appliance;
a register S13 for each appliance, but located on the server;
at least one register S31 for each appliance, but located on the server, associated with each register S3 comprising the reference of the first key of the register S3 that has not yet been used by the appliance;
at least one register S32 for each appliance, but located on the server, associated with each register S3 comprising the reference of the first key of the register S3 assigned to decrypt data received from the other appliance if the first keys of the register S3 were assigned to encrypt, or even assigned to encrypt if the first keys of the register S3 were assigned to decrypt;
at least one register S33 for each appliance, but located on the server, associated with each register S3 comprising the reference of the last key of the register S3 located after the key indicated by the register S32 and that has not yet been used;
a register A1, located on each appliance, containing an ordered list of random numbers that can be used as shared one-time keys for securing communication between the appliance and the server and one-time keys used to secure communications between the appliance and another appliance;
at least one register A3, located on each appliance, containing one or more lists of references of keys assigned to secure communication between the appliance and another appliance, said keys being extracted from the register A1 of the appliance or from the register A1 of the other appliance;
a register A11, present on each appliance, comprising the reference of the first key of the register A1 that has not yet been either used or assigned to communicate between appliances;
a register A12, present on each appliance, comprising the reference of the first key of the register A1, starting from the start of said register, assigned to encrypt data sent to the server, which key has not already been used;
a register A13, present on each appliance, comprising the reference of the last key of the register A1, starting from the start of said register, assigned to encrypt data sent to the server, which key has not already been used;
at least one register A31, present on each appliance, associated with each register A3 comprising the reference of the first key of the register A3, starting from the start of said register, which key has not yet been used;
at least one register A32, present on each appliance, associated with each register A3 preferably comprising the first key of the register A3, starting from the start of said register, assigned to decrypt data sent to the other appliance; and
at least one register A33, present on each appliance, associated with each register A3 comprising the last key of the register A3, starting from the start of said register, assigned to decrypt data originating from the other appliance and that has not already been used, the decryption keys being extracted from the end of the list.

### Claim 9 (depends on 1)

A system for implementing the method according to claim 1, with a set of registers present on said server comprising:
a set S1′ for each appliance, but present on the server, of one-time keys used either to communicate between the server and said at least two appliances or to communicate between said at least two appliances, each key having an identifier S11′ and a randomly generated number S10′;
at least one set S3′ for each appliance, but present on the server, of identifiers of one-time keys used to communicate between two appliances, a copy of said key being able to be found on a register S39′, and, if the system comprises a plurality of servers, the identifier of the server holding the register S1′ from which the key is extracted.

### Claim 10 (depends on 9)

The system according to claim 9, said set of registers comprising:
a set A1′, present on each appliance, of one-time keys used to communicate between the server and the relevant appliance or to communicate from this appliance with at least one other appliance, each key having an identifier A11′ and a randomly generated number A10′; and
at least one set A3′, present on each appliance, of identifiers of one-time keys used to communicate between the relevant appliance and another appliance, optionally accompanied by said key.

### Claim 11 (depends on 7)

The system according to claim 7, the signature of a message that cannot be predicted being formed from a hash encrypted by a one-time key concatenated with the identifier of said key.

### Claim 12 (depends on 7)

The system according to claim 7, the signature of a message that can be predicted being formed from the encryption of a number randomly generated by the message sender and from the encryption of the hash of a combination of the message to be signed with the number randomly generated by the sender concatenated with the identifiers of the two keys used for the encryptions.

### Claim 13 (depends on 7)

The system according to claim 7, the signature of a message that can be predicted being formed from the encryption of the hash of the message combined with a one-time key, concatenated with the identifier of said one-time key and with the identifier of the one-time key used to encrypt the hash.

### Claim 14 (depends on 7)

The system according to claim 7, the encryption of the predictable messages being performed by using an encryption function successively applied to the entire message with one-time keys that are at least the same size as those of the message and extracted from the same set of keys as the keys assigned to the signatures between appliances.

### Claim 15 (depends on 7)

The system according to claim 7, having a set of keys arranged one after the other in a register, forming a list, each of the keys being referenced by its place in the list.

### Claim 16 (depends on 15)

The system according to claim 15, the keys being able to be added within the list.

### Claim 17 (depends on 15)

The system according to claim 15, the keys having been used at the start or the end of the list being deleted from the list.

### Claim 18 (depends on 8)

The system according to claim 8, comprising:
two registers S42 and S42bis for each appliance, but located on the server, associated with each other appliance, used as a flag for indicating whether or not a request for keys or for the role reversal of keys respectively intended for or originating from the other appliance must be signed; and
two registers A42 and A42bis associated with each other appliance or with the server used as a flag for indicating whether or not a request for keys or for the role reversal of keys respectively intended for or originating from the other appliance must be signed.

### Claim 19 (depends on 18)

A method for sending a message signed by a first device to a second device, the first and the second device belonging to a system according to claim 18 comprising the following steps:
a. the first device computes the number of keys required to send the message, computes the number of keys required to send the acknowledgement of receipt, and consults the register S42 or A42 indicating that the messages for requesting keys intended for the second device must be signed, since the first device then must keep enough keys available for encryption intended for the second device;
b. if the first device does not have enough keys for sending the message, it requests from the second device the transfer or the role reversal of the lacking keys, the request being made by sending a signed message if the register S42 or A42 associated with the second device indicates that such a request must be signed, otherwise the method transitions to step e;
c. if the first device does not receive the number of lacking keys, it cancels sending the message;
d. if the first device receives the number of lacking keys, it adjusts the register S3 or A3 provided to this end, compiles an acknowledgement of receipt of the message that transferred the keys, then marks the keys used to draft said message as being used, with these actions being concomitant, then sends said acknowledgement of receipt message, otherwise it cancels the sending procedure;
e. the first device optionally encrypts the parts to be encrypted, creates and signs the message to be sent, marks as used the keys used for this creation and this signing and registers the created and signed message in the register of sent messages that have not received an acknowledgement of receipt; and
f. the first device sends the message registered in the register in the preceding step.

### Claim 20 (depends on 1)

A computer program product comprising instructions that can be read by a processor of an appliance for implementing the method according to claim 1.
