exposure-notifications-android icon indicating copy to clipboard operation
exposure-notifications-android copied to clipboard

Make debug output compatible with CLI tool

Open ithinkihaveacat opened this issue 5 years ago • 0 comments

Make the debug output (more) compatible with the server's command-line tool for generating keyfile zips (example keys.json).

Before this change:

[
  {
    "keyData": "YIoRYST4D8vdzbwpcA/+tA==",
    "rollingStartNumber": 2648160,
    "rollingPeriod": 0,
    "transmissionRiskLevel": 0
  }
]

After the change:

[
  {
    "key": "YIoRYST4D8vdzbwpcA/+tA==",
    "rollingStartNumber": 2648160,
    "rollingPeriod": 144,
    "transmissionRiskLevel": 0
  }
]

/cc @mikehelmick @gurayAlsac

ithinkihaveacat avatar May 22 '20 07:05 ithinkihaveacat