# US 2016/0261566 A1 · Replacing keys in a computer system

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

- Number: US 2016/0261566 A1
- Document ID: US20160261566A1
- Status: Published application
- Kind: A1
- Application number: 14/638,609
- Filed: 2015-03-04
- Published: 2016-09-08
- Earliest claimed: 2015-03-04
- Assignees: SSH Communications Security OYJ
- Applicants: SSH Communications Security OYJ
- Inventors: Kimmo PARVIAINEN-JALANKO; Marko TEISTE
- Web page: https://patentgrep.com/patent/US20160261566A1

## CPC

- H04L 63/061: {for key exchange, e.g. in peer-to-peer networks (cryptographic mechanisms or cryptographic arrangements for key agreement H04L9/0838)}
- H04W 12/04: Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W 12/0431: Key distribution or pre-distribution; Key agreement
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

A first private key used by a device is replaced by a second private key, the first private key having an associated public key. The second private key is secured based on the associated public key and communicated to replace the first private key at the device. The device receives the second private key. The first private key is secured by a secret, and the device uses the secret to decrypt the first private key. The second private key is then encrypted using the decrypt first private key.

## Claims

### Claim 1

A method for replacing a first private key used by a device, wherein the first private key has an associated public key, the method comprising:
assigning a second private key for replacing the first private key,
securing the second private key based on the associated public key, and
causing communication of the secured second private key to replace the first private key at the device.

### Claim 2 (depends on 1)

A method according to claim 1, the method further comprising:
generating a key file comprising the first private key, the associated public key, and the second private key, and
sending the key file to the device.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the securing comprises at least one of:
encrypting the second private key by means of the associated public key, and
generating a secret character string for encrypting the second private key and encrypting the secret character string by means of the associated public key.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the secured second private key is encrypted based on the associated public key such that the encryption can only be decrypted with the first private key using a secret known by the user of the device and/or the device.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the secret comprises a passphrase or password known only by the user and/or the device.

### Claim 6

A method of replacing a first private key at a device, the method comprising
receiving at the device a second private key for replacing the first private key, wherein the second private key is secured based on a public key associated with the first private key and the first private key is secured by a secret,
using the secret to decrypt the first private key, and
decrypting the second private key using the decrypt first private key.

### Claim 7 (depends on 6)

The method according to claim 6, further comprising receiving a key file comprising the first private key, the associated public key, and the second private key.

### Claim 8 (depends on 6)

The method according to claim 6, wherein the secret is known only by the user of the device and/or the device.

### Claim 9 (depends on 6)

The method according to claim 6, further comprising encrypting the decrypted second private key based on a secret known only by the user of the device and/or the device.

### Claim 10

An apparatus comprising at least one processor, and at least one memory including computer program code, wherein the at least one memory and the computer program code are configured, with the at least one processor, to cause the apparatus to:
assign for a device with a first private key a second private key for replacing the first private key,
secure the second private key based on a public key associated with the first private key, and
communicate the secured second private key to replace the first private key at the device.

### Claim 11 (depends on 10)

The apparatus according to claim 10, further configured to generate a key file comprising the first private key, the associated public key, and the second private key, and communicate the key file to the device.

### Claim 12 (depends on 10)

The apparatus according to claim 10, configured to encrypt the second private key by means of the associated public key.

### Claim 13 (depends on 10)

The apparatus according to claim 10, configured to generate a secret character string for encrypting the second private key and encrypt the secret character string by means of the associated public key.

### Claim 14 (depends on 10)

The apparatus according to claim 10, configured to secure the second private key based on the associated public key such that decryption of the second private with the first private key requires use of a secret known by the user of the device and/or the device.

### Claim 15

An apparatus for a device, the apparatus comprising at least one processor, and at least one memory including computer program code, wherein the at least one memory and the computer program code are configured, with the at least one processor, to cause the device to:
replace a first private key by a second private key received via a network, wherein the second private key is secured based on a public key associated with the first private key and the first private key is secured by a secret,
use the secret to decrypt the first private key, and
decrypt the second private key using the decrypt first private key.

### Claim 16 (depends on 15)

The apparatus according to claim 15, configured to obtain the first private key, the associated public key, and the second private key from a key file received from the network.

### Claim 17 (depends on 15)

The apparatus according to claim 15, wherein the secret is known only by the user of the device and/or the device.

### Claim 18

A key file for use in replacement of keys, the key file comprising a first private key used by a device, a first public key associated with the first private key, and a second private key, wherein the second private key is secured by means of the first public key.

### Claim 19 (depends on 18)

The key file according to claim 18, wherein the second private key is encrypted based on the first public key such that the encryption can only be decrypted with the first private key using a secret known by the recipient of the key file.
