IS_COMPROMISED(3)

NAME
is_compromised - verify that a key is not compremosed

SUNOPSIS
int is_compromised(PGPKEYID key_id)

DESCRIPTION
It is verified that no signature on the public key with identification key_id is signed with the key itself (without a userid assosiation). A database with keys must be available.

RETURN VALUES
If no compromise certificate was found, 0 is returned. If the key is compromised, 1 is returned. Upon error, -1 is returned.

Written by Thomas Roessler <roessler@guug.de>. First appeared in PGPlib 1.0.