# US 2019/0356650 A1 · Local Encryption for Single Sign-On

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

- Number: US 2019/0356650 A1
- Document ID: US20190356650A1
- Status: Published application
- Kind: A1
- Application number: 16/106,862
- Filed: 2018-08-21
- Published: 2019-11-21
- Earliest claimed: 2018-05-21
- Assignees: Wickr Inc.
- Applicants: Wickr Inc.
- Inventors: Thomas Michael Leavy; Joël Alwen; Christopher Howell
- Web page: https://patentgrep.com/patent/US20190356650A1

## CPC

- G06F 21/33: using certificates
- H04L 63/0815: {providing single-sign-on or federations}
- G06F 21/602: {Providing cryptographic facilities or services}
- H04L 9/0662: {with particular pseudorandom sequence generator}
- H04L 9/085: {Secret sharing or secret splitting, e.g. threshold schemes}
- 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/3213: {using tickets or tokens, e.g. Kerberos (network architectures or network communication protocols for entities authentication using tickets in a packet data network H04L63/0807)}
- H04L 9/3226: {using a predetermined code, e.g. password, passphrase or PIN (network architectures or network communication protocols for supporting authentication of entities using passwords in a packet data network H04L63/083)}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 63/06: {for supporting key management in a packet data network (cryptographic mechanisms or cryptographic arrangements for key management H04L9/08)}
- H04L 2463/061: applying further key derivation, e.g. deriving traffic keys from a pair-wise master key
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present disclosure describes techniques that allow for a client-side application, located on a first client device, to generate a random encryption key and encrypt locally-stored application data with the random encryption key. In order to ensure that the client-device application is unable to decrypt the locally-stored encrypted application data prior to authenticating with an external authentication source (i.e., SSO, IdP), the client-side application divides the random encryption key into at least a first share and a second share according to a secret sharing algorithm. The first share is transmitted to a trusted third party, while the second share is encrypted locally and stored in a secure location on the client device. Upon successful authentication, the trusted third party returns the second share to the first client device. The client-side application derives the random encryption key and decrypts the locally-stored encrypted application data to be used by the client-side application. By dividing the key used to encrypt the client-side application data and storing one of the secret shares necessary to deriving the key at a trusted third party, the present disclosure solves the problem of how to encrypt local application data when the login credentials for the application are managed by a trusted third party, such as an SSO system.

## Claims

### Claim 1

A method for securing a first encryption key, the method comprising:
generating, by a first device, a first encryption key;
encrypting, by the first device, application data using the first encryption key;
storing the encrypted application data in a memory of the first device;
dividing, by the first device, the first encryption key into at least a first share and a second share;
transmitting, by the first device, at least one of the first share to a trusted third party;
removing, from the first device, the at least one of the first share transmitted to the trusted third party; and
storing at least one of the second share in the memory of the first device.

### Claim 2 (depends on 1)

The method of claim 1, comprising:
receiving, at the first device, login credentials as part of a login procedure;
transmitting, by the first device, the received login credentials to a first server for an authentication check, wherein the first server is a single sign-on system;
receiving, at the first device, a result of the authentication check from the first server.

### Claim 3 (depends on 2)

The method of claim 2, comprising:
receiving, at the first device, a first token from the first server when the authentication check indicates that the received login credentials were valid.

### Claim 4 (depends on 3)

The method of claim 3, comprising:
transmitting, from the first device, the first token to one or more second servers, wherein the one or more second servers provide access to one or more applications;
accessing, by the first device, the one or more applications provided by the one or more second servers.

### Claim 5 (depends on 2)

The method of claim 2, comprising:
receiving, at the first device, at least one of the first share from the first server when the authentication check indicates that the received login credentials were valid.

### Claim 6 (depends on 5)

The method of claim 5, comprising:
retrieving the at least one of the second share from the memory of the first device;
deriving, by the first device, the first encryption key using the first share received from the first server and the second share retrieved from the memory of the first device;
decrypting, by the first device, the application data using the derived first encryption key.

### Claim 7 (depends on 6)

The method of claim 6, comprising:
receiving, at the first device, a first token with the at least one of the first share;
transmitting, from the first device, the first token to one or more second servers, wherein the one or more second servers provide access to one or more applications;
accessing, by the first device, the one or more applications provided by the one or more second servers using the decrypted application data.

### Claim 8 (depends on 1)

The method of claim 1, wherein dividing the first encryption key into at least a first share and a second share comprises:
generating, by the first device, a first random string, wherein the first random string is the first share;
performing, by the first device, a Boolean operation on the first encryption key using the first random string, wherein a result of the Boolean operation is the second share.

### Claim 9 (depends on 8)

The method of claim 8, wherein the Boolean operation is an XOR function.

### Claim 10 (depends on 1)

The method of claim 1, wherein the application data is a second key.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
encrypting by the first device, a database using the second key.

### Claim 12

A system, comprising:
an interface configured to transmit login credentials to a first server for an authentication check, wherein the first server is a single sign-on system, receive a result of the authentication check from the first server, receive a first token from the first server when the authentication check indicates that the received login credentials are valid, and transmit the first token to one or more second servers, wherein the one or more second servers provide access to one or more applications;
a processor configured to access the one or more applications provided by the one or more second servers; and
a memory coupled to the processor and configured to store at least one of a second share of a first key and encrypted application data and provide the processor with instructions for deriving a first key and decrypting encrypted application data.

### Claim 13 (depends on 12)

The system of claim 12, wherein the interface is configured to receive a first share of a first encryption key from the first server with the first token.

### Claim 14 (depends on 12)

The system of claim 12, wherein the processor is further configured to:
retrieve the second share of the first key from the memory;
derive the first encryption key using the first share received from the first server and the second share retrieved from the memory; and
decrypt the encrypted application data using the derived first encryption key.

### Claim 15 (depends on 14)

The system of claim 14, wherein the processor is further configured to derive the first encryption key by performing a Boolean operation on first share and the second share.

### Claim 16 (depends on 15)

The system of claim 15, wherein the Boolean operation is an XOR function.

### Claim 17

A non-transitory computer-readable medium comprising instructions that when, executed by at least one processor, perform the steps of:
receiving login credentials as part of a login procedure;
transmitting the received login credentials to a first server for an authentication check;
receiving a result of the authentication check from the first server; and
transmitting a first token and a first share to a first device when the authentication check indicates that the received login credentials are valid.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the first token provides the first device with access to one or more second servers.

### Claim 19 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the first share enables the first device to derive a first encryption key to decrypt encrypted application data stored on the first device.

### Claim 20 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the first server is an identity provider.
