+52
−6
Loading
This was done following discussions with upstream in pull requests, issues and IRC. Most of this revolves around issue PGPy#225. It turns out that revocation checking is not that simple: self-signed revocations can be checked immediately (but fail, PGPy#226) but delegated checks need extra key material to be checked, which we skip for now. Anyways, those certificates are not supported yet upstream (PGPy#198). We are being careful here: we do not write SSH key material we're unsure if the key is revoked, for example, if there's a delegated revoker or if the revocation signature fails because of the above bugs. This may lead to valid keys with fake revocation certifications being excluded from the output. Keys with delegated revocations are also excluded for now. We prefer this to granting access to possibly revoked keys but this may allow an attacker to forcibly exclude valid keys from a server, forcibly blocking access.