JOSE protocol implementation in Python with support for JSON Web Algorithms, Keys, and Signatures
73
{
"context": "Evaluates whether the solution uses josepy's comparable key wrappers and immutable mapping utilities to manage asymmetric keys and related configuration. Focus is on deduplication by key material, public-key projection, stable lookups, and immutable option merging using the package's primitives.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Key wrapping",
"description": "RSA and EC keys are wrapped with josepy ComparableKey helpers (ComparableRSAKey/ComparableECKey) before storing or comparing so equality and hashing rely on josepy instead of raw cryptography key objects.",
"max_score": 30
},
{
"name": "Public view",
"description": "Public key projections are produced via the ComparableKey.public_key() helper to return deduplicated public-only entries rather than manual serialization or unchecked reuse of private keys.",
"max_score": 20
},
{
"name": "Key lookup map",
"description": "Key-to-label mappings use comparable wrappers as dictionary/set keys, allowing lookups with a separate object representing the same RSA key material (verifying josepy-provided __eq__/__hash__).",
"max_score": 25
},
{
"name": "Immutable options",
"description": "Connection options are represented with josepy ImmutableMap (or frozendict) for hashable, attribute-accessible state, and updates are produced via ImmutableMap.update to return new instances without mutating originals.",
"max_score": 25
}
]
}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