diff --git a/gpg.go b/gpg.go index 5ff3ebb..c17bf4c 100644 --- a/gpg.go +++ b/gpg.go @@ -119,6 +119,12 @@ func processKey(ctx context.Context, key string) (keyID, message string, status for _, sk := range e.Subkeys { if sk.Sig.KeyLifetimeSecs == nil { + // No lifetime assigned to that signature: Ignore that key + continue + } + + if sk.Revoked(time.Now()) { + // Subkey has been revoked, we don't check that one continue }