feature(keyringctl): verify file structure integrity and packets

This moves all verify code to an own module and adds support to check
all packet files in the structure for integrity. This is done by parsing
assumptions like packet kind, type, issuer and location etc.
This commit is contained in:
Levente Polyak
2021-11-07 21:54:34 +01:00
parent d9e9453d84
commit e55042e45b
6 changed files with 328 additions and 54 deletions

View File

@ -15,9 +15,9 @@ from .keyring import convert
from .keyring import export
from .keyring import inspect_keyring
from .keyring import list_keyring
from .keyring import verify
from .util import absolute_path
from .util import cwd
from .verify import verify
parser = ArgumentParser()
parser.add_argument(