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
| Flag | Type | What it does | Default |
|---|---|---|---|
--key | string | Ed25519 private key file | — |
--signer | string | who is signing, for the record | — |