sethvargo
Joined 14 years ago
Joined 14 years ago
select {
case a := <-conditionA:
return a
default:
}
select {
case b := <-conditionB:
case a := <-conditionA:
return a
default:
return b
default:
}Additionally, this would only work if you had one predominant condition and that condition was context-based. If you have multiple ordered conditions upon which you want to exit, I can't think of how you'd express that as a range.
Disclaimer: I work for Google Cloud.
Disclaimer: I work for Google Cloud.
While we're still preparing a proper response to the submitter, the paper makes an invalid assumption that RPI rotation and BLE address rotation are out-of-step and overlap. The BLE and RPI changes are synced; the MAC address is always rotated with the RPI/packet is rotated. We're still investigating our implementation to verify, but we do not believe this to be a vulnerability. I will reply to this thread should our investigation find anything.
[ my public key: https://keybase.io/sethvargo; my proof: https://keybase.io/sethvargo/sigs/2iRkeYwEvHo7WUYxCxlrFEDaGCKY-1RJMIF6IUM2z60 ]