title: Codesign returned errSecInternalComponent in High Sierra
body: <p>I tried to codesign using:</p>
  
  <pre><code>/usr/bin/codesign -f -s $IDENTITY --keychain $KEYCHAIN --entitlements $ENTITLEMENTS Payload/Test.app
  </code></pre>
  
  <p>But I get an <code>errSecInternalComponent</code> error.</p>