tessl install tessl/pypi-josepy@2.1.0JOSE protocol implementation in Python with support for JSON Web Algorithms, Keys, and Signatures
Agent Success
Agent success rate when using this tile
73%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.16x
Baseline
Agent success rate without this tile
63%
{
"context": "Evaluates how well the solution leans on josepy's binary helpers to normalize JOSE-safe encodings and X.509 artifacts with built-in validation rather than custom logic. Checks that size guards and DER handling are delegated to the package utilities.",
"type": "weighted_checklist",
"checklist": [
{
"name": "JOSE base64",
"description": "Uses josepy.encode_b64jose (or b64encode) to produce paddingless URL-safe output and josepy.decode_b64jose to accept str/bytes input when decoding.",
"max_score": 25
},
{
"name": "Size enforcement",
"description": "Enforces expected sizes via decode_b64jose(size=..., minimum=...) instead of manual length checks, returning errors on mismatches.",
"max_score": 20
},
{
"name": "Hex helpers",
"description": "Relies on encode_hex16/decode_hex16 for hex transforms and uses the size/minimum parameters for exact vs minimum-length handling.",
"max_score": 20
},
{
"name": "Certificate DER",
"description": "Serializes and parses certificates with encode_cert/decode_cert (or the josepy b64 cert helpers) rather than ad-hoc base64/cryptography calls.",
"max_score": 15
},
{
"name": "CSR handling",
"description": "Serializes and parses CSRs with encode_csr/decode_csr and surfaces josepy.errors.DeserializationError on malformed input.",
"max_score": 20
}
]
}