DIRACGrid / diracx

The neXt DIRAC generation
GNU General Public License v3.0
8 stars 20 forks source link

fix(jobs): malformed checksum error when uploading a sandbox #288

Closed aldbr closed 1 week ago

aldbr commented 2 weeks ago

The OpenAPI document contains an incorrect example for the checksum field in the POST /sandbox route. It was generated from the SandboxInfo pydantic model, where the pattern was not correct.

As the default checksum_algorithm is sha256, the checksum should be a 64-character hexadecimal string composed only of the characters 0-9, a-f, or A-F.