You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
180 B
Go
14 lines
180 B
Go
8 months ago
|
package credentials
|
||
|
|
||
|
import (
|
||
|
"os/exec"
|
||
|
)
|
||
|
|
||
|
func defaultCredentialsStore() string {
|
||
|
if _, err := exec.LookPath("pass"); err == nil {
|
||
|
return "pass"
|
||
|
}
|
||
|
|
||
|
return "secretservice"
|
||
|
}
|