3 Commits

Author SHA1 Message Date
eb06df9bdc always cast to int 2026-09-01 13:15:21 +02:00
a809eef125 we do not support 386 archs anymore 2026-09-01 13:10:16 +02:00
T. von Dein
497b8b3201 update go to 1.26 and dependencies (#29) 2026-09-01 10:42:56 +02:00
2 changed files with 4 additions and 1 deletions

View File

@@ -18,6 +18,8 @@ builds:
- windows
- darwin
- freebsd
goarch:
- amd64
archives:
- formats: [tar.gz]

View File

@@ -49,7 +49,8 @@ type Key struct {
func AskForPassword() ([]byte, error) {
fmt.Fprint(os.Stderr, "Password: ")
pass, err := term.ReadPassword(syscall.Stdin)
// nolint: unconvert
pass, err := term.ReadPassword(int(syscall.Stdin))
if err != nil {
return nil, fmt.Errorf("failed to read password: %w", err)
}