Closed Erik1000 closed 2 years ago
Cert::with_policy only checks the primary key and no subkeys
Not an issue because Certificate::check calls ValidCert::keys which checks each key against the policy: https://docs.rs/sequoia-openpgp/1.5.0/src/sequoia_openpgp/cert.rs.html#3361-3363
Certificate::check
ValidCert::keys
Cert::with_policy only checks the primary key and no subkeys