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

handle bytes with rencode #84

Closed
totaam opened this issue Aug 1, 2021 · 3 comments
Closed

handle bytes with rencode #84

totaam opened this issue Aug 1, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request network

Comments

@totaam
Copy link
Collaborator

totaam commented Aug 1, 2021

Now that we have a maintainable javascript version of rencode: #18.
Same as Xpra-org/xpra#3229

@totaam
Copy link
Collaborator Author

totaam commented Aug 1, 2021

Already made some fixes:

totaam added a commit that referenced this issue Aug 3, 2021
@totaam
Copy link
Collaborator Author

totaam commented Aug 3, 2021

The new code works very well and avoids doing slow copies in the protocol code.

AES mode still needs fixing though.. (now also broken with bencode !?)

@totaam
Copy link
Collaborator Author

totaam commented Aug 3, 2021

AES and lz4 also fixed!

@totaam totaam closed this as completed Aug 3, 2021
totaam added a commit that referenced this issue Aug 8, 2021
totaam added a commit that referenced this issue Aug 9, 2021
use the simple Uint8ToString and Uint8ToString for string data
it may not be correct but it is 100% reversible whereas utf8ByteArrayToString and stringToUtf8ByteArray are not?
totaam added a commit that referenced this issue Aug 31, 2021
totaam added a commit that referenced this issue Aug 31, 2021
we do need to convert utf8 with the legacy packet encoders
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request network
Projects
None yet
Development

No branches or pull requests

1 participant