Closed own2pwn closed 4 years ago
I don't know exactly how this works. The documentation states:
@property ENIntervalNumber rollingStartNumber;
This property contains the interval number when the key's TKRollingPeriod started.
But it doesn't describe what ENIntervalNumber
nor what TKRollingPeriod
is.
It's explained in the crypto spec on page 6.
See https://github.com/dstotijn/exp-notif-crypto/blob/master/crypto.go#L64-L68 and https://github.com/dstotijn/exp-notif-crypto/blob/master/doc_test.go#L10-L20 for an example implementation in Go.
Thanks, this is all fixed in #49 and is now merged.
If we always initialize
ENTemporaryExposureKey
with the samerollingStartNumber
of0
, do we get the actual timestamp of contact?