Bitcoin Forum
May 27, 2024, 05:24:54 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Newbies] Read this before you stake an address  (Read 163 times)
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1526
Merit: 7445


Farewell, Leo


View Profile
August 11, 2021, 12:47:08 PM
Last edit: August 11, 2021, 03:30:22 PM by BlackHatCoiner
Merited by 1miau (10), pooya87 (3), dkbit98 (2), tranthidung (1)
 #1

Staking an address requires you to understand what exactly you're doing, especially if you're a newbie. Also,
Signatures and their capabilities are complicated.

That's why I decided to create this thread; to make things less complicated for newbies and to make them know what they're doing. If you're a newbie, you probably know approximately why you should stake your address and how (with what softwares). I'll focus on how to stake it properly using your common sense.




Staking.

When you stake an address, you do it so that if you ever needed to prove your account's ownership, you can do so. The problem is that most of the times, people operate completely mechanically, as a result to not know what exactly they're doing. If you've never staked an address before, you simply go to the proper thread and leave your address that was generated from your non-custodial wallet, just like that:

Code:
This is my address, please quote it: bc1q0fc0e3e0zpve6qg2fw2tfxwnvsw5p4kae3u2yx

There's no need to provide a signed message from that address, because we know that at the moment, the owner of the account staked their first address. It is obviously theirs whether they sign a message or not.

It is advisable to use a unique address, especially one that has never received Bitcoins. You can do it, though, but it'll harm your privacy. It is better if you simply pick an address that has no connection with your transactions.


Signing.

When you'll have to provide a proof of the ownership, you'll sign and publish a message. [this is how] [this is why]

Code:
-----BEGIN BITCOIN SIGNED MESSAGE-----
I am BlackHatCoiner. Today is 08/11/2021 (15:01). This is a proof that I still own bc1q0fc0e3e0zpve6qg2fw2tfxwnvsw5p4kae3u2yx.
-----BEGIN SIGNATURE-----
bc1q0fc0e3e0zpve6qg2fw2tfxwnvsw5p4kae3u2yx
Hyi7C7hHSBN3cVV0Q3NF7poPFox49Zehs0z2WRWEV1x/ZdJUpcGWT5UUhWZylZ3SNFn0DU6ITNZgqu0goqY2C8s=
-----END BITCOIN SIGNED MESSAGE-----

If you want to stake another address, you'll have to sign a message from your old address and include your new address within it:

Code:
-----BEGIN BITCOIN SIGNED MESSAGE-----
I am BlackHatCoiner. Today is 08/11/2021 (15:01). My new signing address is bc1q2mxckeclkndcu68m5v7qhf6guwakn6en96s2mc.
-----BEGIN SIGNATURE-----
bc1q0fc0e3e0zpve6qg2fw2tfxwnvsw5p4kae3u2yx
IChf1za07r3UTa2CGlU4mVpQaHlVAK3N8yK3ViASvfbtbstLNX60TSfFml+9VAR4czTMP9Y8+yyDkB+XwZmPRlM=
-----END BITCOIN SIGNED MESSAGE-----

Note that there's absolutely no reason to sign a message from the new address, for the same reason you didn't have to do it for your first address. We know that at the moment, you've signed a message from your old address, thus we conclude that indeed it's you, and you choose to stake another address.

This could happen for lots of reasons. One may be due to the fear of the old's compromisation. If that's the case, you'll have to state in your signed message that the owner of the account is only the one who'll provide a signature from the new address and not from the old one.


Quoting and Verifying.

Now that's an optional step, only for those who want to help on the quotation and verification of the thread's addresses.

Some users may choose to stake an address along with a signed message for the first time, if they feel that staking just the address isn't enough (although I explained above why it is sufficient). If the user stakes a signed message, you ought to verify it.

IF the message can't be verified, then the user hasn't provide a valid signature. In that case, you'll respond them that they did something wrong during the procedure and by “respond” I mean that you'll quote the whole message just in case they edit their post. If that's the first time they tried to stake an address, then that's fine. They'll learn. If they had previously staked an address and want to stake another one, but can't provide you a valid signed message from the previous address, then the situation becomes suspicious.

If they successfully achieve to provide you a signed message that looks like this:

Code:
-----BEGIN BITCOIN SIGNED MESSAGE-----
I am BlackHatCoiner.
-----BEGIN SIGNATURE-----
bc1q0fc0e3e0zpve6qg2fw2tfxwnvsw5p4kae3u2yx
H1kZ1IEa3WY1LOjsyj/5rWE1bjS7dzWXaPDsXFqK3zSUcYJvAcjAxGzZn+UDoIU7sDu+nTS+i4QF4eH4fXYnVzA=
-----END BITCOIN SIGNED MESSAGE-----

