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 exp
P.P.S.: .. and getting off-topic ..
Leonardo Taccari posted a brilliant idea to the already closed
nawk issue that should not be concealed, to which i just now
responded
--- Forwarded from Steffen Nurpmeso ---
|Hello!
|
|Leonardo Taccari wrote in
| :
||@sdaoden another possible way - that s
Am Freitag 09 Juni 2023 14:25:01 schrieb Werner Koch via Gnupg-users:
> A really proper solution would use a function to decode field 7
And potentially filter for otherwise valid pubkeys. >;)
Best,
Bernhard
--
https://intevation.de/~bernhard +49 541 33 508 3-3
Intevation GmbH, Osnabrück, DE;
P.S.:
Steffen Nurpmeso wrote in
<20230609132434.xs7mr%stef...@sdaoden.eu>:
|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:
||
||
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 { from=systi
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 { fou
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, early
Hello
It is the firs time that I am writing to the mailing list...
Be indulgent please!
I need to know when a key is expired in order to renew it:
for instance:
gpg --list-keys
pub rsa4096 2016-05-26 [SC] [expires: 2025-01-31]
x
uid [ f