mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-21 07:18:05 -04:00
[db] validate repo certificate
for now only for initial repos, but eventually we should validate for CoreRepository as well to prevent invalid certs from entering the DB by other means.
This commit is contained in:
@@ -32,7 +32,7 @@ internal class RepositoryDaoTest : DbTest() {
|
||||
address = getRandomString(),
|
||||
mirrors = listOf(getRandomString(), getRandomString(), getRandomString()),
|
||||
description = getRandomString(),
|
||||
certificate = getRandomString(),
|
||||
certificate = "abcdef", // not random, because format gets checked
|
||||
version = Random.nextLong(),
|
||||
enabled = Random.nextBoolean(),
|
||||
weight = Random.nextInt(),
|
||||
|
||||
Reference in New Issue
Block a user