Bitcoin Forum
May 05, 2024, 05:53:49 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Extend BIP 21  (Read 538 times)
AliceWonderMiscreations (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 107


View Profile WWW
February 14, 2016, 08:03:11 PM
Merited by ABCbits (1)
 #1

Currently BIP 21 has :

Code:
bitcoinurn     = "bitcoin:" bitcoinaddress [ "?" bitcoinparams ]

I would like to optionally replace bitcoinaddress with a domain name of a TLS payment server that a client can connect to to retrieve the address.

e.g. bitcoin:payment.swampland.rich

When a client encounters such a URI it does a DNS lookup for a TLSA record associated with TCP port 443 for that domain and does a DNSSEC validation of the fingerprint. The client then (e.g. through libcurl) may make a connection to the domain, which will be a DNSSEC validating domain, to retrieve the actual payment address.

When a domain name is used in place of a bitcoinaddress, a new bitcoinparams parameter MUST be used, I propose cid for the parameter name. The keyword _fresh indicates the client is seeking a fresh address (e.g. for donation purposes). Otherwise it contains a transaction identification of some sort, such as a shopping cart identification number.

The bitcoin client will send the parameter as an http header when it connects to the specified URL.

Optionally a parameter vtx may also exist, that specifies a transaction fee that may be deducted from the payment amount and included in the transaction. This would allow commerce sites to specify a higher transaction fee that is taken from the final price but allows faster confirmation in the blockchain with the higher tx fee being deducted from the shopping cart amount.

The bitcoin client makes a TLS connection validating the fingerprint matches the TLSA record, and the server can use the cid parameter sent as a header to find and return the bitcoin address associated with the cid so that the client can create the transaction.

This I believe would make bitcoin easier to use, and help avoid the malware issues where a bitcoin address in the clipboard is modified to an address controlled by an attacker.

If DNSSEC is required from the start, it will not be susceptible to most DNS based attacks.

-=-

We use DNS to avoid humans needing to interact with IP addresses, even though IP addresses often are stable. It's about time something be done to make bitcoin addresses which often are single use friendlier for people to use.

I hereby reserve the right to sometimes be wrong
1714931629
Hero Member
*
Offline Offline

Posts: 1714931629

View Profile Personal Message (Offline)

Ignore
1714931629
Reply with quote  #2

1714931629
Report to moderator
1714931629
Hero Member
*
Offline Offline

Posts: 1714931629

View Profile Personal Message (Offline)

Ignore
1714931629
Reply with quote  #2

1714931629
Report to moderator
1714931629
Hero Member
*
Offline Offline

Posts: 1714931629

View Profile Personal Message (Offline)

Ignore
1714931629
Reply with quote  #2

1714931629
Report to moderator
The trust scores you see are subjective; they will change depending on who you have in your trust list.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714931629
Hero Member
*
Offline Offline

Posts: 1714931629

View Profile Personal Message (Offline)

Ignore
1714931629
Reply with quote  #2

1714931629
Report to moderator
1714931629
Hero Member
*
Offline Offline

Posts: 1714931629

View Profile Personal Message (Offline)

Ignore
1714931629
Reply with quote  #2

1714931629
Report to moderator
AliceWonderMiscreations (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 107


View Profile WWW
February 14, 2016, 08:11:07 PM
 #2

Also with DANE the x.509 certificate used on the server can be self-signed, so that what certificate authorities are valid don't need to be specified.

I hereby reserve the right to sometimes be wrong
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
February 14, 2016, 08:13:17 PM
 #3

Write this up in BIP form and submit it the the BIPs repository and the bitcoin-dev mailing list.

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!