News for hackers. Stuff that matters.
Re:Show HN: Photo Realistic QR-Codes by AriaMinaei on Friday August 14, 2020 @10:41AM (#24158515)
Slightly OT, but when migrating data between iPhones, the old iPhone displays an animated point cloud that appears to function like a QR code. You scan it with the new phone, and your data starts to migrate locally through Bluetooth.

Other than aesthetics, what are the advantages of the point cloud? Higher bandwidth?

Also, if you were to transfer 100s of megabytes of data from device A to B, using A's display and B's camera, what tech would you look into?

Re:Show HN: Photo Realistic QR-Codes by dsl on Friday August 14, 2020 @02:38PM (#24161615)
> Other than aesthetics, what are the advantages of the point cloud? Higher bandwidth?

Higher information density, in that it can pass ad-hoc wifi network info and cryptographic keys. The animated "QR code" also contains a unique code in each frame that is then sent back during the pairing process. This allows them to measure the round trip time from display to camera to wifi back to the original device, preventing relay and replay attacks.

(This is based on my attempting to reverse engineer watch pairing for a few days)

Re:Show HN: Photo Realistic QR-Codes by social_quotient on Friday August 14, 2020 @01:09PM (#24160454)
Here is a good demo of a streaming qr solution. Not ours but a good demo of the concept.

https://youtu.be/_0djJ1aVEXs

We use a similar method for offline wallet transfers of private crypto keys. I’ll note a couple things. Keep the frame simple and not too dense. Be careful on ecc settings. Higher res camera androids to be slower in our testing. Be ready to loop the series to catch missed frames. Gives your frames and order context. If it’s really sensitive dat, encrypt it before encoding you QR. assume the video can be stolen from a camera. Inject noisy frames To help obfuscate.

Re:Show HN: Photo Realistic QR-Codes by divan on Friday August 14, 2020 @04:48PM (#24163071)
Another animated QR data transfer that uses fountain codes: https://github.com/divan/txqr
Re:Show HN: Photo Realistic QR-Codes by throwaway0x00ff on Saturday August 15, 2020 @09:13AM (#24168621)
Hey, I wanted to use your library to send data from computer A to computer B, but I don't speak Go yet.

How easy would it be to implement a txqr reader for desktop? Piping zbarcam's output could be the easiest way.

Have you got any directions for me to do it? It would be a great addition to txqr!

Thanks!

Re:Show HN: Photo Realistic QR-Codes by divan on Saturday August 22, 2020 @04:44AM (#24242734)
I'm actually planning to make Go+Flutter application, which will work on iOS/Android, Desktop and Web. Out of curiosity, what's your use case?
Re:Show HN: Photo Realistic QR-Codes by throwaway0x00ff on Saturday August 22, 2020 @01:51PM (#24245811)
I would use this in a security context.

I want to use a one-time pad with a friend. That requires generating a fully random file that I then need to send to my friend (physically). I don't have an Ethernet port on my machine to send the file on the wire, and I don't want to rely on weaker cryptography (WiFI, aes) to send this file (basically, everything is weaker than a one-time pad). I also don't want to leave undeletable traces of my one-time pad on a flash drive.

So what's left is the actual screen of the device, provided I don't have any hidden cameras where I live.

I could use a hard drive and then shred the secrets, but nothing is proven regarding the actual deletion of the files, and QR codes are much cooler!

Re:Show HN: Photo Realistic QR-Codes by mleonhard on Saturday August 15, 2020 @02:18AM (#24166471)
Did you consider using the front camera for bidirectional phone-to-phone communication? That could allow frame re-transmits which would increase the data rate a lot.
Re:Show HN: Photo Realistic QR-Codes by divan on Saturday August 22, 2020 @04:46AM (#24242740)
That'd be definitely a whole new level, yes, but I think the simplicity of one-way diode communication has its own benefits.
Re:Show HN: Photo Realistic QR-Codes by MarioMan on Friday August 14, 2020 @08:10PM (#24164730)
I've been wondering how one could efficiently and reliably pack arbitrary data into YouTube videos, a hacky way to get free and obfuscated data storage. Streaming QR codes has been the most promising way I can think of, particularly since they offer resilience against YouTube's video re-encoding process and are standardized for far larger codes, which could be easily fit in a video for later parsing out by a tool. You could probably embed even greater data densities with a color QR solution too.
Re:Show HN: Photo Realistic QR-Codes by userbinator on Saturday August 15, 2020 @12:35AM (#24165973)
Re:Show HN: Photo Realistic QR-Codes by drran on Friday August 14, 2020 @11:15PM (#24165594)
Put your data into description and comments.
Re:Show HN: Photo Realistic QR-Codes by dhritzkiv on Friday August 14, 2020 @11:26AM (#24159126)
If I had to guess, the animated point cloud isn't tasked with transferring lots of (megabytes) data, but is probably a proprietary version of a QR code, both for aesthetics and security through obscurity. Its format may also have higher information density than a QR code, which would work well for encrypted data.

I imagine the heavy lifting is done on Apple's server. The data being transferred locally is likely a GUID/IMEI/etc + a nonce.

Re:Show HN: Photo Realistic QR-Codes by AriaMinaei on Friday August 14, 2020 @11:35AM (#24159268)
Data is actually transferred locally through Bluetooth, but the initial handshake appears to happen through the point cloud.
Re:Show HN: Photo Realistic QR-Codes by KMnO4 on Friday August 14, 2020 @02:26PM (#24161452)
Bluetooth? I would assume direct wifi, ie Airdrop. Use Bluetooth to initiate it but handle the data transfer over high bandwidth wifi
Re:Show HN: Photo Realistic QR-Codes by yjftsjthsd-h on Saturday August 15, 2020 @01:10AM (#24166138)
Why initiate over BT? Wouldn't you bootstrap from QR to WiFi?
Re:Show HN: Photo Realistic QR-Codes by joosters on Friday August 14, 2020 @11:36AM (#24159286)
I just transferred a friend's iphone the other day and noticed this animated pattern. I presumed the QR-like code was just to transfer authentication so that the two phones could establish a secure wifi connection, since the QR recognition is fairly instantaneous and you don't have to keep the camera on the animation for long. (the process does ask you to keep the phones close, so the later transfer is probably by bluetooth, as you say)

One (possible) advantage could be that the animated nature means that someone taking a photograph of the animation won't capture enough data to steal the whole payload? And the use of tiny pixels might mean that even a video capture from anywhere but up-close might not have enough fidelity (after compression) to read the encoding either?

Re:Show HN: Photo Realistic QR-Codes by jpttsn on Friday August 14, 2020 @12:28PM (#24159944)
I bet its about the “opportunity cost aesthetics”—-Apple thinks QR codes are butt ugly. See also the round App Clips codes recently introduced, and the very late (I bet teeth-grittingly reluctant) introduction of QR scanning in the first-party iOS Camera app.
Re:Show HN: Photo Realistic QR-Codes by Hates_ on Friday August 14, 2020 @11:03AM (#24158818)
I could be completely off the mark, but would an animation make it difficult to spoof. I can't now just use a photo of the cloud? Of course it could be that it just looks cool :D
Re:Show HN: Photo Realistic QR-Codes by pickledcods on Friday August 14, 2020 @11:08AM (#24158892)
Not quite sure I understand what the question is. Calculating the QR is really CPU intensive and the settings on the site are for lowest quality. ANd even now its overloading.
Re:Show HN: Photo Realistic QR-Codes by Jakob on Friday August 14, 2020 @11:17AM (#24158996)
OP asks about Apple’s animated "QR cloud" which was used in some iPhones and with the Apple watch:

https://apple.stackexchange.com/questions/301563/what-is-the...

https://www.quora.com/Has-somebody-tried-to-dynamically-gene...