forked from net-ssh/net-ssh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into verify-principal
- Loading branch information
Showing
50 changed files
with
1,077 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
github: [mfazekas] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,8 @@ pkg | |
test/integration/.vagrant | ||
test/integration/playbook.retry | ||
|
||
lib/net/ssh/version.rb.old | ||
|
||
.byebug_history | ||
|
||
tryout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,27 @@ | ||
=== 7.3.0 rc0 | ||
|
||
* aes(128|256)gcm [#946] | ||
|
||
=== 7.2.2 | ||
|
||
* ruby 3.3.0: base64 fix | ||
|
||
=== 7.2.1 rc1 | ||
|
||
* feat: allow load of certkey from string [#926] | ||
* fix: fix for Socket#recv returning nil on ruby 3.3.0 [#928] | ||
|
||
=== 7.2.0 | ||
|
||
* Add debugging information for algorithm of pubkey in use [#918] | ||
|
||
=== 7.2.0 rc1 | ||
|
||
* Allow IdentityAgent as option to Net::SSH.start [#912] | ||
|
||
=== 7.2.0 beta1 | ||
|
||
* Support `[email protected]` cypher if `RbNaCl` gem is installed [#908] | ||
|
||
=== 7.1.0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
### Development notes | ||
|
||
## Building/running ssh server in debug mode | ||
|
||
clone the openssh server from `https://github.com/openssh/openssh-portable` | ||
|
||
```sh | ||
brew install openssl | ||
/usr/local/Cellar/openssl@3/3.1.0/bin/openssl | ||
|
||
autoreconf | ||
./configure --with-ssl-dir=/usr/local/Cellar/openssl@3/3.1.0/ --with-audit=debug --enable-debug CPPFLAGS="-DDEBUG -DPACKET_DEBUG" CFLAGS="-g -O0" | ||
make | ||
``` | ||
|
||
To run server in debug mode: | ||
```sh | ||
echo '#' > /tmp/sshd_config | ||
ssh-keygen -t rsa -f /tmp/ssh_host_rsa_key | ||
# /Users/boga/Work/OSS/NetSSH/openssh-portable/sshd -p 2222 -D -d -d -d -e -f /tmp/sshd_config | ||
/Users/boga/Work/OSS/NetSSH/openssh-portable/sshd -p 2222 -D -d -d -d -e -f /tmp/sshd_config -h /tmp/ssh_host_rsa_key | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
source 'https://rubygems.org' | ||
|
||
ENV['NET_SSH_NO_RBNACL'] = 'true' | ||
# Specify your gem's dependencies in mygem.gemspec | ||
gemspec | ||
|
||
if ENV["CI"] && !Gem.win_platform? | ||
gem 'simplecov', require: false, group: :test | ||
gem 'codecov', require: false, group: :test | ||
end | ||
|
||
gem 'webrick', group: %i[development test] if RUBY_VERSION.split(".")[0].to_i >= 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,6 +64,7 @@ Unsecure algoritms will definitely be removed in Net::SSH 8.*. | |
| Name | Support | Details | | ||
|--------------------------------------|-----------------------|----------| | ||
| aes256-ctr / aes192-ctr / aes128-ctr | OK | | | ||
| [email protected] | OK. | Requires the gem `rbnacl` | | ||
| aes256-cbc / aes192-cbc / aes128-cbc | Deprecated in 6.0 | unsecure, will be removed in 8.0 | | ||
| [email protected] | Deprecated in 6.0 | unsecure, will be removed in 8.0 | | ||
| blowfish-ctr blowfish-cbc | Deprecated in 6.0 | unsecure, will be removed in 8.0 | | ||
|
@@ -247,6 +248,8 @@ mv gem-public_cert.pem net-ssh-public_cert.pem | |
gem cert --add net-ssh-public_cert.pem | ||
``` | ||
|
||
or `rake cert:update_public_when_expired` | ||
|
||
## Security contact information | ||
|
||
See [SECURITY.md](SECURITY.md) | ||
|
@@ -271,6 +274,9 @@ Support this project by becoming a sponsor. Your logo will show up here with a l | |
|
||
[![Sponsor](https://opencollective.com/net-ssh/sponsor/0/avatar.svg)](https://opencollective.com/net-ssh/sponsor/0/website) | ||
|
||
[<img src="https://github.com/net-ssh/net-ssh/assets/52435/9690bf3e-34ea-4c52-8aea-1cc4cb5bcb6d" width="320">](https://ubicloud.com) | ||
|
||
|
||
## LICENSE: | ||
|
||
(The MIT License) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.