-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SignedExchange: Bound certificate's validity period to 90 days
This implements WICG/webpackage#383. After this patch, SignedExchangeHandler rejects certificates that have validity period longer than 90 days, if - the validity period starts after 2019-05-01, or - the verification date is after 2019-08-01. Bug: 953165 Change-Id: I607952af6a315ca3c4f5743bc8b0dd4ae71a5057 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1569371 Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Tsuyoshi Horo <horo@chromium.org> Reviewed-by: Kouhei Ueno <kouhei@chromium.org> Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#651623} Former-commit-id: 4a0bd3fa56c8f6dcfd2696ecbce2bbf3ceaf922c
- Loading branch information
Showing
38 changed files
with
671 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
[ca] | ||
default_ca = CA_root | ||
preserve = yes | ||
|
||
[CA_root] | ||
dir = out | ||
new_certs_dir = $dir | ||
database = $dir/index.txt | ||
serial = $dir/serial | ||
certificate = ../../../../net/data/ssl/certificates/root_ca_cert.pem | ||
private_key = ../../../../net/data/ssl/certificates/root_ca_cert.pem | ||
default_md = sha256 | ||
unique_subject = no | ||
policy = policy_anything | ||
|
||
[sxg_cert] | ||
basicConstraints = CA:FALSE | ||
# OID required for sxg since d54c469 | ||
1.3.6.1.4.1.11129.2.1.22 = ASN1:NULL | ||
keyUsage = nonRepudiation, digitalSignature, keyEncipherment | ||
subjectKeyIdentifier = hash | ||
authorityKeyIdentifier = keyid,issuer | ||
subjectAltName=DNS:test.example.org | ||
|
||
[policy_anything] | ||
# Default signing policy | ||
countryName = optional | ||
stateOrProvinceName = optional | ||
localityName = optional | ||
organizationName = optional | ||
organizationalUnitName = optional | ||
commonName = optional | ||
emailAddress = optional |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.