Skip to content

Conversation

@wawan93
Copy link

@wawan93 wawan93 commented Dec 17, 2025

The xray x25519 command in newer versions (e.g. v25.3.6+) changed its output format.

Old Format:

Private key: ...
Public key: ...

New Format:

PrivateKey: ...
Password: ...
Hash32: ...

(where Password corresponds to the public key)

I updated app/xray/core.py to robustly parse the output by converting lines into a key-value dictionary. This avoids potential regex issues and correctly detects which format is present by checking for the specific keys (Private key/Public key vs PrivateKey/Password).

Closes #1938

@VladimirFedulov
Copy link

VladimirFedulov commented Dec 26, 2025

@wawan93 hey!
As I know needs to add some code to generate subscription with VLESS Encryption

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.

CORE ERROR v25.8.31

2 participants