Hybrid content protection architecture for emails
By introducing a key access control list server between the message server and the user device, and using the public key encryption and private key decryption mechanisms, the problem of the message server accessing unencrypted messages is solved, the confidentiality and security of the private key are improved, and the This reduces the burden on users to maintain private keys.
Patent Information
- Application Number
- CN202380018846.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-02-01
- Filing Date
- 2023-01-30
- Publication Date
- 2024-09-06
AI Technical Summary
In the existing technology, the message server can access unencrypted messages, making it difficult to ensure the confidentiality of the user's private key. In particular, there are risks and inconveniences when maintaining the private key between multiple user devices.
Introduce a key access control list server (KACLS) that is independent of the message server. Through the public key encryption and private key decryption mechanism, it ensures that the message server cannot access the private key, and separates private key management between user devices to reduce the risk of private key exposure. .
It realizes that the message server cannot access the authority to decrypt the message, reduces the user's burden of maintaining private keys between multiple devices, improves the confidentiality and security of the private key, and reduces the damage caused by theft of the private key.
Smart Images

Figure CN118614035A
Abstract
Description
Technical Field
[0001] The present disclosure relates to a hybrid content protection architecture for messaging services such as email. Background Art
[0002] Encryption is increasingly becoming one of the most important tools in use to ensure the confidentiality and authenticity of messages between users. These messages are often delivered through a message server (e.g., an email server) that is not controlled by the user sending the message and / or the user receiving the message. While users can rely on the email server to perform encryption and decryption, this allows the email server to access unencrypted messages. To maximize privacy, some users employ client-side encryption, which involves the user encrypting the message before sending it to the message server for delivery. Summary of the invention
[0003] One aspect of the present disclosure provides a method for providing a hybrid content protection architecture. The computer-implemented method causes the data processing hardware to perform operations when executed by the data processing hardware of the user device. The operations include obtaining an encrypted message encrypted with a one-time data encryption key (DEK) and an encrypted DEK including the one-time DEK encrypted with a public key (PK) from a message server. The one-time DEK can be used only to encrypt the encrypted message. The operations also include transmitting a decryption request to a key access control list server (KACLS), the decryption request requesting the KACLS to decrypt the encrypted DEK using a private key (PRK) associated with the PK. The decryption request may include the encrypted DEK. The KACLS is independent of the message server and / or separate from the message server. The operations also include receiving the one-time DEK from the KACLS and decrypting the encrypted message using the one-time DEK.
[0004] Implementations of the present disclosure may include one or more of the following optional features. In some implementations, the decryption request is configured to cause KACLS to obtain an encrypted PRK from a message server, the encrypted PRK comprising the PRK encrypted with a private KACLS key; decrypt the encrypted PRK using the private KACLS key; decrypt the encrypted DEK using the PRK; transmit the one-time DEK to a user device; and discard the PRK. In some of these implementations, the private KACLS key comprises a symmetric key owned only by KACLS.
[0005] In some examples, the decryption request is configured to cause KACLS to authenticate a user of the user device using a message server and to authenticate a user of the user device using a third-party identity provider independent of the message server. Optionally, the operations further include: obtaining a second message; generating a second one-time DEK; encrypting the second message using the second one-time DEK; transmitting an encryption request to KACLS, the encryption request requesting KACLS to encrypt the second one-time DEK with the PRK; receiving a second encrypted DEK from KACLS, the second encrypted DEK including the second one-time DEK encrypted with the PRK; and transmitting the encrypted second message and the second encrypted DEK to the message server. In some implementations, the second message is obtained using the Secure / Multipurpose Internet Mail Extensions (S / MIME) standard.
[0006] In some examples, the message server does not receive access to the PRK or to the decrypted message. Optionally, the PK and PRK comprise an asymmetric key pair. The message server may store the PK. In some implementations, the encrypted message comprises an email, and the message server comprises an email service.
[0007] Another aspect of the present disclosure provides a system for providing a hybrid content protection architecture. The system includes data processing hardware, and memory hardware that communicates with the data processing hardware. The memory hardware stores instructions that, when executed on the data processing hardware, cause the data processing hardware to perform operations. The operations include obtaining an encrypted message encrypted with a one-time data encryption key (DEK) and an encrypted DEK including a one-time DEK encrypted with a public key (PK) from a message server. The one-time DEK can be used only to encrypt encrypted messages. The operations also include transmitting a decryption request to KACLS, the decryption request requesting KACLS to decrypt the encrypted DEK using the PRK associated with the PK. The decryption request may include the encrypted DEK. KACLS is independent of and / or separate from the message server. The operations also include receiving a one-time DEK from KACLS and decrypting the encrypted message using the one-time DEK.
[0008] This aspect may include one or more of the following optional features. In some implementations, the decryption request is configured to cause KACLS to obtain an encrypted PRK from a message server, the encrypted PRK comprising the PRK encrypted with a private KACLS key; decrypt the encrypted PRK using the private KACLS key; decrypt the encrypted DEK using the PRK; transmit the one-time DEK to a user device; and discard the PRK. In some of these implementations, the private KACLS key comprises a symmetric key possessed only by KACLS.
[0009] In some examples, the decryption request is configured to cause KACLS to authenticate a user of the user device using a message server and to authenticate a user of the user device using a third-party identity provider independent of the message server. Optionally, the operations further include: obtaining a second message; generating a second one-time DEK; encrypting the second message using the second one-time DEK; transmitting an encryption request to KACLS, the encryption request requesting KACLS to encrypt the second one-time DEK with the PRK; receiving a second encrypted DEK from KACLS, the second encrypted DEK including the second one-time DEK encrypted with the PRK; and transmitting the encrypted second message and the second encrypted DEK to the message server. In some implementations, the second message is obtained using the Secure / Multipurpose Internet Mail Extensions (S / MIME) standard.
[0010] In some examples, the message server does not receive access to the PRK or to the decrypted message. Optionally, the PK and PRK comprise an asymmetric key pair. The message server may store the PK. In some implementations, the encrypted message comprises an email, and the message server comprises an email service.
[0011] The details of one or more implementations of the present disclosure are set forth in the accompanying drawings and the description below. Other aspects, features, and advantages will be apparent from the description and drawings, and from the claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 is a schematic diagram of an example system of a hybrid content architecture for message sharing.
[0013] Figure 2 yes Figure 1 Schematic diagram of exemplary components of a system.
[0014] Figure 3A and Figure 3B yes Figure 1 A sequence diagram of the operation of the system.
[0015] Figure 4 is a flow diagram of an example arrangement of operations of a method providing a hybrid content architecture for message sharing.
[0016] Figure 5 is a schematic diagram of an example computing device that can be used to implement the systems and methods described herein.
[0017] Like reference symbols in the various drawings indicate like elements. DETAILED DESCRIPTION
[0018] Encryption is increasingly becoming one of the most important tools in use to ensure the confidentiality and authenticity of messages between users. These messages are often delivered through a message server (e.g., an email server) that is not controlled by the user sending the message and / or the user receiving the message. While users can rely on public email servers to encrypt messages, this allows the email server to access unencrypted messages. To maximize privacy, some users employ client-side encryption, which involves the user encrypting the message before sending it to the message server for delivery.
[0019] However, client-side encryption relies on users being able to securely and easily share keys for decryption. This is most commonly achieved via public key cryptography, which consists of a public key (which can be shared with others) and a private key (which cannot be shared with anyone other than the owner). Data encrypted using the private key in the pair can only be decrypted by the associated public key, and similarly, data encrypted using the public key in the pair can only be decrypted using the private key. The private key can also be used to digitally sign content, and can be verified using the public key. Therefore, when two users each share their respective public keys, the users can communicate securely as long as their respective private keys remain secret.
[0020] In such a scenario, if a user's private key is compromised by an adversary, not only does the adversary gain access to all previous emails encrypted using the associated public key, the adversary also gains the ability to impersonate (i.e., via digital signature) the user. Therefore, it is critical to maintain the confidentiality of the private key.
[0021] Users increasingly rely on multiple devices to send and receive messages. For example, users send and receive emails via mobile phones, laptops, desktops, and tablet computers. In traditional client-side encryption schemes, users must maintain private keys on each user device that the user uses for message sharing. This is not only inconvenient for users (users must ensure that each device is kept up to date with the latest private key), but each device further increases the risk of exposure of the private key. If an adversary gains access to any of the devices, the private key of the device may be stolen, allowing the adversary to access all messages decrypted by the key.
[0022] The implementation of this article provides a hybrid content protection architecture for message sharing (e.g., email). The architecture includes a trusted key access control list server that is separate and independent of any message server that users use to send and receive messages. The key access control list server provides unique access to the user's private key, thereby ensuring that the message server can never access the private key or unencrypted messages, and relieves the user of the burden of maintaining private keys between multiple devices. The key access control server can additionally employ an audit feature to provide users with detailed information about the use of private keys and reduce damage in the event that the user's authentication credentials are compromised.
[0023] Reference now Figure 1 In some implementations, the example message protection system 100 includes a remote system 140 that communicates with one or more user devices 10 via a network 112. The remote system 140 can be a single computer, multiple computers, or a distributed system (e.g., a cloud environment) with scalable / elastic resources 142, which include computing resources 144 (e.g., data processing hardware) and / or storage resources 146 (e.g., memory hardware). A data repository 150 (i.e., a remote storage device) can be overlaid on the storage resources 146 to allow one or more of the clients (e.g., user devices 10) or computing resources 144 to use the storage resources 146 scalably. The data repository 150 is configured to store a plurality of messages 152, 152a-152n. In some examples, the messages 152 include emails, but any other kind of communication (e.g., any text, audio, and / or video messages) can also be stored. The data repository 150 can store any number of messages 152 at any point in time. In some examples, as discussed in more detail below, some or all of the stored messages 152 are encrypted messages 152, 152E, 152Ea-n.
[0024] The remote system 140 executes a message server 160. The message server 160 (e.g., an email server or mail server) is configured to receive messages 152 from users 12 (via user devices 10) and deliver messages 152 to other users 12. For example, the message server 160 may include an email server that sends and receives emails. The message server 160 may use any conventional technology to send and receive messages 152 (e.g., Simple Mail Transfer Protocol (SMTP), Post Office Protocol Version 3 (POP3), Internet Message Access Protocol (IMAP), HTTPS API, custom protocols, etc.), and may include any number of subcomponents (e.g., incoming message servers, outgoing message servers, list servers, policies, webmail servers, etc.).
[0025] The message server 160 is configured to receive messages 152 from user devices 10 associated with respective users 12 via, for example, the network 112. The user device 10 may correspond to any computing device such as a desktop workstation, a laptop workstation, or a mobile device (i.e., a smart phone). The user device 10 includes computing resources 18 (e.g., data processing hardware) and / or storage resources 16 (e.g., memory hardware). The user 12 may draft a message 152 using a web browser, a standalone application executed on the user device 10, or any other suitable means and transmit the message to the message server.
[0026] In some implementations, the first user device 10, 10a of the first user 12, 12a executes a client encryption controller 180. The client encryption controller 180 obtains the encrypted message 152E from the message server 160. The encrypted message 152E is drafted by the second user 12, 12b using the second user device 10, 10b. In some examples, the second user 12b (via the second user device 10b) encrypts the encrypted message 152E using a one-time data encryption key (DEK) 170. The one-time DEK 170 represents an encryption key that is randomly generated to encrypt only a single message 152. After the message 152 is encrypted using the one-time DEK 170, the DEK 170 cannot be used again (i.e., for encrypting another message 152) for security purposes.
[0027] The client encryption controller 180 also obtains the encrypted DEK 170, 170E and the encrypted message 152E. The encrypted DEK 170E represents a one-time DEK 170 encrypted by a public key (PK) 172, 172PK. In some examples, the PK 172PK is an asymmetric public key. The asymmetric public key is associated with the user 12a (i.e., the first user 12a) who is the intended recipient of the message 152, and is linked to the PRK 172PRK owned by the first user 12a. Therefore, obtaining access to the encrypted message 152E requires decrypting the DEK 170E using the PRK 172PRK of the user 12a. The second user 12b can transmit the encrypted message 152E to the message server 160 via the message server 30 associated with the second user 12b. This message server 30 can be the same as the message server 160 of the first user 12a or a completely different service. The second user 12b may encrypt the message 152 locally on the second user device 10b or rely on the message server 30 (although this allows the second user's message server 30 to access the unencrypted message 152).
[0028] The first user device 10a transmits a decryption request 210 to a key access control list server (KACLS) 50 after obtaining the encrypted message 152E and the encrypted DEK 170E. The decryption request 210 requests the KACLS 50 to decrypt the encrypted DEK 170E using the PRK 172PRK of the first user 12a. In some examples, the decryption request 210 includes the encrypted DEK 170E for the KACLS 50 to decrypt. Optionally, the KACLS is independent of and separate from the message server 160. That is, the message server 160 cannot access the keys controlled by the KACLS 50. Similarly, the KACLS 50 cannot access the messages 152 stored, maintained, transmitted, or received by the message server 160. The KACLS 50 can operate on completely independent hardware that communicates with the message server 160 and / or the first user device 10a via a network.
[0029] KACLS 50 decrypts the one-time DEK 170 used to encrypt the message 152 using PRK 172PRK, which is a private key associated with PK 172PK used by the second user 12b to encrypt the DEK 170. The first user device 10a receives the decrypted one-time DEK 170 from KACLS 50. The first user device 10a decrypts the message 152 using the decrypted one-time DEK 170 received from KACLS 50 for viewing by the first user 12a. In this way, the first user 12a obtains access to the message 152 written by the second user 12b when the message server 160 does not obtain access to the decrypted message 152 (because the message server 160 lacks access to the PRK 172PRK), the KACLS 50 does not obtain access to the decrypted message 152 (because the KACLS 50 lacks access to the encrypted message 152E), and the first user device 10a does not maintain the PRK 172PRK locally.
[0030] Reference now Figure 2 As shown in the schematic diagram 200, by relying on the KACLS 50, the user 12a is relieved of the responsibility of ensuring that each user device 10a, 10aa-an is configured with the same PRK 172PRK. Instead, the user 12a is free to use any number of user devices 10 to decrypt the encrypted message 152E received from the message server 160. Instead of configuring the PRK 172PRK, each user device 10a of the first user 12a sends a decryption request 210 to the KACLS 50, which uses the PRK 172PRK to decrypt the encrypted one-time DEK 170E with the decryption request 210.
[0031] In some implementations, the KACLS 50 authenticates and / or authorizes the user device 10a and / or the user 12a before decrypting the DEK 170E. The KACLS 50 may request credentials 214 (e.g., a username and password, an authorization token, a multi-factor authentication response, etc.) from the user 12a. In some examples, the KACLS 50 performs multiple authentication steps. For example, the KACLS 50 authenticates the user 12a and / or the user device 10a using the message server 160 (i.e., a service provider that provides the message server 160) in addition to authenticating the user 12a and / or the user device 10a via a third-party identity provider that is independent of the KACLS 50 and the message server 160.
[0032] In some examples, KACLS 50 stores a copy of PRK 172PRK for each user 12 served by KACLS 50 (e.g., in a database). In these examples, KACLS 50 retrieves the PRK 172PRK associated with the user 12 of the decryption request 210 from storage in response to receiving the decryption request 210. However, in other examples, KACLS 50 decrypts DEK 170 in a stateless manner. That is, KACLS 50 does not maintain a repository of PRK 172PRK. Instead, during an initialization or setup routine to configure or create an account for user 12a, KACLS 50 encrypts the PRK 172PRK of user 12a using KACLS encryption key 230. For example, KACLS encryption key 230 is a symmetric key available only to KACLS 50. Then, KACLS 50 or user 12a provides the encrypted PRK 172EPRK (i.e., PRK172PRK encrypted with KACLS encryption key 230) to the message server 160, which in turn stores the encrypted PRK 172EPRK on behalf of user 12a. For example, the message server 160 includes a PRK data repository 240 that stores the encrypted PRK 172EPRK, 172EPRKa-172EPRKn of each user 12 of the message server 160.
[0033] In these examples, in response to user 12 sending a decryption request 210 to KACLS 50, KACLS 50 obtains the encrypted PRK 172EPRK from message server 160. For example, KACLS 50 requests the appropriate encrypted PRK 172EPRK from message server 160 using key request 220 (e.g., via a user ID or other identifier that identifies which encrypted PRK 172EPRK the message server 160 should retrieve). Decryption request 210 may include an identifier that identifies the encrypted PRK 172EPK that KACLS 50 should retrieve from message server 160. Message server 160, which never has access to the decryption PRK 172PRK, retrieves the encrypted PRK 172EPRK from data repository 240 and transmits the encrypted PRK 172EPRK to KACLS 50. After receiving the encrypted PRK 172EPRK from the message server 160, the KACLS 50 decrypts the encrypted PRK 172EPRK using the KACLS encryption key 230. Using the decrypted PRK 172PRK, the KACLS 50 can proceed to obtain the decrypted one-time DEK 170, as described in detail with respect to Figure 1 That is, the KACLS 50 transmits the one-time DEK 170 to the user device 10. After recovering the decrypted one-time DEK 170, the KACLS 50 may discard (i.e., clear from memory) the decrypted PRK 172PRK so that the KACLS 50 must request the encrypted PRK 172EPRK from the message server 160 for future decryption requests 210. In some implementations, the KACLS 50 may maintain a cache that temporarily stores the encrypted PRK 172EPRK for a threshold period of time to reduce requests 210 to the message server 160.
[0034] In other examples, the message server 160 also includes the encrypted PRK 172EPRK when delivering the encrypted message 152E and the encrypted DEK 170E to the user device 10a. That is, the message server 160 automatically includes the encrypted PRK 172EPRK with each encrypted message 152E delivered to the user device 10a. In these examples, the user device 10a includes the encrypted PRK 172EPRK along with the decryption request 210, thereby allowing the KACLS 50 to recover the PRK 172PRK without querying the message server 160.
[0035] Reference now Figure 3A, sequence diagram 300a provides an exemplary sequence of operations for a first user device 10a to receive an encrypted message 152E transmitted by a second user device 10b and to decrypt the encrypted message. At operation 302, the second user device 10b (or alternatively, the message server 30 on behalf of the second user device 10b) transmits the encrypted message 152E to the message server 160 of the first user 12a. The encrypted message 152E is accompanied by an encrypted DEK 170E used to encrypt the encrypted message 152E. The encrypted DEK 170E is encrypted using the PK 172PK of the first user 12a. At operation 304, the message server 160 passes the encrypted message 152E and the encrypted DEK 170E to the first user device 10a. At operation 306, the first user device 10a transmits the decryption request 210 to the KACLS 50. In some examples, the decryption request 210 includes the encrypted DEK 170E and / or an identifier identifying the user 12a and / or the user device 10a. In some implementations, the KACLS 50 retrieves the encrypted DEK 170E from the message server 160. The KACLS 50 may perform one or more authentication / authorizations on the user device 10a and / or the user 12a. The decryption request 210 may include credentials 214 for authenticating the user device 10a or the user 12a.
[0036] Optionally, at operation 308, the KACLS 50 transmits the key request 220 to the message server 160. The key request 220 may include an identification and / or authentication of the user 12a or user device 10a. In response, at operation 310, the message server 160 provides the encrypted PRK 172EPRK to the KACLS 50. At operation 312, the KACLS 50 optionally decrypts the encrypted PRK 172EPRK and decrypts the encrypted DEK 170E using the decrypted PRK 172PRK. At operation 314, the KACLS 50 transmits the decrypted DEK 170 to the first user device 10a. The communication between the KACLS 50 and the first user device 10a may be further protected (e.g., via HTTPS) to ensure the confidentiality of the decrypted DEK 170. At operation 316, the first user device 10a decrypts the encrypted message 152E using the decryption DEK 170 to obtain the decrypted message 152 originally composed by the second user 12b.
[0037] review Figure 1In some implementations, the KACLS 50 supports the user device 10a to encrypt a composed message 152 in a manner similar to the decryption of a received message 152. For example, to allow a recipient of the message 152 (e.g., the second user 12b) to authenticate the source of the message 152, the first user 12a may rely on the KACLS 50 to digitally "sign" the message 152 by encrypting some or all of the message 152 or the message attachments using the PRK 172PRK. In this scenario, the first user 12a may compose the message 152 and then generate a random DEK 170 to encrypt the message 152 and / or the attachments. The first user device 10a may transmit an encryption request 212 including the generated DEK 170 to the KACLS 50. After authenticating the user 12a and / or the user device 10a in a manner similar to that described above, the KACLS 50 encrypts the DEK 170 using the PRK 172PRK. The first user device 10a transmits the signed message 152S and the encrypted DEK 170E to the message server 160 for delivery to the recipient of the message 152 (eg, the second user device 10b).
[0038] Reference now Figure 3B , sequence diagram 300b provides an exemplary sequence of operations for a first user device 10a to compose a message 152 and sign / encrypt the message for transmission to a second user device 10b. Here, at operation 320, the first user 12a composes a message 152 via the first user device 10a for transmission to the second user 12b. The first user device 10a generates a random one-time DEK 170 (i.e., a key that has not been used to encrypt previous communications), and at operation 322, signs the message 152 using the DEK 170. At operation 324, the first user device 10a transmits an encryption request 212 to the KACLS 50. The encryption request 212 may include the DEK 170.
[0039] In some implementations, at operation 326, the KACLS 50 sends a key request 220 to the message server 160 to retrieve the encrypted PRK 172EPRK associated with the first user 12a. At operation 328, the message server 160 returns the encrypted PRK 172EPRK associated with the first user 12a to the KACLS 50. At operation 330, the KACLS 50 encrypts the DEK 170 using the PRK 172PRK to generate the encrypted DEK 170E. At operation 332, the KACLS 50 returns the encrypted DEK 170E to the first user device 10a. At operation 336, the first user device 10a transmits the signed message 152S together with the encrypted DEK 170E to the message server 160. At operation 338, the message server 160 transmits the signed message 152S and the encrypted DEK 170E to the second user device 10b (or alternatively, another message server 30 associated with the second user 12b). The second user device 10b may decrypt the encrypted DEK 170E using the PK 172PK associated with the first user 12a, thereby ensuring the authenticity of the message 152 (i.e., the digital signature) without revealing the first user's PRK 172PRK to the message server 160. Although not shown here, it is understood that the first user device 10a may additionally or alternatively use, for example, the PK 172PK associated with the second user 12b to encrypt the message 152 to ensure confidentiality.
[0040] review Figure 1 In some examples, the first user device 10a executes a client encryption controller 180, but the second user device 10b does not. In these scenarios, the system 100 can implement various features of the Secure / Multipurpose Internet Mail Extensions (S / MIME) standard, for example, to ensure interoperability of messages transmitted between the first user device 10a and the second user device 10b. In this way, the system 100 does not require each user device 10 to execute a client encryption controller 180, but instead, the system can integrate traditional client-side encryption technology. In other examples, the first user device 10a and the second user device 10b each execute a separate client encryption controller 180, so that both execute the same standard when transmitting and receiving messages from another user device 10. Figure 3A and Figure 3BIn these examples, the messaging server 160 can serve two users 12a, 12b (e.g., both users 12a, 12b subscribe to the same email service). The system 100 can support any number of symmetric ciphers (e.g., AES-256-GCM, AES-128-GCM, AES-256-CBC, AES-128-CBC, ChaCha20-Pol y1305, 3DES, etc.) and asymmetric ciphers (e.g., ECDH, RSA, SHA-256, MD5, etc.).
[0041] In some examples, the message server 160 maintains a directory or list 162 of PKs 172PK to facilitate messaging between the first user 12a and the second user 12b. For example, the message server 160 maintains a list 162 that associates PKs 172PK (and / or certificates) with specific users 12. In this way, the client encryption controller 180 can query the message server 160 to obtain the public key 172PK of another user 12 for encrypting or decrypting a message 152.
[0042] In some implementations, KACLS 50 includes an auditor 52. In some examples, auditor 52 monitors and logs all uses of PRK 172PRK. For example, auditor 52 records information related to the request when receiving a decryption request 210 or an encryption request 212, such as the date and time, user identification, purpose of the request, etc. Therefore, in the event of misappropriation, the log can be reviewed (e.g., by an authorized user 12) to determine the extent of the damage. In some examples, auditor 52 enforces access control to PRK 172PRK. For example, each authorized user 12 of PRK 172PRK can be associated with a role that limits the scope of the user's use of PRK 172PRK. For example, a user 12 with a "signer" role may only be allowed to use PRK 172PRK to sign a message 152. As another example, a user 12 with a "decryptor" role may only be allowed to use PRK 172PRK to decrypt an encrypted message 152E, but not perform other actions (e.g., signing). Auditor 52 may confirm the role of user 12 when authenticating / authorizing user 12 via credentials 214. Auditor 52 may perform various other security roles. For example, auditor 52 performs certificate validation to confirm that a Transport Layer Security (TLS) certificate chain is valid.
[0043] In some implementations, KACLS 50 includes a hardware security module (HSM) or a key management service (KSM). In these implementations, after authenticating and / or authorizing the user 12a and / or the user device 10a, KACLS 50 utilizes the HSM / KSM to perform encryption / decryption operations. The HSM may be a physical computing device configured to manage and protect digital keys using various tamper-proof means. The HSM may be located outside the KACLS 50, and the KACLS 50 may transmit encryption / decryption requests to the HSM. In this way, the KACLS 50 may be primarily used as an authentication / verification gateway for the user 12a to access the HSM. That is, since the HSM typically requires a complex level of trust to be established for communications (e.g., server-to-server communications), the KACLS 50 may act as a gateway for the user 12a to access the encryption and decryption functions of the HSM.
[0044] Figure 4 4 is a flow chart of an exemplary operational arrangement of a method 400 for providing a hybrid content protection architecture for transmitting encrypted messages. The computer-implemented method 400, when executed by the data processing hardware 18 of the user device 10, causes the data processing hardware 18 to perform operations. At operation 402, the method 400 includes obtaining an encrypted message 152E encrypted with a one-time DEK 170 from the message server 160. The one-time DEK is used only to encrypt the encrypted message 152E. Operation 402 also includes obtaining an encrypted DEK 170E, the encrypted DEK including the one-time DEK 170 encrypted with the PK 172PK. At operation 404, the method 400 includes transmitting a decryption request 210 to the KACLS 50, the decryption request requesting the KACLS 50 to decrypt the encrypted DEK 170E using the PRK 172PRK associated with the PK 172PK. The decryption request 210 may include the encrypted DEK 170E. The KACLS 50 is independent of the message server 160. At operation 406, the method 400 includes receiving the one-time DEK 170 from the KACLS 50. At operation 408, the method 400 includes using the one-time DEK 170 to decrypt the encrypted message 152E.
[0045] Figure 5 is a schematic diagram of an example computing device 500 that can be used to implement the systems and methods described in this document. Computing device 500 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The components shown here, their connections and relationships, and their functions are intended to be exemplary only, and are not intended to limit implementations of the inventions described and / or claimed in this document.
[0046] The computing device 500 includes a processor 510, a memory 520, a storage device 530, a high-speed interface / controller 540 connected to the memory 520 and a high-speed expansion port 550, and a low-speed interface / controller 560 connected to a low-speed bus 570 and the storage device 530. Each of the components 510, 520, 530, 540, 550, and 560 is interconnected using various buses and can be installed on a common motherboard or installed in other ways as appropriate. The processor 510 can process instructions for execution within the computing device 500, including instructions stored in the memory 520 or on the storage device 530, to display graphical information of a graphical user interface (GUI) on an external input / output device (such as a display 580 coupled to the high-speed interface 540). In other implementations, multiple processors and / or multiple buses and multiple memories and multiple types of memories can be used as appropriate. In addition, multiple computing devices 500 can be connected, each of which provides a portion of the necessary operations (for example, as a server group, a blade server group, or a multi-processor system).
[0047] Memory 520 stores information non-temporarily within computing device 500. Memory 520 may be a computer-readable medium, a volatile memory unit, or a non-volatile memory unit. Non-temporary memory 520 may be a physical device for temporarily or permanently storing programs (e.g., instruction sequences) or data (e.g., program state information) for use by computing device 500. Examples of non-volatile memory include, but are not limited to, flash memory and read-only memory (ROM) / programmable read-only memory (PROM) / erasable programmable read-only memory (EPROM) / electronically erasable programmable read-only memory (EEPROM) (e.g., typically used for firmware, such as bootloaders). Examples of volatile memory include, but are not limited to, random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), phase change memory (PCM), and disk or tape.
[0048] Storage device 530 is capable of providing mass storage for computing device 500. In some implementations, storage device 530 is a computer-readable medium. In various different implementations, storage device 530 may be a floppy disk device, a hard disk device, an optical disk device, or a tape device, a flash memory or other similar solid-state memory device, or an array of devices (including devices in a storage area network or other configuration). In additional implementations, a computer program product is tangibly embodied in an information carrier. The computer program product includes instructions that, when executed, perform one or more methods, such as those described above. The information carrier is a computer or machine-readable medium, such as memory 520, storage device 530, or memory on processor 510.
[0049] The high-speed controller 540 manages bandwidth-intensive operations of the computing device 500, while the low-speed controller 560 manages less bandwidth-intensive operations. Such a division of responsibilities is exemplary only. In some implementations, the high-speed controller 540 is coupled to the memory 520, the display 580 (e.g., through a graphics processor or accelerator), and a high-speed expansion port 550 that can accept various expansion cards (not shown). In some implementations, the low-speed controller 560 is coupled to the storage device 530 and the low-speed expansion port 590. The low-speed expansion port 590 (which can include various communication ports (e.g., USB, Bluetooth, Ethernet, wireless Ethernet)) can be coupled to one or more input / output devices, such as a keyboard, a pointing device, a scanner, or a networking device, such as a switch or a router, for example, through a network adapter.
[0050] As shown, computing device 500 may be implemented in a variety of different forms. For example, computing device may be implemented as a standard server 500a or multiple times in a group of such servers 500a, as a laptop computer 500b, or as part of a rack server system 500c.
[0051] Various implementations of the systems and techniques described herein may be implemented in digital electronic and / or optical circuit systems, integrated circuit systems, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include implementations in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor that may be special-purpose or general-purpose and coupled to receive data and instructions from and transmit data and instructions to a storage system, at least one input device, and at least one output device.
[0052] Software applications (i.e., software resources) may refer to computer software that enables a computing device to perform tasks. In some examples, software applications may be referred to as "applications," "apps," or "programs." Example applications include, but are not limited to, system diagnostic applications, system management applications, system maintenance applications, word processing applications, spreadsheet applications, messaging applications, media streaming applications, social networking applications, and gaming applications.
[0053] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for a programmable processor and may be implemented in high-level procedural and / or object-oriented programming languages and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, non-transitory computer-readable medium, apparatus, and / or device (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0054] The processes and logic flows described in this specification can be performed by one or more programmable processors, also referred to as data processing hardware, which execute one or more computer programs to perform functions by operating on input data and generating outputs. The processes and logic flows can also be performed by a dedicated logic circuit system such as an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit). Processors suitable for executing computer programs include, by way of example, both general-purpose microprocessors and special-purpose microprocessors, and any one or more processors of any kind of digital computer. In general, the processor will receive instructions and data from a read-only memory or a random access memory or both. The basic elements of a computer are a processor for executing instructions and one or more memory devices for storing instructions and data. Typically, a computer will also include one or more mass storage devices for storing data, such as a magnetic disk, a magneto-optical disk, or an optical disk, or operatively coupled to receive data from one or more mass storage devices or to transfer data to one or more mass storage devices, or both. However, a computer does not have to have such a device. Computer-readable media suitable for storing computer program instructions and data include all forms of nonvolatile memory, media, and memory devices, including by way of example semiconductor memory devices such as EPROM, EEPROM, and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CD ROM and DVD-ROM disks. The processor and memory may be supplemented by, or incorporated in, special purpose logic circuitry.
[0055] To provide interaction with a user, one or more aspects of the present disclosure may be implemented on a computer having a display device (e.g., a CRT (cathode ray tube), an LCD (liquid crystal display) monitor, or a touch screen) for displaying information to the user, and optionally a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other kinds of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback; and input from the user may be received in any form, including sound, voice, or tactile input. In addition, the computer may interact with the user by sending documents to and receiving documents from a device used by the user; for example, by sending a web page to a web browser on a user's client device in response to a request received from the web browser.
[0056] A variety of implementations have been described. However, it should be understood that various modifications may be made without departing from the spirit and scope of the present disclosure. Therefore, other implementations are within the scope of the following claims.
Claims
1. A computer-implemented method (400) which, when executed by data processing hardware (18) of a user device (10), causes the data processing hardware (18) to perform operations comprising: Obtained from the message server (160): an encrypted message (152E), the encrypted message being encrypted using a one-time data encryption key (DEK) (170), the one-time DEK (170) being used only to encrypt the encrypted message (152E); and An encrypted DEK (170E), the encrypted DEK comprising the one-time DEK (170) encrypted with a public key (PK) (172PK); transmitting a decryption request (210) to a key access control list server (KACLS) (50) independent of the message server (160), the decryption request requesting the KACLS (50) to decrypt the encrypted DEK (170E) using a private key (PRK) (172PRK) associated with the PK (172PK), the decryption request (210) including the encrypted DEK (170E); receiving the one-time DEK (170) from the KACLS (50); and The encrypted message (152E) is decrypted using the one-time DEK (170).
2. The method (400) of claim 1, wherein the decryption request (210) is configured to cause the KACLS (50): Obtaining an encrypted PRK (172EPRK) via the message server (160), the encrypted PRK comprising the PRK (172PRK) encrypted with a KACLS encryption key (230); Decrypting the encrypted PRK (172EPRK) using the KACLS encryption key (230); decrypting the encrypted DEK (170E) using the PRK (172PRK); transmitting the one-time DEK (170) to the user device (10); and The PRK (172PRK) is discarded.
3. The method (400) of claim 2, wherein the KACLS encryption key (230) comprises a symmetric key or an asymmetric key possessed only by the KACLS (50).
4. The method (400) of any one of claims 1 to 3, wherein the decryption request (210) is configured to cause the KACLS (50): authenticating a user (12) of the user device (10) using the message server (160); and The user (12) of the user device (10) is authenticated using a third party identity provider independent of the message server (160).
5. The method (400) of any one of claims 1 to 4, wherein the operations further comprise: Get the second message (152); Generate a second one-time DEK (170); encrypting the second message (152) using the second one-time DEK (170); Transmitting an encryption request (212) to the KACLS (50), the encryption request requesting the KACLS (50) to encrypt the second one-time DEK (170) using the PRK (172PRK); receiving a second encrypted DEK (170) from the KACLS (50), the second encrypted DEK comprising the second one-time DEK (170) encrypted using the PRK (172PRK); and The encrypted second message (152E) and the second encrypted DEK (170E) are transmitted to the message server (160).
6. The method (400) of claim 5, wherein the second message (152) is obtained using an operation described by the Secure / Multipurpose Internet Mail Extensions (S / MME) standard.
7. The method (400) of any one of claims 1 to 6, wherein the message server (160) does not receive access to the PRK (172PRK) or to the decrypted message (152).
8. The method (400) of any one of claims 1 to 7, wherein the PK (172PK) and the PRK (172PRK) comprise an asymmetric key pair.
9. The method (400) of claim 8, wherein the message server (160) stores the PK (172PK).
10. The method (400) of any one of claims 1 to 9, wherein: The encrypted message (152E) comprises an email; and The message server (160) includes an email service.
11. A system (100), comprising: Data processing hardware (18) of the user device (10); as well as Memory hardware (16) in communication with the data processing hardware (18), the memory hardware (16) storing instructions that, when executed on the data processing hardware (18), cause the data processing hardware (18) to perform operations, the operations comprising: Obtained from the message server (160): an encrypted message (152E), the encrypted message being encrypted using a one-time data encryption key (DEK) (170), the one-time DEK (170) being used only to encrypt the encrypted message (152E); and An encrypted DEK (170E), the encrypted DEK comprising the one-time DEK (170) encrypted with a public key (PK) (172PK); transmitting a decryption request (210) to a key access control list server (KACLS) (50) independent of the message server (160), the decryption request requesting the KACLS (50) to decrypt the encrypted DEK (170E) using a private key (PRK) (172PRK) associated with the PK (172PK), the decryption request (210) including the encrypted DEK (170E); receiving the one-time DEK (170) from the KACLS (50); and The encrypted message (152E) is decrypted using the one-time DEK (170).
12. The system (100) of claim 11, wherein the decryption request (210) is configured to cause the KACLS (50): Obtaining an encrypted PRK (172EPRK) via the message server (160), the encrypted PRK comprising the PRK (172PRK) encrypted with a KACLS encryption key (230); Decrypting the encrypted PRK (172EPRK) using the KACLS encryption key (230); decrypting the encrypted DEK (170E) using the PRK (172PRK); transmitting the one-time DEK (170) to the user device (10); and The PRK (172PRK) is discarded.
13. The system (100) of claim 12, wherein the KACLS encryption key (230) comprises a symmetric key or an asymmetric key possessed only by the KACLS (50).
14. The system (100) of any one of claims 11 to 13, wherein the decryption request (210) is configured to cause the KACLS (50): authenticating a user (12) of the user device (10) using the message server (160); and The user (12) of the user device (10) is authenticated using a third party identity provider independent of the message server (160).
15. The system (100) of any one of claims 11 to 14, wherein the operations further comprise: Get the second message (152); Generate a second one-time DEK (170); encrypting the second message (152) using the second one-time DEK (170); Transmitting an encryption request (212) to the KACLS (50), the encryption request requesting the KACLS (50) to encrypt the second one-time DEK (170) using the PRK (172PRK); receiving a second encrypted DEK (170E) from the KACLS (50), the second encrypted DEK comprising the second one-time DEK (170) encrypted using the PRK (172PRK); and The encrypted second message (152E) and the second encrypted DEK (170E) are transmitted to the message server (160).
16. The system (100) of claim 15, wherein the second message (152) is obtained using an operation described by the Secure / Multipurpose Internet Mail Extensions (S / MME) standard.
17. The system (100) of any one of claims 11 to 16, wherein the message server (160) does not receive access to the PRK (172PRK) or to the decrypted message (152).
18. The system (100) of any one of claims 11 to 17, wherein the PK (172PK) and the PRK (172PRK) comprise an asymmetric key pair.
19. The system (100) of claim 18, wherein the message server (160) stores the PK (172PK).
20. The system (100) of any one of claims 11 to 19, wherein: The encrypted message (152E) comprises an email; and The message server (160) includes an email service.
