add trust to macOS Keychain for calling apps by default (#8826)
This commit automatically trusts the calling application with its data, avoiding all the annoying keychain popups that appears when dealing with keys (list, add...). Co-authored-by: Alessio Treglia <alessio@tendermint.com>
This commit is contained in:
parent
7a4903842f
commit
d761f088ab
|
@ -609,6 +609,7 @@ func newOSBackendKeyringConfig(appName, dir string, buf io.Reader) keyring.Confi
|
||||||
return keyring.Config{
|
return keyring.Config{
|
||||||
ServiceName: appName,
|
ServiceName: appName,
|
||||||
FileDir: dir,
|
FileDir: dir,
|
||||||
|
KeychainTrustApplication: true,
|
||||||
FilePasswordFunc: newRealPrompt(dir, buf),
|
FilePasswordFunc: newRealPrompt(dir, buf),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue