verify pgp signature for a specific package only once

This commit is contained in:
2022-01-18 13:41:12 +01:00
parent 2dfdac8468
commit 907add4e07
11 changed files with 304 additions and 13 deletions

View File

@@ -39,6 +39,8 @@ const (
FieldLto = "lto"
// FieldLastVersionBuild holds the string denoting the last_version_build field in the database.
FieldLastVersionBuild = "last_version_build"
// FieldLastVerified holds the string denoting the last_verified field in the database.
FieldLastVerified = "last_verified"
// Table holds the table name of the dbpackage in the database.
Table = "db_packages"
)
@@ -60,6 +62,7 @@ var Columns = []string{
FieldHash,
FieldLto,
FieldLastVersionBuild,
FieldLastVerified,
}
// ValidColumn reports if the column name is valid (part of the table columns).