-
Notifications
You must be signed in to change notification settings - Fork 30
Add enabled_carriers_info #458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
src/service/poc_mobile.proto
Outdated
// The firmware version running on the hotspot. | ||
string firmware_version = 3; | ||
// Signer of the message | ||
bytes signer_pubkey = 4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bbalser we should have a timestamp of when this message was generated, no?
That way someone can't grab an old written message and send it back in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm following the code style and added received_timestamp_ms
field to enabled_carriers_info_report_v1
. This field reflects time when the enabled_carriers_info_req_v1
was delivered to the ingest service.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'm talking about the case where some resends a signed message to the ingest service.
The received_timestamp_ms
would reflect the timestamp of when it was received, but the message was generated who knows how long ago and may not be valid any longer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
Added timestamp_ms = 4
to the message
8012702
to
f4942fe
Compare
@kurotych anything holding this up? |
No description provided.