sipa changed the topic of #bitcoin-wizards to: This channel is for discussing theoretical ideas with regard to cryptocurrencies, not about short-term Bitcoin development | http://bitcoin.ninja/ | This channel is logged. | For logs and more information, visit http://bitcoin.ninja
TheoStorm has quit [Remote host closed the connection]
belcher has quit [Ping timeout: 264 seconds]
belcher has joined #bitcoin-wizards
DeadWeen has quit [Ping timeout: 240 seconds]
<michaelfolkson>
Might be missing something basic but when the bech32m draft BIP says "This does not affect existing uses of witness version 0 BIP173 addresses due to their restriction to two specific lengths"
<michaelfolkson>
Could you not take a P2WPKH bech32 (42 characters) and insert 20 q characters to get a P2WSH bech32 (62 characters)?
<michaelfolkson>
I guess it would look weird visually to have 20 q characters
gribble has quit [Remote host closed the connection]
ddustin_ has joined #bitcoin-wizards
ddustin has quit [Ping timeout: 260 seconds]
gribble has joined #bitcoin-wizards
<michaelfolkson>
I'm presuming the plan is that SegWit v1 addresses will also start bc1. Could change the separator so it is bc2 but 2 is in the bech32 character set
<pinheadmz>
michaelfolkson well segwit v1 addresses will have a "p" after the separator instead of a "q"
<pinheadmz>
I was reading 173 trying to answer your first question, and I think I found a typo:
<michaelfolkson>
Ah gotcha the witness version actually is already in the bech32 address
<michaelfolkson>
Thanks, missed that
<pinheadmz>
michaelfolkson did you figure out if v0 addresses are vulnerable to adding 20 q's ?
<michaelfolkson>
pinheadmz: Nope not yet
<michaelfolkson>
In theory you could also delete 20 qs (if there were 20 qs) but probability of that is ~0
<pinheadmz>
heh a script hash address where the hash of the script ends in like 12 0's... could be a valid address but doubtful there is a script that matches
<pinheadmz>
also the math is a little funny because each character represents 5 bits
StopAndDecrypt has joined #bitcoin-wizards
<pinheadmz>
so 20 q's is 100 bits which is 12.5 bytes - so that cant be valid right?
<pinheadmz>
oh bip173 says pad with zeros if needed never mind
<michaelfolkson>
Applying bech32m to existing SegWit v0 would presumably make it confusing for wallets, that's the only reason for not doing that right?
<michaelfolkson>
You could have bech32 SegWit v0 and bech32m SegWit v0 addresses in theory
<michaelfolkson>
Would run the two checksum algorithms on the SegWit v0 address to work out if it is a valid SegWit v0 bech32 or a valid SegWit v0 bech32m
sr_gi has joined #bitcoin-wizards
<michaelfolkson>
On the 20 q character question you could just have the checksum reject an address with 20 q's in it
<michaelfolkson>
Presumably no addresses on the blockchain contain 20 q's. But if you did that a future address with 20 q's could cause a blockchain split? Lol I don't know
<michaelfolkson>
The checksum isn't a consensus rule so that's nonsense, ignore me
jadi has quit [Remote host closed the connection]
jadi has joined #bitcoin-wizards
jeremyrubin has joined #bitcoin-wizards
gleb has joined #bitcoin-wizards
zmnscpxj has quit [Remote host closed the connection]
Guyver2 has joined #bitcoin-wizards
shesek has joined #bitcoin-wizards
shesek has quit [Changing host]
shesek has joined #bitcoin-wizards
TheoStorm has joined #bitcoin-wizards
TheoStorm has quit [Remote host closed the connection]
CryptoDavid has quit [Quit: Connection closed for inactivity]
bitdex has joined #bitcoin-wizards
ddustin_ has quit [Ping timeout: 264 seconds]
TheoStorm has joined #bitcoin-wizards
TheoStorm has quit [Client Quit]
Leech has quit [Remote host closed the connection]
kewde has joined #bitcoin-wizards
<kewde>
Would getting an SSH shell through an exposed unauthenticated bitcoind rpc api be something worth reporting?
<kewde>
Some people are crazy enough to expose the bitcoind rpc api for public usage, thinking that it's safe if there's no wallets attached to it..
bitdex has quit [Remote host closed the connection]
bitdex has joined #bitcoin-wizards
sr_gi has quit [Read error: Connection reset by peer]
sr_gi has joined #bitcoin-wizards
DeadWeen has joined #bitcoin-wizards
DeadWeen has quit [Remote host closed the connection]
DeanGuss has joined #bitcoin-wizards
bitdex has quit [Remote host closed the connection]
TheoStorm has joined #bitcoin-wizards
TheoStorm has quit [Remote host closed the connection]
roconnor has joined #bitcoin-wizards
<roconnor>
michaelfolkson: Bech32 isn't designed to protect against 20 character edits.
<roconnor>
Beyond the fact that any given random address has a one in a billion chance of being valid.
deusexbeer has joined #bitcoin-wizards
<nickler>
kewde: people are crazy. And clightning and lnd for example require rpc api access. You certainly don't want to give them more capabilities than accessing whitelisted rpc commands. So it's worth reporting
laptop_ has quit [Ping timeout: 264 seconds]
Setherson has quit [Remote host closed the connection]
troygior1hev has joined #bitcoin-wizards
justanotheruser has quit [Ping timeout: 272 seconds]
gribble has quit [Remote host closed the connection]
gribble has joined #bitcoin-wizards
davec_ has quit [Ping timeout: 268 seconds]
DeanGuss has quit [Remote host closed the connection]
kewde has quit [Remote host closed the connection]
andytoshi has quit [Read error: Connection reset by peer]