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
|
@ -607,9 +607,10 @@ func SignWithLedger(info Info, msg []byte) (sig []byte, pub types.PubKey, err er
|
|||
|
||||
func newOSBackendKeyringConfig(appName, dir string, buf io.Reader) keyring.Config {
|
||||
return keyring.Config{
|
||||
ServiceName: appName,
|
||||
FileDir: dir,
|
||||
FilePasswordFunc: newRealPrompt(dir, buf),
|
||||
ServiceName: appName,
|
||||
FileDir: dir,
|
||||
KeychainTrustApplication: true,
|
||||
FilePasswordFunc: newRealPrompt(dir, buf),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue