- Apr 04, 2023
-
-
Matt Johnston authored
Not perfect, it won't handle -a option etc after the hostname
-
Matt Johnston authored
Is now sufficient to run "sftp -S sunsetc"
-
- Apr 03, 2023
-
-
Matt Johnston authored
The Behaviour makes a separate request for pty or shell etc once the channel is established. This gets rid of InitReqs which wasted space. Subsystem is also supported (not tested yet)
-
- Apr 02, 2023
-
-
Matt Johnston authored
Doesn't do anything, but response with Failure rather than Unimplemented
-
Matt Johnston authored
The async trait requires nightly to build
-
Matt Johnston authored
Do away with the lifetime failures by removing the 'm lifetime altogether.
-
Matt Johnston authored
This adds a mess of <C: CliBehaviour, S: ServBehaviour> all over the place. It's an experiment, perhaps it can be tidied. sshclient/CmdlineClient has lifetime problems to fix.
-
Matt Johnston authored
Not currently used or tested, pending figuring how to do an async agent_sign() in CliBehaviour.
-
Matt Johnston authored
Our own type doesn't implement std::error::Error, which makes it easier to add a From<std::error:Error> impl to simplify the error paths.
-
Matt Johnston authored
This is simpler and avoids needing to add an 'alloc' feature to Salty
-
Matt Johnston authored
-
- Mar 29, 2023
-
-
Matt Johnston authored
-
Matt Johnston authored
-
Matt Johnston authored
-
- Mar 15, 2023
-
-
Matt Johnston authored
-
Matt Johnston authored
-
- Mar 13, 2023
-
-
Matt Johnston authored
Split things in preparation of giving picow hardware-specific menus
-
Matt Johnston authored
The note in rfc4253 seems informational rather than a requirement. OpenSSH sends chacha20poly1305 packets shorter than that (such as newkeys).
-
Matt Johnston authored
-
- Mar 12, 2023
-
-
Matt Johnston authored
Most kex state is now removed from conn.rs, pushed in to kex.rs instead. Kex becomes a state enum, orthogonal to ConnState. Key derivation is moved to kex (from encrypt), and KexOutput now doesn't need a full Keys, only an interim result. The code seems nicer though picow binary size seems to have increased. Possibly compute_key() moving had some effect? This still has problems with a connection rekeying (~R), needs debugging
-
- Mar 10, 2023
-
-
Matt Johnston authored
Add a romfw feature for development firmware
-
- Mar 06, 2023
-
-
Matt Johnston authored
-
Matt Johnston authored
-
Matt Johnston authored
- Fix all warnings - Add testing/ci.sh to build everything - Remove unused dependencies - Add more README - Fix embassy demo not exiting - Set clm and power for cyw43 - Fix cleanup when a channel open fails - Add Behaviour::disconnected() - Various better comments and docs
-
Matt Johnston authored
-
Matt Johnston authored
-
Matt Johnston authored
Avoids having to keep putting env vars in the build
-
Matt Johnston authored
-
Matt Johnston authored
RP2040 doesn't have atomic usize add/sub in rust core
-
Matt Johnston authored
- The embassy layer refcounts channels, calling runner.channel_done() once all are released. This needs more testing. It would be preferable to have the refcount in sunset::channel::Channels but that isn't possible since it would need to be called in an async method to take the EmbassySunset::Inner lock. That can't be done because it runs from ChanIO's drop, which isn't async. - Set deny(unused_must_use) to avoid surprises
-
- Mar 04, 2023
-
-
Matt Johnston authored
-
Matt Johnston authored
-
- Mar 03, 2023
-
-
Matt Johnston authored
- Reworked embassy future exit/cancellation - embassy/demo server uses ChanInOut objects etc, fixed auth code - Reduced MAX_CHANNELS to 2. Channels are larger than desirable due to the init_req.
-
Matt Johnston authored
Not currently used, unsure if it's necessary and it's fairly messy.
-
- Feb 27, 2023
-
-
Matt Johnston authored
-
Matt Johnston authored
-
Matt Johnston authored
- Pty handling - Send window-change messages when terminal is resized - Add '-T' - Exit when the session closes
-
- Feb 26, 2023
-
-
Matt Johnston authored
-
Matt Johnston authored
Epoll doesn't handle standard files, so ./con1 > /dev/null failed. Instead we use the non-async FD since it shouldn't block anyway.
-
- Feb 25, 2023
-
-
Matt Johnston authored
-