github.com/hashicorp/vault/sdk@v0.11.0/helper/password/password.go (about)

     1  // Copyright (c) HashiCorp, Inc.
     2  // SPDX-License-Identifier: MPL-2.0
     3  
     4  // DEPRECATED: this has been moved to go-secure-stdlib and will be removed
     5  package password
     6  
     7  import (
     8  	"os"
     9  
    10  	extpassword "github.com/hashicorp/go-secure-stdlib/password"
    11  )
    12  
    13  var ErrInterrupted = extpassword.ErrInterrupted
    14  
    15  func Read(f *os.File) (string, error) {
    16  	return extpassword.Read(f)
    17  }