Skip to content

Commit

Permalink
removed commentedout code
Browse files Browse the repository at this point in the history
  • Loading branch information
meyerjrr committed Jun 21, 2024
1 parent b40ba5f commit a1e2ddb
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions pkg/securestorage/securestorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,7 @@ func (s *SecureStorage) openKeyring() (keyring.Keyring, error) {

// Fallback encrypted file
FileDir: secureStoragePath,
// FilePasswordFunc: func(s string) (string, error) {
// in := survey.Password{Message: s}
// var out string
// withStdio := survey.WithStdio(os.Stdin, os.Stderr, os.Stderr)
// err := testable.AskOne(&in, &out, withStdio)
// return out, err
// },

FilePasswordFunc: keyring.FixedStringPrompt(os.Getenv("CF_KEYRING_FILE_PASSWORD")),
}

Expand Down

0 comments on commit a1e2ddb

Please sign in to comment.