Discussion:
BIP for Legacy Sign Verify functions
(too old to reply)
Dan Bryant via bitcoin-dev
2017-12-21 22:26:25 UTC
Permalink
Raw Message
https://github.com/brianddk/bips/blob/legacysignverify/bip-0xyz.mediawiki

Although this is a well established functionality, it has never been
published in a BIP. My proposal is simply to provide a reference point for
future expansion of these capabilities into new address schemes.

Original reference thread [Sign / Verify message against SegWit P2SH
addresses]
Luke Dashjr via bitcoin-dev
2017-12-21 23:09:05 UTC
Permalink
Raw Message
Post by Dan Bryant via bitcoin-dev
https://github.com/brianddk/bips/blob/legacysignverify/bip-0xyz.mediawiki
It's not even correct... Your first "verify message" step is not possible; you
can't get a public key from an address.

What is actually done, is using the signature + message to perform key
recovery, to extract the public key of the signer, and then hashing that and
comparing it to the address provided.
Post by Dan Bryant via bitcoin-dev
Although this is a well established functionality, it has never been
published in a BIP. My proposal is simply to provide a reference point for
future expansion of these capabilities into new address schemes.
New schemes should probably NOT be based on the current one.

Luke
Dan Bryant via bitcoin-dev
2017-12-21 23:21:24 UTC
Permalink
Raw Message
Thank you... I've updated.
Post by Luke Dashjr via bitcoin-dev
New schemes should probably NOT be based on the current one.
Fair enough... I still think there are those who would still like an
existing sign/verify BIP to reference.
Post by Luke Dashjr via bitcoin-dev
Post by Dan Bryant via bitcoin-dev
https://github.com/brianddk/bips/blob/legacysignverify/
bip-0xyz.mediawiki
It's not even correct... Your first "verify message" step is not possible; you
can't get a public key from an address.
What is actually done, is using the signature + message to perform key
recovery, to extract the public key of the signer, and then hashing that and
comparing it to the address provided.
Post by Dan Bryant via bitcoin-dev
Although this is a well established functionality, it has never been
published in a BIP. My proposal is simply to provide a reference point
for
Post by Dan Bryant via bitcoin-dev
future expansion of these capabilities into new address schemes.
New schemes should probably NOT be based on the current one.
Luke
Aymeric Vitte via bitcoin-dev
2017-12-22 10:29:13 UTC
Permalink
Raw Message
Post by Luke Dashjr via bitcoin-dev
What is actually done, is using the signature + message to perform key
recovery, to extract the public key of the signer, and then hashing that and
comparing it to the address provided.
I already posted about this, then what is doing the pubkey in sigscript
for standard p2pkh transactions? (this was not the case some time ago)
--
Bitcoin transactions made simple: https://github.com/Ayms/bitcoin-transactions
Zcash wallets made simple: https://github.com/Ayms/zcash-wallets
Bitcoin wallets made simple: https://github.com/Ayms/bitcoin-wallets
Get the torrent dynamic blocklist: http://peersm.com/getblocklist
Check the 10 M passwords list: http://peersm.com/findmyass
Anti-spies and private torrents, dynamic blocklist: http://torrent-live.org
Peersm : http://www.peersm.com
torrent-live: https://github.com/Ayms/torrent-live
node-Tor : https://www.github.com/Ayms/node-Tor
GitHub : https://www.github.com/Ayms
Aymeric Vitte via bitcoin-dev
2017-12-22 23:06:20 UTC
Permalink
Raw Message
Scriptsig not "sigscript" below

Now you must answer this question, because this is what we call a hard fork
Post by Aymeric Vitte via bitcoin-dev
Post by Luke Dashjr via bitcoin-dev
What is actually done, is using the signature + message to perform key
recovery, to extract the public key of the signer, and then hashing that and
comparing it to the address provided.
I already posted about this, then what is doing the pubkey in sigscript
for standard p2pkh transactions? (this was not the case some time ago)
--
Bitcoin transactions made simple: https://github.com/Ayms/bitcoin-transactions
Zcash wallets made simple: https://github.com/Ayms/zcash-wallets
Bitcoin wallets made simple: https://github.com/Ayms/bitcoin-wallets
Get the torrent dynamic blocklist: http://peersm.com/getblocklist
Check the 10 M passwords list: http://peersm.com/findmyass
Anti-spies and private torrents, dynamic blocklist: http://torrent-live.org
Peersm : http://www.peersm.com
torrent-live: https://github.com/Ayms/torrent-live
node-Tor : https://www.github.com/Ayms/node-Tor
GitHub : https://www.github.com/Ayms
Loading...