russh
russh copied to clipboard
Is Fork a four letter word?
Screenshot of https://www.reddit.com/r/rust/comments/u3s3m1/i_wrote_a_smarter_ssh_bastion_in_rust/

Idea behind this issue is to decide on the long term future of russh.
There is no rush to do so.
I'm sorry, what?
On Sat, Apr 16, 2022 at 06:19:08AM -0700, Eugeny wrote:
I'm sorry, what?
Express what the long term plans of russh are.
Merging with thrussh or staying independent?
This issue should prevent that the "reddit question" is here raised again.
Having this issue open indicates "pending", closing this issue without answering the question is OK.
(Disclaimer, I am darleyb on that image)
This issue was a bit confusing at first, but then the author explained their intent, which is similar to what I want to discuss. I have contributed to a Pijul repo in the past (zstd-seekable ) and I also tried to do some work on thrussh, but I didn't manage to find time.
@Eugeny would you have any spare time to report the errors during pijul compilation on your setup? So you could build Pijul and possibly upstream your changes. If you don't, we can discuss the nature of your patches on top of thrussh, e.g. bug fixes, so I can try to upstream them.
One thing I was trying to do a while back was adding experimental feature-gate to use a Rust Crypto crypto primitives instead of libsodium for portability reasons. Since you clearly have more experience with thrussh code, what do you think?
@stappersg I'd be happy if thrussh could merge my changes and
@darleybarreto
Hey! Regarding Pijul, on my machine, it's seeing "changes" in a freshly cloned repo:
and it's not possible to record anything while excluding these "changes" (pijul record my-changed-file-path still records everythings despite what --help says). At some point I just had to cut my losses :D
While contributing directly to thrussh would be nice, I don't strictly need to, and Pijul makes it impossible anyway, not without working from a Linux box anyway.
I've documented some of my changes as PRs, but not the unwrap removals and clippy warning fixes.
I'm not up to date on how well tested and reviewed the crypto primitives lib is, but if it is, sure, why not. I've only went with libsodium for AES-GCM because it was already there.
I did these steps:
- installed using
cargo install pijul --version "~1.0.0-beta" - cloned the repo
pijul clone https://nest.pijul.com/pijul/thrussh - changed a random file
- recorded using
pijul record -m "Adding a test."
It seemed to work.
I also found this review of Rust crypto crates (unfortunately from 2021, so probably those crates need to be audited again). But for a experimental feature gate, seems reasonable.