title: Android In-App Billing : Security.java says "Signature Verification Failed"
body: <p>I have implemented a test app with Android's In-App Billing. I have filled in my Public Key in the Security.java file. Everything works, but when I submit the payment, the app crashes. I receive an error in LogCat that says "Signature Verification Failed", which corresponds to this bit of code:</p>
  
  <pre><code>if (!sig.verify(Base64.decode(signature))) {
                  Log.e(TAG, "Signature verification failed.");
                  return false;
  }
  </code></pre>
  
  <p>If I change that bit to return true instead of return false, then everything works properly - I can submit payment and safely return to the app - but I am assuming that something else is wrong, since I probably should change that to return true.</p>
  
  <p>Any ideas about what could be causing this?</p>