b30a46e568
WIP: Replace redox_syscall with libredox
2024-09-28 16:50:25 +02:00
d582aca73f
Replace outdated rust-crypto dependency:
...
`rust-crypto` has not been updated for 8 years.
One of its dependencies, `rustc-serialize` is deprecated and does not build on Redox.
builts on `ed324eb4391491c3b1897a8ee0671533ccb41c13`
2024-09-27 21:55:10 +02:00
ed324eb439
WIP: Replace outdated rust-crypto
2024-09-26 23:18:45 +02:00
c7f81d7fc6
Add server.key to .gitignore
2024-09-26 21:30:51 +02:00
c68ba22265
Fix (clippy): Replace unit result error types with error types (result_unit_err)
...
e.g., `Result<Vec<u8>, ()>`
All remaining warnings are in regards to unused variables, methods, enum variants, fields, or unreachable patterns.
2024-09-26 16:10:41 +02:00
cedf6ce410
Fix (clippy): Several fixes
...
- Remove enum suffixes (`enum_variant_names`)
- Match de-/referencing (`match_ref_pats`)
- Unused lifetime parameter (`extra_unused_lifetimes`)
- Rename `to_raw` to `into_raw` to match convention (`wrong_self_convention`)
All remaining warnings are in regards to unused variables, methods, enum variants, fields, or unreachable patterns.
Also, unit result error types (`Result<u8, ()>`) remain (`result_unit_err`).
2024-09-26 16:04:11 +02:00
086b65038d
Fix (lints): Run clippy automatic fixes
2024-09-26 14:19:25 +02:00
d25d37a751
Replace deprecated before_exec with pre_exec
...
> [The `before_exec`] method is stable and usable, but it should be unsafe.
> To fix that, it got deprecated in favor of the unsafe [`pre_exec`].
2024-09-26 13:50:23 +02:00
86f0cc82c3
Update to Rust Edition 2021 and fix compilation errors
2024-09-26 13:43:01 +02:00
1103eb0eec
Fix warnings: trait objects without an explicit dyn are deprecated (not all of them)
...
Literally just inserts `dyn` keywords.
This was deprecated but accepted in Rust 2015 but is a hard error in Rust 2021!
2024-09-26 13:37:16 +02:00
be02f2a25f
Update dependencies & fix compilation
2024-09-26 13:30:48 +02:00
Jeremy Soller
2307ab591e
Merge branch 'patch-1' into 'master'
...
Add Gitlab CI
See merge request redox-os/redox-ssh!1
2024-04-22 21:34:22 +00:00
Jeremy Soller
8607dd6a66
Merge branch 'patch-2' into 'master'
...
Cleanup non-destructive warnings
See merge request redox-os/redox-ssh!2
2024-04-22 21:34:16 +00:00
Wildan M
16a8673948
Cleanup non-destructive warnings
2024-04-16 04:51:10 +07:00
Wildan M
593d21e593
Add Gitlab CI
2024-04-16 03:59:47 +07:00
Jeremy Soller
656f021eb9
Update dependencies
2023-03-10 09:03:43 -07:00
Jeremy Soller
8cf8b6073f
Fix compilation on Redox
2018-05-02 19:28:04 -06:00
Thomas Gatzweiler
fa05c15359
Change license and copyright
2018-04-28 12:55:50 +02:00
Thomas Gatzweiler
46e4bfab79
Implement Write for Packet
2017-07-21 21:26:34 +02:00
Thomas Gatzweiler
44a24eb38f
Change TcpStream to Read + Write trait
2017-07-21 21:20:05 +02:00
Thomas Gatzweiler
29f16ed240
Create a read thread for the PTY
2017-07-21 21:18:48 +02:00
Thomas Gatzweiler
9789c53294
Implement verbosity flag for sshd
2017-07-21 21:16:41 +02:00
Thomas Gatzweiler
af8a1ffb77
Implement channels
2017-07-20 17:31:02 +02:00
Thomas Gatzweiler
8c911fec23
Don't use TcpStream::try_clone for now
2017-07-20 14:14:31 +02:00
Thomas Gatzweiler
743cb40e39
Implement dynamic key exchange selection"
2017-07-19 17:42:45 +02:00
Thomas Gatzweiler
874f42313b
Update README.md [skip-ci]
2017-07-19 12:29:38 +02:00
Thomas Gatzweiler
712e4fd208
Implement connection threads
2017-07-19 08:50:06 +02:00
Thomas Gatzweiler
3f23c15783
Fix sequence counting bug
2017-07-19 08:32:54 +02:00
Thomas Gatzweiler
4a0d5a42df
Clean up some warnings
2017-07-19 07:07:03 +02:00
Thomas Gatzweiler
42ab772a72
Initial channel implementation
2017-07-18 22:56:07 +02:00
Thomas Gatzweiler
fe447bf443
Implement hmac-sha2-256
2017-07-18 21:09:46 +02:00
Thomas Gatzweiler
64e44de13a
Initial AES-CTR implementation
2017-07-18 15:41:33 +02:00
Thomas Gatzweiler
d71b352b54
Complete Curve25519 implementation
2017-07-18 13:37:54 +02:00
Thomas Gatzweiler
c44b63c32c
Fix bug with discarded buffer
2017-07-16 17:21:35 +02:00
Thomas Gatzweiler
673ba67f61
Add verbose option to sshd
2017-07-16 15:34:12 +02:00
Thomas Gatzweiler
86d7d48a29
Implement ConnectionError
2017-07-16 13:49:09 +02:00
Thomas Gatzweiler
cf7644a5ed
Remove threading for now
2017-07-16 11:08:56 +02:00
Thomas Gatzweiler
ba376a9add
Flush stream after writing a packet
2017-07-16 11:00:34 +02:00
Thomas Gatzweiler
85203b1f61
Fix travis build
2017-07-16 10:45:51 +02:00
Thomas Gatzweiler
b55c13cc84
Remove unneeded dependencies
2017-07-16 10:41:58 +02:00
Thomas Gatzweiler
d38742f68c
Fix travis build
2017-07-16 09:41:51 +02:00
Thomas Gatzweiler
6b9551f317
Fix travis build
2017-07-16 09:26:10 +02:00
Thomas Gatzweiler
a9fb733bea
Run cargo fmt
2017-07-16 09:13:25 +02:00
Thomas Gatzweiler
16c57380d7
Rename Session to Connection
2017-07-15 19:59:55 +02:00
Thomas Gatzweiler
5d81f21f3f
Implement server host key file
2017-07-15 15:59:37 +02:00
Thomas Gatzweiler
0a3c2cb325
Add .rustfmt.toml
2017-07-15 15:59:11 +02:00
Thomas Gatzweiler
9bdb348fa5
Add comments and better error handling
2017-07-15 14:36:01 +02:00
Thomas Gatzweiler
1806e5ac5e
Add comments and better error handling
2017-07-15 14:35:41 +02:00
Thomas Gatzweiler
4dcfe63ab5
Add ED25519 crypto system
2017-07-15 13:38:03 +02:00
Thomas Gatzweiler
6380617655
Remove forking for now (no libc on rust stable)
2017-07-15 09:41:59 +02:00