File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -256,6 +256,13 @@ L<the commit log|https://github.com/dolmen/github-keygen/commits/release>.
256
256
257
257
=over 4
258
258
259
+ =item v1.301
260
+
261
+ Remove C<UseRoaming> option if OpenSSH >= 7.3
262
+ (Mac OS X Sierra,
263
+ L<issue #31|https://github.com/dolmen/github-keygen/issues/31>):
264
+ this option has been removed from OpenSSH.
265
+
259
266
=item v1.300
260
267
261
268
Keys registered in F<~/.ssh/config> are now compared with keys registered on
Original file line number Diff line number Diff line change @@ -9088,7 +9088,7 @@ use Sys::Hostname;
9088
9088
9089
9089
use constant HAS_TEXT_DIFF => eval { require Text::Diff; 1 };
9090
9090
9091
- our $VERSION = ' 1.300 ' ;
9091
+ our $VERSION = ' 1.301 ' ;
9092
9092
9093
9093
use constant {
9094
9094
PROG => (File::Spec-> splitpath($0 ))[2],
@@ -9714,7 +9714,7 @@ EOF
9714
9714
# UseRoaming was an undocumented option that is a security issue
9715
9715
# if enabled when connecting to a malicious server.
9716
9716
# http://www.openssh.com/txt/release-7.1p2
9717
- $supported_options {useroaming }++ if $SSH_VERSION >= 0x5400;
9717
+ $supported_options {useroaming }++ if $SSH_VERSION >= 0x5400 && $SSH_VERSION < 0x7300 ;
9718
9718
while (<$fh >) {
9719
9719
$supported_options {lc $1 }++ if / ^\. It Cm ([A-Z]\S +)/
9720
9720
}
@@ -9741,6 +9741,12 @@ EOF
9741
9741
if ($SSH_VERSION < 0x5000) {
9742
9742
s / ^(KexAlgorithms|MACs|Control(?:Persist|Path)) / ##$1 / for @ghkg_config_lines ;
9743
9743
}
9744
+ # Option UseRoaming appeared in 5.4 (but undocumented), is deprecated in 7.2 and
9745
+ # removed in 7.3
9746
+ if ($SSH_VERSION >= 0x7300) {
9747
+ # option is deprecated in 7.2, but removed in 7.3
9748
+ @ghkg_config_lines = grep !/^UseRoaming /, @ghkg_config_lines ;
9749
+ }
9744
9750
if ($SSH_VERSION < 0x5400) {
9745
9751
s / ^(UseRoaming )/ ##$1 / for @ghkg_config_lines ;
9746
9752
}
You can’t perform that action at this time.
0 commit comments