mirror of
https://github.com/rclone/rclone.git
synced 2026-01-06 02:23:24 +00:00
fs/config, lib/terminal: use golang.org/x/term
golang.org/x/crypto/ssh/terminal is deprecated in favor of golang.org/x/term, see https://pkg.go.dev/golang.org/x/crypto/ssh/terminal The latter also supports ReadPassword on solaris, so enable the respective functionality in fs/config for solaris as well.
This commit is contained in:
committed by
Nick Craig-Wood
parent
6ecbbf796e
commit
54c9c3156c
@@ -1,9 +1,8 @@
|
||||
// ReadPassword for OSes which are supported by golang.org/x/crypto/ssh/terminal
|
||||
// ReadPassword for OSes which are supported by golang.org/x/term
|
||||
// See https://github.com/golang/go/issues/14441 - plan9
|
||||
// https://github.com/golang/go/issues/13085 - solaris
|
||||
|
||||
//go:build !solaris && !plan9
|
||||
// +build !solaris,!plan9
|
||||
//go:build !plan9
|
||||
// +build !plan9
|
||||
|
||||
package config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user