Cleaner interface
The API for the base package has been reworked. In particular, encrypter/signer/decrypter/verifier objects are now immutable. An options struct can be passed to set various options when creating the object now. This is a bit more flexible and should make it easier to add new things in the future.
Support for JWT
Thanks to @shaxbee, go-jose now includes a new jwt
sub-package with functions for dealing with encrypted/signed JWTs. See the documentation for the jwt
package for more information.