BSD Ports

security/py-joserfc 1.7.5 NetBSD

Python library for JOSE RFCs, including JWS, JWE, JWK, JWA, JWT

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
9b48c42b8b
License
modified-bsd
Categories
security, python
Package size
133.9 KiB, 853.1 KiB installed

Description

joserfc is a Python library that provides a comprehensive implementation of several essential JSON Object Signing and Encryption (JOSE) standards.

In the other systems

SystemPortVersion
NetBSDsecurity/py-joserfc1.7.5
FreeBSDsecurity/py-joserfc1.7.5
DragonFlysecurity/py-joserfc1.0.4
MidnightBSDsecurity/py-joserfc0.9.0_1

Install

Binary package:

pkgin install py311-joserfc

From pkgsrc:

cd /usr/pkgsrc/security/py-joserfc && make install clean

Dependencies

Run dependencies 2
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-joserfc-1.7.5, py313-joserfc-1.7.5, py314-joserfc-1.7.5

Commit history 3

DateCommitCreditsLog message
9b48c42b8b adam py-joserfc: updated to 1.7.7
1.7.7 - **JWK**: Reject recognized DER, PEM, and SSH asymmetric public keys when importing oct keys, including public key bytes embedded in an oct JWK. Preserve warnings for input that only resembles an asymmetric key. - Replace legacy union type hints with ``|`` syntax. 1.7.6 - **JWE**: Limit base64url-encoded additional authenticated data to 65,536 bytes before copying or decoding it in JSON serialization. Configure the limit with ``JWERegistry(max_aad_length=...)``. - **JWT**: Reject non-string ``jti`` claims, including arrays containing an expected token ID, even when no claim options are configured. - **JWT**: Report the correct claim name for invalid ``iss`` values. - **JWS & JWE**: Validate compact token size before splitting it into segments. …
e203ea1da5 adam py-joserfc: updated to 1.7.5
1.7.5 - **JWK**: Ignore keys with unknown ``kty`` values when importing a key set. - **JWE**: Add ``max_recipients`` to ``JWERegistry``.
660a55874b adam py-joserfc: updated to 1.7.4
1.7.4 - Reject JWS general JSON serialization when signatures is empty. - Raises ``DecodeError`` when encrypted_key is None in JWE. 1.7.3 - Add default claims validation for ``iss``, ``sub`` and ``aud``. - Add size validation even for self-provided payload. 1.7.2 - Avoid trailing padding for JWTs. 1.7.1 - **JWE**: use the original ``aad`` value for decrypting. 1.7.0 - Drop Python 3.9 support. - Update type hints. - **JWK**: export public key by default in ``.as_dict``, ``.as_pem``, ``.as_der`` methods.