mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-11-04 12:37:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			363 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			363 B
		
	
	
	
		
			Go
		
	
	
	
	
	
// Copyright (c) HashiCorp, Inc.
 | 
						|
// SPDX-License-Identifier: MPL-2.0
 | 
						|
 | 
						|
// DEPRECATED: this has been moved to go-secure-stdlib and will be removed
 | 
						|
package password
 | 
						|
 | 
						|
import (
 | 
						|
	"os"
 | 
						|
 | 
						|
	extpassword "github.com/hashicorp/go-secure-stdlib/password"
 | 
						|
)
 | 
						|
 | 
						|
var ErrInterrupted = extpassword.ErrInterrupted
 | 
						|
 | 
						|
func Read(f *os.File) (string, error) {
 | 
						|
	return extpassword.Read(f)
 | 
						|
}
 |