Registry / crypto / square-go-jose-v3

square-go-jose-v3

JSON →
librarygogounverified

An implementation of the Javascript Object Signing and Encryption (JOSE) standards.

go get github.com/square/go-jose/v3
INSTALL
IMPORT
SIG · SQUARE-GO-JOSE-V3
S
square-go-jose-v3
cryptogo
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

jose
github.com/square/go-jose/v3/jose

Create a JWE encrypter using AES-GCM.

package main import ( "fmt" "github.com/square/go-jose/v3/jose" ) func main() { key := []byte("secret") encrypter, _ := jose.NewEncrypter(jose.A128GCM, jose.Recipient{Algorithm: jose.A128GCMKW, Key: key}, nil) fmt.Println(encrypter) }
Debug
Known issues
breakingVersion v3 has breaking changes from v2.
fix
Refer to the migration guide for v3.
affects: >=3.0.0
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
Resources
square-go-jose-v3 — go get square-go-jose-v3 · libregistry