debian_inspector.unsign module

debian_inspector.unsign.is_signed(text)

Return True if the text is likely PGP-signed.

debian_inspector.unsign.pgp_signed(string, pos=0, endpos=2147483647)

Scan through string looking for a match, and return a corresponding match object instance.

Return None if no position in the string matches.

debian_inspector.unsign.remove_signature(text)

Return text stripped from a PGP signature if there is one. Return the text as-is otherwise.