public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
* [Bitcoin-development] Proposal to change payment protocol signing
@ 2014-04-28 12:39 Gavin Andresen
  2014-04-28 16:14 ` Mike Hearn
  2014-04-29 16:44 ` Jouke Hofman
  0 siblings, 2 replies; 5+ messages in thread
From: Gavin Andresen @ 2014-04-28 12:39 UTC (permalink / raw)
  To: Bitcoin Dev; +Cc: Andreas Schildbach

[-- Attachment #1: Type: text/plain, Size: 833 bytes --]

There is a discussion about clarifying how BIP70 signs payment requests
here:
  https://github.com/bitcoin/bips/pull/41

The issue is what to do with the signature field before signing. The code
Mike and I initially wrote does this:

    request.set_signature(string(""));

(sets signature to the empty string)

I think that is a mistake; it should be:

   request.clear_signature();

(clears signature field, so it is not serialized at all).

So: if you are implementing, or have implemented, the payment protocol,
please chime in. I'd like to change the spec and the reference
implementation NOW, while BIP70 is still a 'Draft'.

Because this type of "hey, I'm implementing your standard and it doesn't
work the way I think it should" mistake is exactly why BIPs take a while
before being declared 'Final.'


-- 
--
Gavin Andresen

[-- Attachment #2: Type: text/html, Size: 1225 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-29 19:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-28 12:39 [Bitcoin-development] Proposal to change payment protocol signing Gavin Andresen
2014-04-28 16:14 ` Mike Hearn
2014-04-28 20:53   ` Ryan X. Charles
2014-04-29 16:44 ` Jouke Hofman
2014-04-29 19:12   ` Gavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox