appmattus / certificatetransparency

Certificate transparency for Android and JVM
Apache License 2.0
142 stars 29 forks source link

Bug: embedded resources are not being used #76

Closed HylkeB closed 1 year ago

HylkeB commented 1 year ago

I was debugging the latest version of the CT library, as i was curious if it would still fallback to the embedded resources if I would let the loglist call fail.

This did not work, so i started a debugger and the reason is quite obvious, in LogListCacheManagementDataSource.kt on line 66 it ignores the raw resources but instead uses the raw disk result. Looks like a simple copy-paste issue that's easy to fix.

See screenshot: image