Skip to content

Commit

Permalink
rd_uid did not validate (#23660)
Browse files Browse the repository at this point in the history
* minLength was duplicated, was clearly maxLength.
* the length in pattern was wrong. minimum 128 bit = 16 byte = 32 hex chars. maximum double of the minimum.
  • Loading branch information
markus-becker-tridonic-com authored and pull[bot] committed Nov 2, 2023
1 parent 5e2b0fa commit cd515fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/tools/nrfconnect/nrfconnect_factory_data.schema
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@
"description": "A randomly-generated 128-bit or longer octet string. Length has been expanded with 'hex:' prefix",
"type": "string",
"pattern": "^hex:([0-9A-Fa-f]{2}){16,}$",
"minLength": 20,
"minLength": 36
"minLength": 36,
"maxLength": 68
},
"dac_cert": {
"description": "DAC certificate in hex-string format",
Expand Down

0 comments on commit cd515fd

Please sign in to comment.