miroir de
https://github.com/henrydcase/optee_eng.git
synchronisé 2024-11-25 08:31:22 +00:00
ReADME
Cette révision appartient à :
Parent
7fc8dd7ea9
révision
1203f04d70
12
README.md
12
README.md
@ -1,7 +1,9 @@
|
||||
# OPTEE OpenSSL ENGINE for TLS
|
||||
|
||||
Typically, a TLS server uses a X509 Certificate and associated Private Key in order to sign TLS session. Both certificate and private key used for
|
||||
signing the certificate form a asymmetric cryptographic key-pair. Revealing the traffic-private-key makes it possible to perform men-in-the-middle
|
||||
type of attacks. Typically private-key is stored on the server’s hard disk. Even if it is stored in encrypted form, at some point HTTPS server
|
||||
needs to have a possibility to decrypt it in order to use for signing. It means that at runtime the key in plaintext will be available in a memory
|
||||
of a HTTPS process. In case of software errors (see [Heartbleed](https://heartbleed.com/).
|
||||
Typically, a TLS server uses an X509 Certificate and associated Private Key to sign TLS session. Both certificate and private key used for signing the certificate form an asymmetric cryptographic key-pair. Revealing the traffic-private-key makes it possible to perform men-in-the-middle type of attacks. Typically private-key is stored on the server’s hard disk. Even if it is stored in encrypted form, at some point HTTPS server needs to have a possibility to decrypt it to use for signing. It means that at runtime the key in the plaintext will be available in memory of an HTTPS process. In the case of software errors, attackers may be able to steal a private key (see [Heartbleed](https://heartbleed.com/)). From the other hand, in multiple domains, there is a need for binding of secret keys to the hardware on which software is running comes with multiple (IoT devices, software deployments on the edge networks).
|
||||
|
||||
Secure Trusted Execution Environments may address those needs. The repository provides a PoC implementation of Trusted Application that can be run in the ARM's TrustZone and be used for storing secret key of a TLS server as well as perform signing operation with that key. The implementation uses (OPTEE)[https://www.op-tee.org/] as an implementation of the TEE. The secret key is stored in the encrypted form on secure storage. The secure storage is encrypted with device Device Unique Key (HUK) and hence it can be only used by any other hardware after being copied from one device to the other.
|
||||
|
||||
The plugin to OpenSSL provides integration between Trusted Application running in Trust Zone and TLS stack. Namely, the plugin implements OpenSSL ENGINE API and hence it can be dynamically loaded by OpenSSL, eliminating a need to modify OpenSSL source code.
|
||||
|
||||
The idea was initially described on a blog (here)[https://www.amongbytes.com/post/201904-tee-sign-delegator/]. The main improvement provided by software in this repository is the implementation of the OpenSSL plugin.
|
Chargement…
Référencer dans un nouveau ticket
Block a user