Port details on branch 2022Q2 |
- py-python-jose Client SDK for TIP API which require Authentication Tokens
- 3.3.0_1 security =0 3.3.0_1Version of this port present on the latest quarterly branch.
- Maintainer: dvl@FreeBSD.org
- Port Added: 2018-07-26 16:51:27
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- License: MIT
- WWW:
- https://github.com/mpdavis/python-jose
- Description:
- A JOSE implementation in Python
The JavaScript Object Signing and Encryption (JOSE) technologies - JSON Web
Signature (JWS), JSON Web Encryption (JWE), JSON Web Key (JWK), and JSON Web
Algorithms (JWA) - collectively can be used to encrypt and/or sign content
using a variety of algorithms. While the full set of permutations is extremely
large, and might be daunting to some, it is expected that most applications
will only use a small set of algorithms to meet their needs.
Usage
>>> from jose import jwt
>>> token = jwt.encode({'key': 'value'}, 'secret', algorithm='HS256')
u'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ2YWx1ZSJ9.FG-8UppwHaFp1LgRYQQeS6EDQF7_6-bMFegNucHjmWg'
>>> jwt.decode(token, 'secret', algorithms=['HS256'])
{u'key': u'value'}
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}python-jose>0:security/py-python-jose@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/security/py-python-jose/ && make install clean
- To add the package, run one of these commands:
- pkg install security/py-python-jose
- pkg install py39-python-jose
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-python-jose listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-python-jose
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1655210325
SHA256 (python-jose-3.3.0.tar.gz) = 55779b5e6ad599c6336191246e95eb2293a9ddebd555f796a65f838f07e5d78a
SIZE (python-jose-3.3.0.tar.gz) = 129068
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-pytest-runner>0 : devel/py-pytest-runner@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-future>0 : devel/py-future@py39
- py39-ecdsa>0 : security/py-ecdsa@py39
- py39-pycryptodome>0 : security/py-pycryptodome@py39
- py39-rsa>0 : security/py-rsa@py39
- py39-six>0 : devel/py-six@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- devel/py-pycognito
Configuration Options:
- No options to configure
- Options name:
- security_py-python-jose
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|