Re: expiration date for the keys pgp (automatism)

2023-06-09 Thread Steffen Nurpmeso
Werner Koch wrote in <875y7wvn4y@wheatstone.g10code.de>: |On Mon, 5 Jun 2023 14:49, broussard marc said: | |> => does pgp can tell when the key is becoming soon expired? | |That is easy on Unix: | | $ gpg --list-keys --with-colons \ || awk -F: -v days=60 \ | 'BEGIN {

Re: expiration date for the keys pgp (automatism)

2023-06-09 Thread Werner Koch via Gnupg-users
On Mon, 5 Jun 2023 14:49, broussard marc said: > => does pgp can tell when the key is becoming soon expired? That is easy on Unix: $ gpg --list-keys --with-colons \ | awk -F: -v days=60 \ 'BEGIN { from=systime(); to=from+(days*86400)};\ $1=="pub" && $7 > from && $7 < to {

Re: expiration date for the keys pgp (automatism)

2023-06-09 Thread Bernhard Reiter
Hello Marc, Am Montag 05 Juni 2023 16:49:55 schrieb broussard marc via Gnupg-users: > It is the firs time that I am writing to the mailing list... welcome! > I would to launch a script each week end, to have a warning when for > instance, when the key is expired 4 week later. In this case,