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:
M. J. Fromberger
2022-10-29 09:39:04 -07:00
committed by Pierre Carrier
parent 39cef6f1d2
commit 687b44867e
193 changed files with 25699 additions and 4323 deletions

View File

@ -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))
}