Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: blue Snow on October 19, 2020, 12:58:45 PM



Title: Verify Multiple Signature
Post by: blue Snow on October 19, 2020, 12:58:45 PM
Is possible to verify multiple signature?, I know it's possible to send one transaction into multiple address. but how can verify multiple proof address on one time job not one by one like this (https://bitcointalk.org/index.php?topic=5275043.msg55400502#msg55400502)?

I tried, It didn't work using electrum  ;D

https://i.postimg.cc/WbDgQCnb/el.jpg


Title: Re: Verify Multiple Signature
Post by: jackg on October 19, 2020, 01:37:01 PM
I don't know if you'll find a gui that will accept multiple signatures all at once.

You could probably make something in the console like:
addresses = list of addresses
Signatures = list of signatures
messages = list of messages
For loop in range(len(addresses))
                Print(verifysignature(messages[loop],addresses[loop],signature[loop]))

But I don't know the exact commands from memory and you'll have to know a little python...


Title: Re: Verify Multiple Signature
Post by: BrewMaster on October 19, 2020, 03:07:25 PM
since each signature you are looking at are created using different messages and different private keys they have to be dealt with individually. even in transactions when there are multiple signatures (like in multi sig transactions or a tx with multiple inputs each with one signature) the signatures have to be checked individually.

since there is no popular usage for multiple message verification at a time you won't find any tool that can do it all in one place. you'll have to write the code yourself.


Title: Re: Verify Multiple Signature
Post by: SquirrelJulietGarden on October 19, 2020, 03:49:24 PM
People can add 2 bitcoin addresses when they sign a message and that message will be use as ownership evidence for both 2 bitcoin addresses.

I can not imagine of real use cases of multiple signature verification. If it is for one people, the approach can work but if it is for multi people, I don't see it is realistic to use. There is not many time I need to verify signature of other people. Any real use in the forum to verify multi signature in one batch?


Title: Re: Verify Multiple Signature
Post by: BrewMaster on October 19, 2020, 04:03:14 PM
People can add 2 bitcoin addresses when they sign a message and that message will be use as ownership evidence for both 2 bitcoin addresses.

this sounds like an entirely different thing and it is possible to do. 2 different people can create two different keys and then share their public keys with each other to add and then come up with an aggregated signature which would be a single sig but coming from both of them. that is simplified version of what Schnorr signatures do.


Title: Re: Verify Multiple Signature
Post by: LoyceV on October 19, 2020, 06:30:24 PM
how can verify multiple proof address on one time job
See gmaxwell's post (https://bitcointalk.org/index.php?topic=5250960.msg54503083#msg54503083) :)