Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/auth0-lab/cose
COSE library for node.js
https://github.com/auth0-lab/cose
Last synced: about 2 months ago
JSON representation
COSE library for node.js
- Host: GitHub
- URL: https://github.com/auth0-lab/cose
- Owner: auth0-lab
- License: apache-2.0
- Created: 2024-03-06T17:41:17.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-04-24T14:32:47.000Z (9 months ago)
- Last Synced: 2024-07-25T10:26:23.828Z (6 months ago)
- Language: TypeScript
- Size: 518 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# COSE
[RFC9052](https://datatracker.ietf.org/doc/rfc9052/) and [RFC9053](https://datatracker.ietf.org/doc/html/rfc9053) COSE library for node.js.
This library is designed to work in node.js as well in the browser but it is not currently being tested in the browser.
## Installation
```
npm i --save @auth0/cose
```## Examples
You can run the examples directly with node.
- [Sign1: COSE Single Signer Data Object](examples/Sign1.mjs)
- [Sign: COSE Signed Data Object](examples/Sign.mjs)
- [Mac0: COSE Mac w/o Recipients Object](examples/Mac0.mjs)
- [Encrypt0: COSE Single Recipient Encrypted Data Object](examples/Encrypt0.mjs)
- [Encrypt: COSE_Encrypt with direct encryption](examples/Encrypt.mjs)
- [COSEKey: COSEKey usage](examples/COSEKey.mjs)## Credits
- [panva/jose](https://github.com/panva/jose) A node.js library for JOSE.
## License
Apache-2.0 - OKTA Inc.