CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-josepy

tessl install tessl/pypi-josepy@2.1.0

JOSE 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%

rubric.jsonevals/scenario-4/

{
  "context": "Evaluates how the solution leverages josepy JWK loaders to complete RSA CRT parameters, validate EC curve/coordinate lengths, and apply those checks consistently when normalizing single keys or JWK sets. Scoring favors direct use of josepy's JWKRSA and JWKEC deserialization behaviors instead of reimplementing key math.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "RSA reconstruction",
      "description": "Loads RSA JWKs with only n/e/d via josepy (e.g., JWKRSA.json_loads or JWKRSA.from_json) so CRT components (p, q, dp, dq, qi) are filled by the library and emitted in output without manual number math.",
      "max_score": 30
    },
    {
      "name": "CRT rejection",
      "description": "Uses josepy's JWKRSA deserialization validation (raising DeserializationError) to reject inputs that include a partial CRT set instead of silently ignoring or hand-patching missing factors.",
      "max_score": 25
    },
    {
      "name": "EC validation",
      "description": "Relies on JWKEC.json_loads/from_json to enforce supported curve names and expected coordinate byte lengths, surfacing josepy errors when lengths or curves are wrong rather than accepting malformed data.",
      "max_score": 25
    },
    {
      "name": "Batch handling",
      "description": "Processes JWK arrays through josepy loaders (JWK.from_json or type-specific classes) in order, returning normalized members and failing fast when any entry triggers a josepy validation error.",
      "max_score": 20
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/josepy@2.1.x
tile.json