CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2022/01/14 08:00:23
Modified files:
usr.sbin/rpki-client: extern.h main.c output-json.c parser.c
repo.c
Log message:
Introduce a validated cache which holds all the files that have
successfully been verified by rpki-client.
With this the rsync and rrdp directories are more of a temporary storage
location. New files are downloaded there and then moved to the valid
directory at the end. In -n mode only the valid directory is looked at with
the exception of the ta directory holding the trust anchors.
A file can now be in two different locations so adjust all the code paths
that open files to check both locations.
One nice side-effect of this is that the RRDP handling in the main process
got simplified. There is no longer the need for temporary RRDP directories.
OK tb@