Expand description
Helper functions for VOA trust model business logic
EnumsΒ§
- Revoked
Certification π - Models the revocation status of an OpenPGP component.
FunctionsΒ§
- extract_
domain_ πfrom_ user_ id - Returns the domain name in an OpenPGP User ID string, if one is found.
- find_
signed_ πuser - Finds the [
SignedUser] that matches auser_id. - fingerprint_
matches π - Checks whether an
OpenpgpCertmatches a set ofOpenpgpFingerprints. - identity_
bound_ πat - Ensures that
sigscontains a certifying signature that is valid atreference_time, for self-binding an identity tocert. - is_
certification_ πrevocation - Checks if
sigis a certification revocation signature, and if so, if itβs βhardβ or βsoftβ. - is_
soft_ πrevocation_ reason - Checks for explicitly βsoftβ reason codes. In all other cases, we consider a revocation to be βhardβ.
- log_
cert_ πdata - Creates a representative string for logging from an
OpenpgpCert. - log_
sig_ πdata - Creates a representative string for logging from an
OpenpgpSignature. - user_
id_ πmatches_ any - Checks whether an OpenPGP User ID matches any domain name in a set of domain names.
- user_
id_ πmatches_ domain - Checks whether an OpenPGP User ID matches a domain name.