News for hackers. Stuff that matters.
Re:How a QR code works by djbeadle on Wednesday September 14, 2022 @01:31PM (#32840447)
This has been a problem with NYC's bike share program, CitiBike. The solution was to add an alert when your phone's location is far from the location of the bicycle you are trying to unlock.

> Citi Bike says it is aware of a scam in New York City in which thieves are switching the QR code stickers on rental bicycles in order to steal bikes unwittingly unlocked by customers. The scammers wait for a renter to unlock a bicycle using the QR code, then ride away on the bike to which the code actually belongs, officials said.

https://apnews.com/article/lifestyle-nyc-state-wire-34d4ecd5...

Re:How a QR code works by bobbylarrybobby on Wednesday September 14, 2022 @06:36PM (#32844382)
Easy (conceptually) solution: a button on the dock that you need to press to complete the unlock. When you scan the QR code, CitiBike looks up which dock it thinks the bike is in, then waits for you to press that dock's button before releasing the bike.
Re:How a QR code works by inglor_cz on Thursday September 15, 2022 @10:14AM (#32852351)
What about geolocating the customer's phone and blocking the transaction if the customer's phone is more than, say, 10 meters from the bike?
Re:How a QR code works by hyperhopper on Thursday September 15, 2022 @12:09AM (#32846922)
The thief would just press the button.
Re:How a QR code works by Open-Sourcery on Thursday September 15, 2022 @09:56PM (#32861120)
Assuming that there is no feedback during this process coming from the bike, what is the thief going to do? Sit there for an hour constantly pressing the button?
Re:How a QR code works by mrb on Friday September 16, 2022 @02:58AM (#32862980)
The thief would just observe, from a distance, and wait for someone trying to scan the fake qr code. When he sees the victim, he pushes the button and steals the bike.
Re:How a QR code works by CamelCaseName on Wednesday September 14, 2022 @04:29PM (#32842919)
This is why Toronto's bike share requires Bluetooth to be turned on. At worst, you might end up unlocking another bike at the same station. (And you'll hear it!)
Re:How a QR code works by N19PEDL2 on Thursday September 15, 2022 @04:00AM (#32848684)
A possible solution could be to use small e-ink displays showing single-use QR codes that change every 2 minutes or so. I don't know if it would be feasible though or it would drain the battery of the bike too quickly.
Re:How a QR code works by wartijn_ on Thursday September 15, 2022 @08:17AM (#32850597)
You could add a button and only generate a QR code if someone presses that button.
Re:How a QR code works by shard on Thursday September 15, 2022 @03:08PM (#32857018)
Or add a backlight to a transparent QR code which turns on when you press a button. This way a simple sticker over the QR code wouldn't work.
Re:How a QR code works by latchkey on Wednesday September 14, 2022 @03:22PM (#32842022)
Yes, that's where I heard about this problem. Sketchy indeed.