{"repo":"dajiaji/python-cwt","free":true,"listed":false,"github":"https://github.com/dajiaji/python-cwt","clone":"git clone https://github.com/dajiaji/python-cwt.git","description":"A Python implementation of CWT/COSE.","language":"Python","stars":29,"topics":["python","security","cwt","jwt","cose","cbor","cryptography","hcert","jwk","hpke"],"license":"MIT","category":"security-tools","readme_excerpt":"Python CWT - A Python implementation of CWT/COSE Python CWT is a CBOR Web Token (CWT) and CBOR Object Signing and Encryption (COSE) implementation compliant with: - RFC9052: CBOR Object Signing and Encryption (COSE): Structures and Process - RFC9053: CBOR Object Signing and Encryption (COSE): Initial Algorithms - RFC9338: CBOR Object Signing and Encryption (COSE): Countersignatures - experimental - RFC8392: CWT (CBOR Web Token) - draft-23: Use of HPKE with COSE - experimental - draft-06: CWT Claims in COSE Headers - experimental - draft-13: Fully-Specified Algorithms for JOSE and COSE - and related various specifications. See Referenced Specifications. It is designed to make users who already know about JWS/JWE/JWT be able to use it in ease. Little knowledge of CBOR/COSE/CWT is required to use it. You can install Python CWT with pip: And then, you can use it as follows: COSE API CWT API Various usage examples are shown in this README. See Documentation for details of the APIs. Index - Installation - COSE Usage Examples - COSE MAC0 - MAC with HMAC with SHA256 - Countersign (MAC0) - COSE MAC - Direct Key Distribution - Direct Key with KDF - AES Key Wrap - Direct key Agreement - Key Agreement with Key Wrap - Countersign (MAC) - COSE-HPKE (MAC) - COSE Encrypt0 - Encryption with ChaCha20/Poly1305 - Countersign (Encrypt0) - COSE-HPKE (Encrypt0) - COSE Encrypt - Direct Key Distribution - Direct Key with KDF - AES Key Wrap - Direct key Agreement - Key Agreement with Key Wrap - Counte","default_branch":null,"files":null,"tree":[],"storefront":"/r/dajiaji","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dajiaji/python-cwt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}