Mailinglist Archive: opensuse-buildservice (66 mails)

< Previous Next >
Re: [opensuse-buildservice] Check signkey is (still) valid
On 2019-01-24 11:41:54 +0100, Ralf Becker wrote:
How can I check if a projects signkey is still valid or needs extension.

Is there an osc or gpg command I can use to find that out to write a
Nagios check to warn me, before the key expires and users complain.

You could do something like

osc signkey <project> | gpg --show-keys

and then extract the expiration date. (Maybe there's a more clever way
to directly read the expiration date...)


Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
References