Skip to content

Commit

Permalink
verification_real_world: update 1password test data comments
Browse files Browse the repository at this point in the history
* Fix the date the files were vendored
* Fix the validity period
* Fix the ref to the tool used to update them
  • Loading branch information
cpu authored and complexspaces committed Jan 4, 2024
1 parent 22725b9 commit dc8de0a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ use rustls::{client::ServerCertVerifier, CertificateError, Error as TlsError};
use std::convert::TryFrom;

// This is the certificate chain presented by one server for
// my.1password.com when this test was updated 2022-09-22. It is
// my.1password.com when this test was updated 2023-08-01. It is
// valid for *.1password.com and 1password.com from
// "Jul 24 00:00:00 2022 GMT" through "Aug 22 23:59:59 2023 GMT".
// "Jun 24 00:00:00 2023 GMT" through "Jul 22 23:59:59 2024 GMT".
//
// Use this to template view the certificate using OpenSSL:
// ```sh
// openssl x509 -inform der -text -in 1password_com_valid_1.crt | less
// ```
//
// You can update the cert file with `update_valid_1_cert.bash`
// You can update the cert file with `update_valid_ee_certs.rs`
const VALID_1PASSWORD_COM_CHAIN: &[&[u8]] = &[
include_bytes!("1password_com_valid_1.crt"),
include_bytes!("1password_com_valid_2.crt"),
Expand Down

0 comments on commit dc8de0a

Please sign in to comment.