Skip to content

Commit 34705fb

Browse files
authored
Merge pull request #1049 from atsign-foundation/build/use-dartssh2-fork
2 parents 5c77c2e + 9d47ec2 commit 34705fb

File tree

7 files changed

+125
-111
lines changed

7 files changed

+125
-111
lines changed

packages/dart/noports_core/lib/src/sshnp/util/ssh_session_handler/dart_ssh_session_handler.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ class SshClientHelper {
236236
},
237237
),
238238
);
239-
unawaited(socket.pipe(forward.sink));
239+
unawaited(socket.cast<List<int>>().pipe(forward.sink));
240240
}, onError: (Object error) {
241241
counter = 0;
242242
}, onDone: () {

packages/dart/noports_core/lib/src/sshnpd/sshnpd_impl.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ class SshnpdImpl implements Sshnpd {
10301030
},
10311031
),
10321032
);
1033-
unawaited(socket.pipe(connection.sink));
1033+
unawaited(socket.cast<List<int>>().pipe(connection.sink));
10341034
if (shouldStop) break;
10351035
}
10361036
}).catchError((e) {

packages/dart/noports_core/pubspec.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ dependencies:
2525
uuid: ^3.0.7
2626

2727
dependency_overrides:
28+
dartssh2:
29+
git:
30+
url: https://github.com/atsign-foundation/dartssh2
31+
ref: trunk
2832
args:
2933
git:
3034
ref: gkc/show-aliases-in-usage

packages/dart/sshnoports/pubspec.lock

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -357,11 +357,12 @@ packages:
357357
dartssh2:
358358
dependency: "direct main"
359359
description:
360-
name: dartssh2
361-
sha256: "53a230c7dd6f487b704ceef1b29323ad64d19be89e786ccbc81e157a70417a56"
362-
url: "https://pub.dev"
363-
source: hosted
364-
version: "2.8.2"
360+
path: "."
361+
ref: trunk
362+
resolved-ref: "5322be8305c884ba0a17368bcf9b0e6c09e22f88"
363+
url: "https://github.com/atsign-foundation/dartssh2"
364+
source: git
365+
version: "2.9.1-atsignfork"
365366
ecdsa:
366367
dependency: transitive
367368
description:

packages/dart/sshnoports/pubspec.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ dependencies:
1919
chalkdart: ^2.2.1
2020

2121
dependency_overrides:
22+
dartssh2:
23+
git:
24+
url: https://github.com/atsign-foundation/dartssh2
25+
ref: trunk
2226
args:
2327
git:
2428
ref: gkc/show-aliases-in-usage

0 commit comments

Comments
 (0)