Questions tagged [signature]

This tag should be used for questions regarding digital signatures. A digital signature proves that the owner of a private key produced or endorsed a given message. These are used in transactions to prove that an output can be spent in a transaction.

Filter by
Sorted by
Tagged with
-1
votes
1answer
89 views

How to get Z value from bitcoin transaction for specific input [duplicate]

How to get Z Value from Bitcoin Transaction when there are multiple inputs. (Program on github find R S Z sigs for only first input from transaction, Other Sites which used to perform these are all ...
0
votes
0answers
43 views

What is the best site/tool/way for finding the RSZ values of a bitcoin transaction? [duplicate]

The two most popular sites for doing this are down which are https://2coin.org/ and https://2xoin.com/getRSZfromRawTX/ with no indication they'll ever return to be usable. Can anyone here link any ...
6
votes
1answer
347 views

Why is it important that nonces when signing not be related?

I understand that if nonces (usually denoted k in the signature algorithm) are related signing with the same public key that this reveals information about the private key. I would like to get a ...
1
vote
1answer
33 views

Are there possible attack/failure scenarios when no new nodes verify old signatures anymore (keeping the assumevalid defaults)?

This question came up in a recent discussion with Hasu and I was wondering if there is a good/practical reason why a newly syncing node should change the assumevalid option to 0 (verifying all the ...
-1
votes
0answers
56 views

How to get all r,s,z from 1 bitcoin address?

How to get all r,s,z from 1 bitcoin address ? Looking for a scrypt or paid/free service. Regards
-2
votes
1answer
56 views

How to get bitcoin transaction nonce from transaction signature?

Subj. Looking for a code for calculate/get bitcoin transaction nonce. Help me please. ??? Thank you.
0
votes
1answer
32 views

how target walled address is secure to save received amount?

What about if I (as a hacker) change the amount from 5 to 1 for any transaction and put signature with my (as a hacker) Private Key and mine that block again. Yes, I lose 1 coin, At the same time isn'...
0
votes
1answer
35 views

Why is signature S value is unnecessarily high not safe?

I get frequent warning when sending RawTX to PushTX message (Non-canonical signature: S value is unnecessarily high) Why is signature S with a large value dangerous (that is, when the first HEX ...
0
votes
0answers
29 views

Signing a transaction(Signature must be zero for failed CHECK(MULTI)SIG operation)

I try to sign raw transaction. Here is the instruction I used for it Redeeming a raw transaction step by step example required Python code I used to sign the transaction import hashlib import codecs ...
1
vote
4answers
93 views

If the nodes are what keep Bitcoin decentralized, what if some big internet company spun up 60%+ majority nodes?

If the nodes are what keep Bitcoin decentralized, what if some big internet company spun up 60%+ majority nodes? What’s stopping them from manipulating the blockchain to change transactions?
1
vote
1answer
66 views

What exactly is signed in "prev_out"?

What is signed by scriptSig? I use my private key to sign data from the unspent transaction? I sign the "prev_out" object? I read that the signature in "prev_out" is there to ...
0
votes
2answers
131 views

Signature doesn't prove that the owner of a Private Key produced a given message

Let's assume I am a developer of Bitcoin wallet. If I create a private key without implementing a seed phrase methodology (not using the principles of BIP32 and BIP39), is there at least the slightest ...
1
vote
1answer
48 views

How to get Y from X

Ok, so I get address generation now, and I understand that X is hashed, however for verification of a signature, we need the public point, (x,y) How would one get Y from X? Lets take an example, im ...
0
votes
0answers
28 views

Which elements of a P2PKH transaction are signed by default, and how is the signature used?

I'm working through the developer guide on bitcoin.org and there is a part of the section on transactions which isn't very clear. This diagram shows the elements of a transaction which are signed ...
0
votes
0answers
45 views

Transaction signing and security: Different signing approaches

I am currently studying for an exam and reviewing a past one from the CS 251: Bitcoin and Crypto Currencies course in Stanford with the following question on transaction signing. I have written my ...
1
vote
0answers
51 views

Why is adding s values in half aggregation insecure?

Jonas Nick an Tim Ruffing discussed in a presentation that summing up the s values in signature half aggregation would be insecure (without giving the reason) They presented a secure solution which ...
1
vote
1answer
100 views

Why is full blockwide signature aggregation of schnorr signatures non-interactive?

I can only think of the MuSig paper describing how Rouge attacks are prevented by also committing to the public key of all signers. But as far as I understand the case of multisig is not the same as ...
4
votes
1answer
194 views

Why does blockwide signature aggregation prevent adaptor signatures?

In a recent video about half signatures, Jonas Nick mentions that blockwide signature aggregation interferes with adaptor signatures and offering atomic swaps (I guess via PTLCs). I am confused about ...
1
vote
1answer
88 views

Creating Witness Signature: non-mandatory-script-verify-flag (Signature must be zero for failed CHECK(MULTI)SIG operation)

So I am trying to do my own witness signatures as described in bip143. I have code that correctly verifies the example signature, so I thought I had a hold of the basic signing and verification. I ...
0
votes
1answer
101 views

Is this a transaction?

I found an old wallet.dat but i dont know what is this. Is it a transaction that is not signed? If yes please help. I dont have a clue about cryptography. I have read and seen some tutorials but i ...
2
votes
2answers
89 views

The example signature in BIP143 doesn't validate?

In BIP143 the first example has a witness signature and it doesn't appear to validate/be correct?! I wrote a super simple python program to demonstrate import ecdsa import asn1 #Importing the 3 ...
0
votes
1answer
49 views

bip143 witness formatting

in bip143 thet define a witness signature. In the first example there is a witness broken down witness 00 02 ...
1
vote
1answer
87 views

What does bitcoin do that prevents someone from using your coins by just generating a key pair and saying "you" sent those coins?

I think I'm missing and understanding about the current process of how your wallet works and how the transactions are signed. For example, if I'm user "A" and there exists a transaction from ...
0
votes
1answer
39 views

What is the data structure of the signature cache in Bitcoin?

There is a signature cache in Bitcoin, which is used to cache the result of signature verification to avoid extra signature verification. What data is stored in the signature cache? Is it stored in ...
-1
votes
1answer
66 views

Orderly Transition Away from ECC? Or Bitcoin to zero?

Let's say asymmetric public key cryptography is wide open, and can be broken using a public key or the signature. Namely, that I can determine the private key using the information revealed in a ...
1
vote
1answer
45 views

Are high-s ECDSA signatures forbidden in segwit witnesses?

I must have looked that up five times by now, but did segwit actually forbid high-s ECDSA signatures in witnesses, esp. in standard single-sig constructions such as P2SH-P2WPKH or P2WPKH? Or are high-...
0
votes
2answers
229 views

How to prove wallet ownership? [duplicate]

Context I would like to verify being A has access to a wallet and hence would like to ask them to pay a minimum amount to a particular wallet address owned by someone other than me, e.g. ...
0
votes
0answers
22 views

Sign rawtransaction with private key without running a btc node

I have a tx raw and I want to sign it with my private key without running the btc node is there any library in C/C++ that I can do it?
3
votes
1answer
82 views

Are UTXOs signed with a private key?

Are UTXOs signed by a private key? I'm trying to understand exactly which parts of Bitcoin use public and private keys. You need a private key in order to generate transaction output, and to create a ...
4
votes
1answer
233 views

Are Bitcoin's blocks signed by the miner?

To my understanding, at no point in the Bitcoin Whitepaper does it say that blocks are signed by the miner. However, one could see the advantage of having blocks signed. Thus I wonder if in the ...
0
votes
0answers
29 views

Locally Sign transactions Blockcypher API

I'm having a problem that I can't solve since yesterday with the blockCypher APIs when I try to create a new transaction and submit it. https://www.blockcypher.com/dev/bitcoin/?shell#creating-...
3
votes
1answer
75 views

How to verify a lnurl-auth callback with python

I want to create a Python implementation of an lnurl-auth server. I started a quick HTTP server to be the callback url, and captured the signed callback sent by BLW on Android. ?tag=login &k1=...
0
votes
0answers
30 views

RPC to sign PSBT with private key

What is the PSBT related RPC which works similar to signrawtransactionwithkey ?
0
votes
0answers
28 views

Can Block-version signalling still be implemented and how to do that with the current code base?

There is a generation of softforks used the block header's nVersion field for signalling (up to the year 2015). Each of those used a subsequent version numbers (BIP34 used version 2; BIP66 used ...
0
votes
2answers
205 views

Deleting Electrum wallet and setting up new one

I set up an Electrum wallet before I learnt that you should verify the signature. While I went straight to the electrum.org website to download it, I would still like to be secure, just in case. So I ...
0
votes
0answers
51 views

blockchain scanning

Hello friends please let me know that is there any script that can scan the entire blockchain and extract the signature values and find the match of given input. lets suppose i give the input "...
0
votes
0answers
16 views

How to create signature for the payload (data)using private key in java with bitcoinj? [duplicate]

I have private key as 'cUN9LNcEC54HAbWAwUs6coPSc72TcQYzxf4qSqdHJPVKSapeHzFj' and payload as 'hello', now how to create the signature for this payload using private key in java with bitcoinj library? ...
0
votes
2answers
94 views

How is the random number R for transaction signatures created?

I wonder about the random number used in signatures that result in R values ? x coordinate R = G(k) How is it created? Does it have a specific chars length? Is there a specific random generator used, ...
2
votes
1answer
123 views

p2pkh vs. p2pk keeping public key private

I just got into learning Bitcoin programming through Jimmy Song's Programming Bitcoin. Jimmy says that some of p2pkh's advantages over p2pk include: a smaller ScriptPubKey keeping one's public key ...
0
votes
1answer
73 views

Random Number In R Value , what is it actually, is it the same as Nonce in the blocks

I wonder about the random number in R value ... if i am right , the R value is First part of the script signature which is combined of two parts (r,s) r = Gk (elliptic curve scalar multiplication) Or ...
0
votes
1answer
30 views

How New Bitcoin Addresses not using Signature ? Only witness or Very Short Signature?

I have Noticed Something strange to me Newly Used Bitcoin Addresses show repeated very short Signatures and Multiple Witness ?? and Some not even any signature for the transaction ? what is happening ...
0
votes
1answer
85 views

Can't Make Sense of Why OP_CHECKSIG Fails Here

I'm try to get to grips with verifying the signature of a P2PKH transaction. I have an example transaction: 9ec4bc49e828d924af1d1029cacf709431abbde46d59554b62bc270e3b29c4b1 I am trying to verify the ...
0
votes
1answer
25 views

Distinguishing bitcoin deposits

If i had a central Bitcoin wallet, and then allowed 3 different people to deposit bitcoin into that address, would there be anyway to distinguish who they are, without knowing who's address is who, i ...
0
votes
1answer
69 views

Error while broadcasting the raw bitcoin testnet transaction

I am trying to create a simple P2PKH raw bitcoin testnet transaction from the scratch. Here is the information about the transaction: hash of the UTXO consumed - ...
4
votes
1answer
229 views

Why does Bitcoin use ECDSA, instead of plain old hashing, to secure transaction outputs?

For example, let’s say I pick a random secret and hash it. Now, in the hypothetical hash-based scheme, my hash effectively replaces my public-key hash, and my random secret effectively replaces my ...
2
votes
2answers
109 views

Does every transaction have the same signature?

I want to know whether the bitcoin network generates the same signature for each transaction, because people have only one signature?
0
votes
1answer
89 views

signing multiple input raw transaction - algorithm and sighash types [duplicate]

I have an unsigned raw transaction: ...
0
votes
1answer
77 views

How can be proven that a signature is valid with it's public key

If someone wants to make a transaction, they need to sign the transaction data with their private key. For example Sign(transactionData, privateKey) creates the signature. What is exactly this Sign ...
0
votes
1answer
114 views

How can I sign a bitcoin address that is on a paper wallet?

I have a bitcoin address that shows I held the BTC prior to December 2019. I need to verify this but as the address refers to a paper wallet I don't seem to be able to do so. If I move the coin to ...
3
votes
1answer
103 views

What does signing a transaction mean?

What do people exactly mean when they say the person "signs" the transaction to transfer bitcoins? Is it decrypting the previous output with your private key and encrypting it with the new ...

1
2 3 4 5
8