JOSE protocol implementation in Python with support for JSON Web Algorithms, Keys, and Signatures
73
{
"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
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-josepyevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10