Re: [bitcoin-dev] Sign / Verify message against SegWit P2SH addresses.

2017-12-21 Thread Dan Bryant via bitcoin-dev
legacy message sign verify BIP to get the ball rolling. early draft: https://github.com/brianddk/bips/blob/legacysignverify/bip-0xyz.mediawiki On Tue, Dec 19, 2017 at 3:36 PM, Pavol Rusnak wrote: > On 08/12/17 19:25, Dan Bryant via bitcoin-dev wrote: > > I know there are posts, and an issue ope

Re: [bitcoin-dev] Sign / Verify message against SegWit P2SH addresses.

2017-12-21 Thread Jason Dreyzehner via bitcoin-dev
You might be interested in this proposal, which is very similar. The repo contains a very basic implementation in typescript: https://github.com/bitauth/bitauth2017/blob/master/bips/0-bitauth.mediawiki https://github.com/bitauth/bitauth2017/ On Tue, Dec 19, 2017 at 4:59 PM Mark Friedenbach via bi

Re: [bitcoin-dev] Sign / Verify message against SegWit P2SH addresses.

2017-12-21 Thread Mark Friedenbach via bitcoin-dev
8 AM > To: Pavol Rusnak; Bitcoin Protocol Discussion > Subject: Re: [bitcoin-dev] Sign / Verify message against SegWit P2SH > addresses. > > For what it’s worth, I think it would be quite easy to do better than the > implied solution of rejiggering the message signing system to

[bitcoin-dev] Sign / Verify message against SegWit P2SH addresses.

2017-12-21 Thread Damian Williamson via bitcoin-dev
Mark Friedenbach via bitcoin-dev Sent: Wednesday, 20 December 2017 8:58 AM To: Pavol Rusnak; Bitcoin Protocol Discussion Subject: Re: [bitcoin-dev] Sign / Verify message against SegWit P2SH addresses. For what it’s worth, I think it would be quite easy to do better than the implied solution of rejigg

Re: [bitcoin-dev] Sign / Verify message against SegWit P2SH addresses.

2017-12-19 Thread Mark Friedenbach via bitcoin-dev
For what it’s worth, I think it would be quite easy to do better than the implied solution of rejiggering the message signing system to support non-P2PKH scripts. Instead, have the signature be an actual bitcoin transaction with inputs that have the script being signed. Use the salted hash of th

Re: [bitcoin-dev] Sign / Verify message against SegWit P2SH addresses.

2017-12-19 Thread Pavol Rusnak via bitcoin-dev
On 08/12/17 19:25, Dan Bryant via bitcoin-dev wrote: > I know there are posts, and an issue opened against it, but is there > anyone writing a BIP for Sign / Verify message against a SegWit address? Dan, are you still planning to write this BIP? -- Best Regards / S pozdravom, Pavol "stick" Rusn

Re: [bitcoin-dev] Sign / Verify message against SegWit P2SH addresses.

2017-12-09 Thread Sjors Provoost via bitcoin-dev
I would like to see this specifically for P2SH-PWPKH and/or native SegWit bech32 addresses. Use cases I can think of are "I'm the whale in charge of these funds, listen to me" and some form of polling. It's nice if funds aren't excluded from these type of functionalities just because they have

[bitcoin-dev] Sign / Verify message against SegWit P2SH addresses.

2017-12-08 Thread Dan Bryant via bitcoin-dev
I know there are posts, and an issue opened against it, but is there anyone writing a BIP for Sign / Verify message against a SegWit address? I realize it is not a feature in wide use, but I think it still serves an important purpose, such as when proof of assets are requested. ref: https://githu