NeedsRemoteSigner returns true if one of the profiles has a remote set
()
| 436 | |
| 437 | // NeedsRemoteSigner returns true if one of the profiles has a remote set |
| 438 | func (p *Signing) NeedsRemoteSigner() bool { |
| 439 | for _, profile := range p.Profiles { |
| 440 | if profile.RemoteServer != "" { |
| 441 | return true |
| 442 | } |
| 443 | } |
| 444 | |
| 445 | return p.Default.RemoteServer != "" |
| 446 | } |
| 447 | |
| 448 | // NeedsLocalSigner returns true if one of the profiles doe not have a remote set |
| 449 | func (p *Signing) NeedsLocalSigner() bool { |
no outgoing calls