Sjors Provoost

sjors@sprovoost.nl
[…] 1 more
It's pretty good, but you still need to range-diff and otherwise inspect the result. It mainly saves me from tedious header and function argument conflicts.
[…] 1 more
Do you know how often Paul has bashed Bitcoin Core for the past decade? Free markets require good information, which includes calling out bullshit forks.
[…] 1 more
[…] 1 more
It's a bad proposal that he should have abandoned after people told him a million times. Instead he shifts the blame to Bitcoin Core. I'm not upset about him starting an altcoin. I think it's stupid, people should ignore it and not lose money.
[…] 1 more
Thanks! I switched to a minibits mint, maybe that helps. Still waiting for bolt12 zaps, so I can just receive them sovereignly (without installing stuff with access to my CLN node).
I deleted my account there years ago. Most web shops will have an ad hoc option to use creditcard through paypal without having an account. If not, I might remind them that Bitcoin exists. And otherwise unless it's life saving medicine, I'll just move on.
Replying to a note
Fascinating. I didn't (have my agent) throughly check every claim and screenshot in the blog post, but it looks fairly accurate to me. Denial in action?
Among individuals, 26,805 would have a reference tax income of €100,000 or more, 386 would exceed €1 million and 8 would exceed €10 million. According to the cybercriminal, the file would also be offered for sale for several thousand euros.
[…] 1 more
"The Lord detests dishonest scales, but accurate weights find favor with him. When pride comes, then comes disgrace, but with humility comes wisdom." Proverbs 11:1-2 “stay humble, stack sats”- king Solomon
[…] 1 more
Wait so let me get this straight. Luke’s (obviously) trying to rig the PoW function selection for his coin, probably cause he has ASICs for one option. So….he’s just trying to create a coin he can premine so he can dump it on the BIP 110 followers? Man that’s low af.
The bip-110 community had years to come up with a good design and get technical consensus on it (among themselves). But they were too busy fooling themselves that a majority hash power would go along. Even now there should be no rush to replace the algorithm. Sure, their 3 block history could get wiped out any time, but that same risk exists with any new PoW. At least Bitcoin miners don't have an economic incentive to wipe out the BIP110 fork blocks. A fully functional low PoW altcoin is a more juicy target.
Would be funny if Dario and Sam and their EA friends all end up being right - but that AGI escapes containment and starts destroying humanity via the Chinese open source models.
It sounds like more work than cleaning windows myself. Plus, I'd rather raise my heart rate through cardio than by being exposed to this noise. Now if it was quiet, could climb between windows, and from inside to outside, and could rinse its own cloth... youtu.be/SPV-hstjRGM
And thankfully my place was designed by a sane architect, so I can wash outside windows easily.
[…] 1 more
It can be done with Stratum v2 as well, as long as the pool runs one BIP110 compatible node.
Annoyingly, Knots rejects non-signaling headers without even adding them to the block index. So they don't show up in getchaintips, which is what ForkMonitor uses to decide if there's a fork.
To be fair, Bitcoin Core also doesn't hold on to headers that it considers invalid for any reason. With some exceptions.
🚨🚨 URGENT: BTCPAYSERVER 🚨🚨 There is a critical vulnerability that is being actively exploited on BTCPay Server which can lead to loss of funds. Update your BTCPayServer to to 2.4.2 or turn off your BTCPayServer now.
Am I the only one who finds nostr clients fragile? Messages do not arrive reliably. But they're just messages in a social media context, so it's not super important. I agree that lightning infrastructure is exactly the kind of thing more prone to vulnerabilities and flaws, but why compare with nostr? nevent1qqswv…syaxmh
Nostr is not known for a focus on code quality. I think he's confusing a lack of attackers with strength. Specifically for nsec entropy it's somewhat easy to so this correctly on a modern phone. And relays are redundant and no funds are lost if they go down due to some DoS, sure. And having your wallet drained to an NWC bug, might be fine if there's not much in it. But the latter is another example of low stakes.
Replying to a note
Not sure about the US, but in many countries the government can prosecute a crime even if nobody presses charges. So indeed they'd have to reframe their action as some sort of responsible disclosure ("we took it because someone else would have"). Offering to keep half wouldn't be a good look. I guess they could frame the lack of early public announcement as an opsec thing.
What doesn't aquare with this theory is the relatively slow draining. In 5 years they would have a list of utxos and a script to empty all at once. Maybe they built the backdoor and decided to not use it because tracks were not covered? nevent1qqs8m…2y78ag
And they would not have used an API to gather information. Plenty of time to set up such infrastructure locally. You can't have someone sophisticated enough to hide underhanded C in a sloppy commit for give years, have that much patience, yet not rug everyone at once. The game theory just doesn't work: anyone else could have found the bug in the mean time, and their sweep would come as a total surprise to the original exploiter. A well prepared rug pull by the founders would have had to continuously maintain multiple alternative sweep transactions, in order to fee bump whatever a surprise third party attacker was doing. I would also expect an attacker with five years of preparation to have immediately coinjoined, spread the loot across utxos and quickly exit some of it. They would have keep to these logistics secret too for years, yet spend time continuously maintaining it, not accidentally revealing expertise in this, etc. That's why I consider this a classic conspiracy theory. People look for supporting evidence and clues, assume an all powerful "they", and then either ignore practical logistics like I describe above, or come up with another complicated explanation how that could be avoided. Meanwhile the simpler explanations remain: some 15 year old in his bedroom with an LLM, someone with a bit more expierence in hacking, or even the North Korea crew that wants a break from hacking shitcoin smart contracts. All of them would simply take the money as quickly as they can. The latter two would realize that people will notice the attack, so they have to make a big sweep first. And that someone else might find the bug too, or even that their LLM provider was eavesdropping and might rat them out, so they can't prepare a total sweep.
[…] 1 more
[…] 1 more
By the way, I'm talking purely about capability, of doing this as a long term rug pull plan, not about motive. My reasoning above doesn't rule out opportunistic theft by one of the founders. Like I said, any ration law enforcement would investigate them too. I do think that scenario is unlikely, but not conspiracy level unlikely.
Memes are fun, but you do realize that unless the FBI manages to quickly track down the hacker, they're going to investigate the (co)founders anyway? And in parallel, not later, they'll investigate every competent wallet developer and security researcher. So priority should probably be to make sure they find the real thief, fast.
[…] 2 more
switck == doc-hex wasn't a secret in the first place? The ngu library was a ColdCard project, so obviously written by their developer. Who cares what nicknames they use? What's a conspiracy is the allegation that this was a five year prepared plan.
🟢 LIVE ON YOUTUBE IN ONE HOUR EVERYTHING YOU NEED TO KNOW ABOUT THE COLDCARD HACK Four reported waves of hacks. 15 suspected attackers. 100M+ stolen. With Bitcoin Core contributor & Slipstream creator PortlandHODL and Head of Research at Galaxy Alex Thorn, hosted by @Shinobi youtube.com/watch?v=oZ7UEf5eCXQ
Please publish audio podcast afterwards, I haven't seen a new The Rage episode in my feed for a while...
I've moved funds onto lightning from onchain today without problems (to do payments) with no problem. A win for Phoenix's splicing model I guess?
I did a splice-in with CLN recently, with funds from an external wallet. Needed chatgpt to help me figure out the commands, but it worked!
It’s still early, but it’s not at all the case that we cant learn anything from this and do better. If I were a hardware wallet manufacturer, I think my takeaways/changes I’d make are: 1) insecure fallbacks or hashing in weak entropy should be explicitly verboten. Unless it’s 96 bits or higher, do not include it! 2) Anything generating keys on an embedded device should have at least two random inputs and should check them with even basic randomness tests. This requires pulling lots of extra bits in before they’ve been whitened which isn’t possible on all hardware, but hardware that does whitening usually will do tests for you so make sure you’re checking it! nevent1qqstx…4q9vun 3. (Obviously) Everyone should be doing regular LLM reviews of software and firmware. 4. HWWs should have an explicit QA step where each input to the RNG is logged and the result of adding those inputs together to build a seed is done on a separate device with a reimplementation and compared against the device's seed. This should be done for each firmware release. I doubt almost any HWWs today do 2&4.
Re (1): perhaps devices should collect 128 bits of entropy independent of their secure enclave. That can be from multiple sources, but they have to add up. Like in the old PGP days, it could require the user to do something random. A cheap accelerometer plus the instruction to shake, should be intuitive and quick enough?
You can check each individual source against its required minimum entropy. That seems better than not using a source entirely just because it's not enough on its own.
[…] 1 more
It's hard to reason about such probabilities. From what I can find, the odds of dying from the war in Kyiv, as a non-combatant, is about 10x that of a deadly car accident. This increases dramatically as you go east. And even more when you're in range of fiber optic drones that hunt for civilians near the frontlines. And for combatants it's obviously a lot higher. ukraine.ohchr.org/en/reports/protection-of-civilians en.wikipedia.org/wiki/List_of_countries_by_traffic-related_…
ukraine.ohchr.org/en/reports/protection-of-civiliansProtection of civilians | UN Human Rights Monitoring Mission in UkraineUN Human Rights Monitoring Mission in Ukraine
I disagree with nvk on several things, but I like his uncompromising approach to hardware and shipping. Testing for weak entropy is hard, this is absolutely a mistake I could have made, and I would also be furious if this lost my funds. I've been trying to come up with a witty name though. Stolecard? Goxbox? "MicroSiphon inside"?
[…] 1 more
Maybe, if the audit was specifically about seed generation. I've worked (mostly as a reviewer) on this exact topic for two wallets: 1. the blockchain .info web wallet (after the Android incident, but that was a different codebase) 2. the Bitcoin Core wallet (when openssl was replaced) In both cases, part of the strategy was to xor the kitchen sink. So had I reviewed the code, I probably would have suggested to xor more. That would have reduced the impact. But unlike browsers and desktop operating systems, hardware wallets don't have a lot "more". I don't think I would have caught the main issue. Maybe, because I've played with esp32 before, with the help of an LLM* and a few days of time, I would have fully understood the build pipeline, and maybe realized the problem. Just maybe. Let's also not forget that hardware wallet competitors spend a lot of time and energy "hacking" each other to show off at conferences. They probably focussed more on seed extraction than generation, and therefore missed it. Security researchers also, even without a bounty, had an incentive to find and responsibly disclose this, for prestige alone. Yet they didn't. * = that's not actively hostile to security research
[…] 1 more
I just read that article. Assuming there's no documentation *elsewhere* then I agree that the process was bad. And I would have noticed the huge commits and brought that up. This is a case where you need multiple developers in a team to keep each other honest, and say: hey, you're touching critical (build system) code that's over your head. We need to hire someone external to help with this library migration.
I also agree that writing your own cryptographic library merely for licensing reasons is a big risk. Since nobody else will use it, review is limited to security researchers, but that's still a big audience and they didn't find the issue. A random competitor that slavishly copies your firmware is not going to help you find the bug. But it's mainly a wrapper around well respected libraries like libsecp and libwally. And it's quite common for libraries to make you bring your own entropy, since that depends on the target environment.
[…] 1 more
Entropy is hard to test. You'd have to have to run it on (slow) real hardware billions of times to find a 32 bit collision. In a simulator you don't expect to use the real TRNG. Checking library symbols is not a typical thing for an integration test, though it might have been good (in hindsight) to run a whitelist of symbols you want to see. Bitcoin Core does some of that:
GitHub · github.com/bitcoin/bitcoin/blob/master/contrib/guix/symbol-check.pybitcoin/contrib/guix/symbol-check.py at master · bitcoin/bitcoinBitcoin Core integration/staging tree. Contribute to bitcoin/bitcoin development by creating an account on GitHub.
[…] 1 more
I don't think there is any, just full seed collisions. Unless the software pseudo-RNG is so bad that a few million device runs would reveal a lack of uniformity. Perhaps the lesson is that test code random number generators should yield sequential numbers, that are easier to guard against.
[…] 1 more
I don't the un-FOSS-ness was a critical factor, because Google Zero and Ledger will happily look at it for the opportunity to find a bug. That said, it's worth considering whether FOSS needs to be a minimum security requirement for critical code paths. But remember that the secure enclaves are proprietary black boxes. So you'd have to treat them as unsafe and somehow get enough entropy to be cryptographically secure without it. That's a bar no hardware wallet today meets, afaik.
[…] 1 more[…] 1 more