Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

thekuwayama/esnipubkey-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages