Severity
Low to medium. Forward-looking robustness for the SDK key shape validation shipped in #134.
Problem
The pre-auth SDK key shape check rejects impossible keys by a fixed structure (a sv_ or cl_ prefix followed by 48 hex characters, 51 bytes total) before any database lookup. The format carries no explicit version marker, so a future change to key length, prefix set or encoding cannot be rolled out without ambiguity between old and new keys, and cannot be validated cheaply on the pre-auth path.
Acceptance criteria
Severity
Low to medium. Forward-looking robustness for the SDK key shape validation shipped in #134.
Problem
The pre-auth SDK key shape check rejects impossible keys by a fixed structure (a
sv_orcl_prefix followed by 48 hex characters, 51 bytes total) before any database lookup. The format carries no explicit version marker, so a future change to key length, prefix set or encoding cannot be rolled out without ambiguity between old and new keys, and cannot be validated cheaply on the pre-auth path.Acceptance criteria