You will deny it and ask for one that couldn't have been signed before. In order to ensure that the original owner hadn't signed the asked message (that a hacker could have taken from him), you'll need to ask them politely to provide you one extra thing; time. If they post a message that contains time too, then we can confirm the account's ownership.

As for your post that quotes the signed message:  It is unnecessary to provide a link that redirects the reader to a website/image that confirms the message's verification. The only necessary part is to quote it so that the readers can confirm that the account hasn't been compromised and the original message is the same. There are also some well-intentioned users who created websites that archive every post that is made. [loyce.club, ninjastic.space]



If you think that I'm somewhere wrong or that I haven't included something important please tell me.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
odolvlobo
Legendary
*
Offline Offline

Activity: 4326
Merit: 3239



View Profile
August 12, 2021, 12:38:05 AM
Last edit: August 12, 2021, 02:48:37 AM by odolvlobo
 #2

This could happen for lots of reasons. One may be due to the fear of the old's compromisation. If that's the case, you'll have to state in your signed message that the owner of the account is only the one who'll provide a signature from the new address and not from the old one.

Revoking an address this way is problematic because if a key is comprised there is no way to prove that the legitimate owner is revoking an address and not the attacker.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
pooya87
Legendary
*
Offline Offline

Activity: 3458
Merit: 10593



View Profile
August 12, 2021, 03:45:10 AM
 #3

Quote
There's no need to provide a signed message from that address
There is no need but since there are many newbies who may not be aware of what they are doing it is best if they also provide the signed message at the time of staking so that they first use an actual wallet with access to their private key and not something like an exchange and second they learn how to sign a message now not when they want to recover the account.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
tranthidung
Legendary
*
Offline Offline

Activity: 2282
Merit: 4020


Farewell o_e_l_e_o


View Profile WWW
August 12, 2021, 06:40:28 AM
 #4

IF the message can't be verified, then the user hasn't provide a valid signature.
Unverified signature can be caused by
  • Invalid signature from the signers
  • Bad / incompatible wallet software from verifiers

Not all wallet softwares support to verify signature that is signed from Segwit address.


▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1526
Merit: 7445


Farewell, Leo


View Profile
August 12, 2021, 07:11:10 AM
 #5

Revoking an address this way is problematic because if a key is comprised there is no way to prove that the legitimate owner is revoking an address and not the attacker.
Alright. In the case where no one has compromised your key and you do it preventively, the users can confirm the ownership and wait until something is mentioned about this account. If no one mentions it, then they can leave it with the belief that it's the original owner.

Let's, now, assume that an attacker compromises the owner's key and their account. In this case, they can, indeed, stake another address and revoke the previous one. But, the victim can react. For example, if we have an account that wants to revoke an address, but out of nowhere, another shows up with a signed message from the old address, we know that one of those users is an attacker. Thereafter, it may become extremely difficult to verify who's who. I believe that if the victim had an old account, they can describe some information that the attacker may be unaware of.

There is no need but since there are many newbies who may not be aware of what they are doing it is best if they also provide the signed message at the time of staking so that they first use an actual wallet with access to their private key and not something like an exchange and second they learn how to sign a message now not when they want to recover the account.
Yes, that's true. Although, I referred to non-custodial wallets; the users could also stake the wallet they used and receive the analogous feedback from bitcointalkers if they chose to stake an exchange's address.

Not all wallet softwares support to verify signature that is signed from Segwit address.
If at least one can verify it, then it's a valid signature. Yes, the SegWit verification part is a bit complex for newbies to understand. As I said above, stakers could also write the software they used.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
pooya87
Legendary
*
Offline Offline

Activity: 3458
Merit: 10593



View Profile
August 13, 2021, 05:34:36 AM
 #6

Yes, the SegWit verification part is a bit complex for newbies to understand.
To be fair there is absolutely nothing complex or new about verifying a signature from a Bech32 address compared to a signature from a Base58 address. Literary 99% of the work is the same, the only thing different is the address encoding (Bech32 vs Base58) and the first byte known as recovery ID. Even the hash algorithm is the same (HASH160).

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1526
Merit: 7445


Farewell, Leo


View Profile
November 10, 2021, 09:22:18 AM
 #7

Bump.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!