Mechanism to allow third party to use a shared secret between two parties without revealing the secret
AssigneeAmazon Technologies, Inc.
InventorJasmeet Chhabra
Life of this patent
Estimating the term…
Abstract
A system, such as an extension service, receives a first public key that is derivable based at least in part on a secret that is shared between at least a first device and a second device. The system, in an embodiment, derives a cryptographic key based at least in part on the first public key and transmits a second public key that enables another system to derive the cryptographic key. In an embodiment, the cryptographic key is a symmetric key and the system lacks access to a first private key that corresponds to the first public key.
Claims20
A computer-implemented method, comprising:
- at a second service launched by a first service to implement an extension of an application programming interface (API):
- obtaining a first public key from the first service, wherein the first public key is derivable from a corresponding first private key that is shared between the first service and a client computer system and that is inaccessible to the second service;
- obtaining, from the client computer system, a request in accordance with the extension of the API;
- generating a key pair comprising a second public key and a second private key;
- computing a value for a session key based at least in part on the first public key and the second private key, wherein the value can also be computed from the first private key and the second public key;
- and
- transmitting, to the client computer system, an encrypted response to the request and the second public key, wherein the encrypted response is decryptable using the session key.
A system, comprising one or more non-transitory computer-readable storage media storing a set of instructions, which as a result of execution by one of more processors, cause the system to at least:
- obtain a first public key from a service, Wherein the first public key is derivable from a corresponding first private key that is shared between the service and a client computer system and that is inaccessible to the system, wherein the system is launched by the service to implement an extension of an application programming interface (API);
- obtain, from the client computer system, a request in accordance with the extension of the API;
- generate a key pair comprising a second public key and a second private key;
- compute a value for a session key based at least in part on the first public key and the second private key, wherein the value can also be computed from the first private key and the second public key;
- and
- transmit, to the client computer system, an encrypted response to the request and the second public key, wherein the encrypted response is decryptable using the session key.
A non-transitory computer-readable storage medium storing executable instructions that, as a result of execution by one or more processors of a computer system, cause the computer system to at least:
- obtain a first public key from a service, wherein the first public key is derivable from a corresponding first private key that is shared between the service and a client computer system and that is inaccessible to the computer system, wherein the computer system is launched by the service to implement an extension of an application programming interface (API);
- obtain, from the client computer system, a request in accordance with the extension of the API;
- generate a key pair comprising a second public key and a second private key;
- compute a value for a session key based at least in part on the first public key and the second private key, wherein the value can also be computed from the first private key and the second public key;
- and
- transmit, to the client computer system, an encrypted response to the request and the second public key, wherein the encrypted response is decryptable using the session key.
Dependencies are inferred from the claim text.