kosa8 docs

Commands / kosa8 model sign

kosa8 model sign

Sign a model's weights digest, for an approved model list that requires a signer

Usage

kosa8 sign NAME --key FILE --signer NAME

Writes a signature over the SHA-256 of the model's weights with an Ed25519 key (one line of base64, as kosa8 policy keygen --out writes). An entry in the org policy's allowed_models that names this key as its signer then accepts the model; changing one byte of the weights invalidates it.

Options

FlagTypeWhat it doesDefault
--keystringEd25519 private key file—
--signerstringwho is signing, for the record—