mirror of
https://github.com/floci-io/floci.git
synced 2026-12-02 09:47:56 -05:00
CreateKey checked that a key's algorithm serves its KeyUsage but not the usage itself, so a key of a usage the reference does not list was made. A key the service creates must now carry a usage from the reference's list, or the call fails with ValidationException; an imported key keeps the usage its block carries. The tests that made M0 and P1 keys with CreateKey use listed usages instead. Closes #8982