diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-01-24 21:33:29 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-01-24 21:33:29 +0100 |
commit | caa285f1cceb392fbcec264d495341c9954588ff (patch) | |
tree | a71abf4cd97d9492f143f329c1ef8653d6872a52 | |
parent | 63bd6b20e0dfcc662fc11a6e27859230a2f3818e (diff) | |
download | gemato-caa285f1cceb392fbcec264d495341c9954588ff.tar.gz |
cli: Print Manifest timestamp as well
-rw-r--r-- | gemato/cli.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gemato/cli.py b/gemato/cli.py index de5930c..5fb6e24 100644 --- a/gemato/cli.py +++ b/gemato/cli.py @@ -76,6 +76,10 @@ def do_verify(args, argp): logging.error('Top-level Manifest {} is not OpenPGP signed'.format(tlm)) return 1 + ts = m.find_timestamp() + if ts: + logging.info('Manifest timestamp: {} UTC'.format(ts.ts)) + if m.openpgp_signed: logging.info('Valid OpenPGP signature found:') logging.info('- primary key: {}'.format( |