Fix cleartext leak in log

Change-Id: Ifb9faaa52f63bcf9c88a8499c2b078dd1a2de62e
This commit is contained in:
SpiritCroc 2022-08-01 12:45:10 +02:00
parent 21e88efaff
commit 3845e1435c
2 changed files with 2 additions and 1 deletions

1
changelog.d/6706.bugfix Normal file
View File

@ -0,0 +1 @@
Fix message content sometimes appearing in the log

View File

@ -63,7 +63,7 @@ internal class VerificationMessageProcessor @Inject constructor(
// the message should be ignored by the receiver.
if (!VerificationService.isValidRequest(event.ageLocalTs, clock.epochMillis())) return Unit.also {
Timber.d("## SAS Verification live observer: msgId: ${event.eventId} is outdated age:$event.ageLocalTs ms")
Timber.d("## SAS Verification live observer: msgId: ${event.eventId} is outdated age:${event.ageLocalTs} ms")
}
Timber.v("## SAS Verification live observer: received msgId: ${event.eventId} type: ${event.getClearType()}")