expiration date for the keys pgp (automatism)

Christoph Klassen christoph.klassen at intevation.de
Wed Jun 14 16:25:19 CEST 2023


Hi Marc,

On 09.06.23 10:37, Bernhard Reiter wrote:
> Another option would be to use GPGME which somehow is the official API
> to access GnuPG functionality and usually more stable than parsing the output
> yourself in a shell.
> 
> E.g. you can use python, see https://wiki.gnupg.org/APIs .
as Bernhard explained you could also use a Python script. Here is one 
you could use for a start: 
https://heptapod.host/intevation/gnupg-scripts/-/blob/main/Python/list_expired_keys.py

Kind regards,
Christoph

-- 
Christoph Klassen | https://intevation.de
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20230614/43140840/attachment.sig>


More information about the Gnupg-users mailing list