ClosedBit error docs

CB_ERR_ENCRYPT_KEY

Encrypt key problem. The encrypt command did not receive a generated key, key file, or valid 256-character key.

Why it happens

The encrypt command did not receive a generated key, key file, or valid 256-character key.

How to fix it

Let Studio generate the key or pass a valid key_file path from the Console.

Copy-paste fix pattern
encrypt package.cba package.cbe
encrypt package.cba package.cbe key_file keys/project.key
Runtime and Studio now show this kind of page from the error dialog: plain message first, stable code second, original details third.