Actions
Bug #689
closedDo not instantiate authority with incapable certificate.
Description
During development for #682 it turned out KCA::Authority can be instantiated with a certificate incapable of signing requests.
The problem was only discovered after libkca_ossl:7320ca22aab4506465e16dcdddf32d793f1106e3 dropped automagic creation of an authority certificate based on the supplied request subject in KCA::OSSL::Request::selfsign().
Not instantiating KCA::Authority with an unfitting certificate should be a last line of defense, callers should check prior to doing so.
Actions