Update module dependencies.
- github.com/creachadair/otp to v0.4.0 - golang.org/x/crypto to v0.1.0 - Update go mod vendor - Update gofmt (changes from 1.19) - Update CI configuration. - Fix CI status badge. No functional changes.
This commit is contained in:

committed by
Pierre Carrier

parent
39cef6f1d2
commit
687b44867e
4
gauth.go
4
gauth.go
@ -11,7 +11,7 @@ import (
|
||||
"text/tabwriter"
|
||||
|
||||
"github.com/pcarrier/gauth/gauth"
|
||||
"golang.org/x/crypto/ssh/terminal"
|
||||
"golang.org/x/term"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@ -52,5 +52,5 @@ func main() {
|
||||
func getPassword() ([]byte, error) {
|
||||
fmt.Printf("Encryption password: ")
|
||||
defer fmt.Println()
|
||||
return terminal.ReadPassword(int(syscall.Stdin))
|
||||
return term.ReadPassword(int(syscall.Stdin))
|
||||
}
|
||||
|
Reference in New Issue
Block a user