thekuwayama / esnipubkey-rs

CLI to fetch ESNI public key

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

esnipubkey-rs

Actions Status MIT licensed

esnipubkey-rs is CLI to fetch ESNI public key.

Install

You can install esnipubkey-rs with the following:

$ cargo install --git https://github.com/thekuwayama/esnipubkey-rs.git --branch main

Usage

$ esnipubkey --help
esnipubkey 0.1.0
CLI to fetch ESNI public key

USAGE:
    esnipubkey [FLAGS] <name>

FLAGS:
    -h, --help       Prints help information
        --hex        Prints ESNIKeys in hex
    -V, --version    Prints version information

ARGS:
    <name>    Query Name
$ esnipubkey cloudflare.com
ESNIKeys {
    version: "ff01",
    checksum: "[f8, b1, e1, 6e]",
    keys: [
        KeyShareEntry {
            group: 29,
            key_exchange: "[01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01]",
        }
    ],
    cipher_suites: "[(13, 01)]",
    padded_length: 260,
    not_before: "Sat, 26 Dec 2020 04:00:00 +0900",
    not_after: "Fri, 01 Jan 2021 04:00:00 +0900",
    extensions: [],
}

Note

refer: Before ECH there was (and is!) ESNI

License

The CLI is available as open source under the terms of the MIT License.

About

CLI to fetch ESNI public key

License:MIT License


Languages

Language:Rust 100.0%