Skip to content

Commit

Permalink
Merge pull request #384 from fussybeaver/ND-remove-ct-logs
Browse files Browse the repository at this point in the history
Remove ct logs refs and add webpki feature in docs
  • Loading branch information
fussybeaver committed Mar 8, 2024
2 parents d258ede + 31f0b97 commit 4d80356
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ encouraged.
- `buildkit`: use [Buildkit](https://github.com/moby/buildkit) instead of
[Docker](https://github.com/moby/moby) when building images.
- `json_data_content`: Add JSON to errors on serialization failures.
- `ct_logs`: [Certificate transparency](https://certificate.transparency.dev/howctworks/)
verification (requires `ssl`).
- `webpki`: Use mozilla's root certificates instead of native root certs provided by the OS.

### Version

Expand Down
4 changes: 0 additions & 4 deletions src/docker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@ pub const API_DEFAULT_VERSION: &ClientVersion = &ClientVersion {
minor_version: 44,
};

/// 2 years from ct_logs 0.9 release
#[cfg(feature = "ct_logs")]
const TIMESTAMP_CT_LOGS_EXPIRY: u64 = 1681908462;

#[derive(Debug, Clone)]
pub(crate) enum ClientType {
#[cfg(unix)]
Expand Down
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@
//! - `buildkit`: use [Buildkit](https://github.com/moby/buildkit) instead of
//! [Docker](https://github.com/moby/moby) when building images.
//! - `json_data_content`: Add JSON to errors on serialization failures.
//! - `ct_logs`: [Certificate transparency](https://certificate.transparency.dev/howctworks/)
//! verification (requires `ssl`).
//! - `webpki`: Use mozilla's root certificates instead of native root certs provided by the OS.
//!
//! ## Version
//!
Expand Down

0 comments on commit 4d80356

Please sign in to comment.