Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1835)

Unified Diff: chrome/browser/net/cert_logger.proto

Issue 1083493003: Encrypt certificate reports before uploading to HTTP URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add aead files to BUILD.gn Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/net/certificate_error_reporter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/cert_logger.proto
diff --git a/chrome/browser/net/cert_logger.proto b/chrome/browser/net/cert_logger.proto
index b42c5df7d5054c04d59d569322ddb5eacc0295b3..7ef828a5357beefa0f731c7271aead82e05bf62f 100644
--- a/chrome/browser/net/cert_logger.proto
+++ b/chrome/browser/net/cert_logger.proto
@@ -41,6 +41,24 @@ message CertLoggerRequest {
repeated string pin = 5;
};
+// A wrapper proto containing an encrypted CertLoggerRequest
+message EncryptedCertLoggerRequest {
+ // An encrypted, serialized CertLoggerRequest
+ required bytes encrypted_report = 1;
+ // The server public key version that was used to derive the shared secret.
+ required uint32 server_public_key_version = 2;
+ // The client public key that corresponds to the private key that was used
+ // to derive the shared secret.
+ required bytes client_public_key = 3;
+ // The encryption algorithm used to encrypt the report.
+ enum Algorithm {
+ UNKNOWN_ALGORITHM = 0;
+ AEAD_ECDH_AES_128_CTR_HMAC_SHA256 = 1;
+ }
+ optional Algorithm algorithm = 4
+ [default = AEAD_ECDH_AES_128_CTR_HMAC_SHA256];
+};
+
// The response sent back to the user.
message CertLoggerResponse {
enum ResponseCode {
@@ -53,4 +71,3 @@ message CertLoggerResponse {
};
required ResponseCode response = 1;
};
-
« no previous file with comments | « no previous file | chrome/browser/net/certificate_error_reporter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698