Bought 50x "8GB" microsd cards via eBay. Every single one of them has less than ...

@ryanc@infosec.exchange

Bought 50x "8GB" microsd cards via eBay. Every single one of them has less than eight billion bytes of space available, it kind of annoys me. Anyway. Have hacked up a batch process that reads the card twice, verifying the hash matches both times, then writes "random" data (chacha8), then verifies it a megabyte at a time, then finally writes zeros to the entire card. I have about nine more to go, and I've only had failures with five cards so far.