https://github.com/zzdats/go-cose
A COSE library for Go.
https://github.com/zzdats/go-cose
cbor cose go library
Last synced: 6 months ago
JSON representation
A COSE library for Go.
- Host: GitHub
- URL: https://github.com/zzdats/go-cose
- Owner: zzdats
- License: mit
- Created: 2021-09-24T14:42:28.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-29T15:04:17.000Z (almost 5 years ago)
- Last Synced: 2024-06-20T12:05:19.354Z (about 2 years ago)
- Topics: cbor, cose, go, library
- Language: Go
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-cose
[](https://pkg.go.dev/github.com/zzdats/go-cose)
[](https://cloud.drone.io/zzdats/go-cose)
[](https://codecov.io/gh/zzdats/go-cose)
[](https://opensource.org/licenses/MIT)
A [COSE](https://tools.ietf.org/html/rfc8152) library for Go.
## Supported COSE messages
* COSE Single Signer Data Object `cose-sign1`
* COSE Signed Data Object `cose-sign`
### Supported COSE algorithms
* Signing and verification:
* `PS256` - RSASSA-PSS w/ SHA-256
* `PS384` - RSASSA-PSS w/ SHA-384
* `PS384` - RSASSA-PSS w/ SHA-512
* `ES256` - ECDSA w/ SHA-256
* `ES384` - ECDSA w/ SHA-384
* `ES512` - ECDSA w/ SHA-512
* `EdDSA` - Ed25519
> Thanks to Mozilla for creating [mozilla-services/go-cose](https://github.com/mozilla-services/go-cose) library for some inspiration.