minkan-chat / server

This repository keeps the backend implementation for the Minkan end-to-end encrypted messenger.
GNU Affero General Public License v3.0
16 stars 1 forks source link

Subkeys not checked against policy #33

Closed Erik1000 closed 2 years ago

Erik1000 commented 2 years ago

Cert::with_policy only checks the primary key and no subkeys

Erik1000 commented 2 years ago

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