Commit Graph

42 Commits

Author SHA1 Message Date
Marvin W 9304375da7
ENF: Use new base features 2022-01-24 17:47:34 +01:00
Marcus Hoffmann 0ae3a82b4e add CWA and CCTG exposure file public signing keys
From: https://github.com/corona-warn-app/cwa-documentation/issues/740#issuecomment-963223074
2021-11-24 23:21:02 -06:00
Christian Grigis 9067f66f0c Instantiate key signatures on demand 2021-11-02 17:35:06 +01:00
Christian Grigis dd617e27b6 Verify keyfiles only when a backend PK exists 2021-11-02 17:35:06 +01:00
Christian Grigis 8a1ac35c4d Ensure zip keyfile has unique entries 2021-11-02 17:35:06 +01:00
Christian Grigis 3885ed6ef8 Verifiy signature of received keyfiles 2021-11-02 17:35:06 +01:00
Marvin W 2e286a7e5b
Mark oneway functions as oneway in aidl 2021-08-20 10:28:03 +02:00
Francesco Saltori 985f0aea5a Remove outdated log message 2021-08-19 14:41:08 +02:00
Marvin W e42f68497f
EN: Add undocumented feature flag. Required for latest CWA to register test.
Fixes #1469
2021-05-13 14:16:37 +02:00
Marvin W aee45c22be
EN: Add implementation for getStatus() 2021-04-28 20:09:32 +02:00
Marvin W 412e513afe
EN: Implement new versioning scheme of API 1.8 2021-02-21 16:39:12 -06:00
Marvin W 83a150b128
EN: Add API for API version 1.8 2021-02-21 16:24:22 -06:00
Marvin W baf890cf18
Bump version 2021-01-12 14:27:36 +01:00
Marvin W f12536e6ce
EN: Catch errors in zip file processing 2021-01-06 12:11:57 +01:00
Marvin W 8e7544bd14
EN: Correctly set since last scan in seconds not milliseconds 2021-01-06 12:00:59 +01:00
Marvin W 91c8e43ab9
EN: Make service more robust against exceptions while processing app input 2020-12-27 17:09:51 +01:00
Marvin W 714367b3aa
EN: Remove ExposureSummary from intent extras in ExposureWindow mode
Intent extras are only supported in v1 mode, but CWA also accesses them in
ExposureWindow mode, which can result in ClassNotFoundException in optimized
builds.

Fixes #1325
2020-12-20 19:29:51 +01:00
Marvin W 8b49b05585
EN: Do not log isEnabled calls
Some apps make excessive use of this method, so better not log it
2020-12-20 19:29:50 +01:00
Marvin W a814c7de7e
EN: Request users to enable Bluetoooth/Location access 2020-12-13 15:37:07 +01:00
Marvin W 3dad397dd1
EN: (UI) Add low priority, unexported EXPOSURE_NOTIFICATION_SETTINGS activity.
Useful when bundling the library with EN apps.
2020-12-12 13:13:25 +01:00
Marvin W 0cd028af0e
EN: Don't allow apps to turn off EN that didn't turn it on before 2020-12-12 13:13:25 +01:00
Marvin W 369c3d7557
EN: Allow exporting key of current day
This requires rotating the daily TEK when exporting
2020-12-12 13:13:25 +01:00
Marvin W 128ca58bfe
EN: Handle callback exceptions for newest methods 2020-12-12 13:13:24 +01:00
Marvin W 2b09a5e530
EN: Ensure correct handling of new provideDiagnosisKeys()
Fixes #1300
2020-12-03 10:15:18 +01:00
Christian Grigis d4e20883d7 Avoid division by 0 2020-12-01 18:20:17 +01:00
Marvin W bc0b08c2b6
EN: Only ask for confirmation if build comes with confirm ui 2020-11-19 20:07:37 +01:00
Marvin W 4c2ef04364
EN API: Update 2020-11-18 19:18:20 +01:00
Christian Grigis 42da7aa2fa Handle callback when returning early 2020-11-10 10:14:29 +01:00
Marvin W 1deeb45834
EN: Make database access suspendable, add migration routine for oversized databases 2020-10-13 21:20:12 +02:00
Christian Grigis da7a4e0fdb Add exposure summary to exposure intent 2020-10-09 15:28:28 +02:00
Marvin W 6afcca0396
EN: Add latest API details, improve performance 2020-09-27 14:57:08 +02:00
Marvin W f48298b1f6
EN: Improve database performance 2020-09-06 19:50:19 +02:00
Marvin W d33391ebce
EN: Handle confirmation via resolution/pending intent instead of new task 2020-09-05 23:51:00 +02:00
Marvin W fd6d915f0a
EN: Display last exposure report in settings 2020-09-04 10:44:08 +02:00
Marvin W 876e32acd5
EN: Make internal structures closer to ExposureWindow mode 2020-09-04 00:13:11 +02:00
Marvin W 6794ab4417
EN: Merge enabled settings 2020-09-02 21:10:29 +02:00
Marvin W cfc1c314d4
EN: Cleanup data after 14 days, improve storage efficiency, add randomness for changing RPI 2020-08-25 13:13:00 +02:00
Marvin W df5ad9f3de
Update EN API 2020-08-11 22:40:44 +02:00
Marvin W f30605b145
EN API: Only use a single writable database instance
Should fix some issues with older Android versions, #1115
2020-08-05 14:27:53 +02:00
Marvin W 761b6dfd47
Do not use database.use (for pre-Q), ensure database stays open as needed
Related to #1115
2020-08-04 11:42:15 +02:00
Kamil Bobrowski 7d91551126 reading from the stream in a loop
this ensures that desired number of bytes will be read,
as stream.read(byte[] buffer) will just make effort to read
at least 1 byte
2020-08-03 22:53:28 +02:00
Marvin W 5f70d943cb
Add initial Exposure Notification API implementation 2020-08-03 18:19:20 +02:00