Skip to content

Commit 451a45c

Browse files
authored
Merge pull request #328 from lestrrat-go/topic/jwx-command
Command line tool `jwx`
2 parents 68ee9b2 + 528f34a commit 451a45c

24 files changed

Lines changed: 1941 additions & 134 deletions

Changes

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
Changes
22
=======
33

4+
v1.1.0 05 Feb 2021
5+
[New features]
6+
* Command line tool `jwx` has ben completely reworked, and it is
7+
now actually useful.
8+
9+
* JWKs can now be serialized into PEM files with ASN.1 DER format
10+
data, which is useful when you need to work between JSON and PEM
11+
data formats.
12+
13+
* Constants in jwa package now have can be listed via functions
14+
in each category.
15+
16+
* jwe.Encrypt and jwe.Decrypt can now handle jwk.Key objects
17+
418
v1.1.0 31 Jan 2021
519
v1.1.0 is a release that attempts to fix as many of the quirky APIs
620
that survived the API breaking change of v0.9.x -> v1.0.0. This is

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# github.com/lestrrat-go/jwx ![](https://github.com/lestrrat-go/jwx/workflows/CI/badge.svg) [![Go Reference](https://pkg.go.dev/badge/github.com/lestrrat-go/jwx.svg)](https://pkg.go.dev/github.com/lestrrat-go/jwx) [![codecov.io](http://codecov.io/github/lestrrat-go/jwx/coverage.svg?branch=master)](http://codecov.io/github/lestrrat-go/jwx?branch=master)
22

3-
Implementation of various JWx technologies
3+
Command line tool [jwx](./cmd/jwx) and libraries implementing various JWx technologies
44

55
| Package name | Notes |
66
|-----------------------------------------------------------|-------------------------------------------------|
@@ -38,6 +38,18 @@ The API has been reworked quite substantially between pre- and post 1.0.0 releas
3838

3939
The API has gone under some changes for v1.1.0. If you are upgrading, you might want to read the relevant parts in the [Changes](./Changes) file.
4040

41+
# Command Line Tool
42+
43+
Since v1.1.1 we have a command line tool `jwx` (*). With `jwx` you can create JWKs (from PEM files, even), sign and verify JWS message, encrypt and decrypt JWE messages, etc.
44+
45+
(*) Okay, it existed since a long time ago, but it was never useful.
46+
47+
## Installation
48+
49+
```
50+
go install github.com/lestrrat-go/jwx/cmd/jwx
51+
```
52+
4153
# Packages
4254

4355
## JWA [![Go Reference](https://pkg.go.dev/badge/github.com/lestrrat-go/jwx/jwa.svg)](https://pkg.go.dev/github.com/lestrrat-go/jwx/jwa)

0 commit comments

Comments
 (0)