Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command: Add tls ech for ech config generation #3273

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

chise0713
Copy link
Contributor

Imported a new third party library
Linked: #3253

 xray help tls ech
usage: xray tls ech [--serverName (string)] [--json]

Generate TLS-ECH certificates.

Set serverName to your custom string: xray tls ech --serverName (string)
Generate into json format: xray tls ech --json
 xray tls ech --json
{
  "configs": [
    "-----BEGIN ECH CONFIGS-----",
    "AGX+DQBhAAAgACB8/cOtDQ7QFb7M/K0AfPCS2JQrm3YgsaBNjs1Iy3sbWQAkAAEA",
    "AQABAAIAAQADAAIAAQACAAIAAgADAAMAAQADAAIAAwADABJjbG91ZGZsYXJlLWVj",
    "aC5jb20AAA==",
    "-----END ECH CONFIGS-----"
  ]
}
{
  "key": [
    "-----BEGIN ECH KEYS-----",
    "ACBW4nrwSSH24aOXnYfYd21HWIPi8uM8jivODHfe8GIMqQBl/g0AYQAAIAAgfP3D",
    "rQ0O0BW+zPytAHzwktiUK5t2ILGgTY7NSMt7G1kAJAABAAEAAQACAAEAAwACAAEA",
    "AgACAAIAAwADAAEAAwACAAMAAwASY2xvdWRmbGFyZS1lY2guY29tAAA=",
    "-----END ECH KEYS-----"
  ]
}

@yuhan6665 yuhan6665 merged commit cabc4c6 into XTLS:main Apr 16, 2024
34 checks passed
@yuhan6665
Copy link
Member

感谢千世 虽然加依赖不太清真 但是这次先这样吧

@Fangliding
Copy link
Member

ech都没有先搞echgenkey了()

@chise0713 chise0713 deleted the gen-ech-key-pair branch June 3, 2024 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants